7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/CloudProviderName.h>
11#include <aws/securityhub/model/DataClassificationDetails.h>
12#include <aws/securityhub/model/Partition.h>
13#include <aws/securityhub/model/ResourceDetails.h>
14#include <aws/securityhub/model/ResourceOwner.h>
51 template <
typename TypeT = Aws::String>
53 m_typeHasBeenSet =
true;
54 m_type = std::forward<TypeT>(value);
56 template <
typename TypeT = Aws::String>
58 SetType(std::forward<TypeT>(value));
69 template <
typename IdT = Aws::String>
71 m_idHasBeenSet =
true;
72 m_id = std::forward<IdT>(value);
74 template <
typename IdT = Aws::String>
76 SetId(std::forward<IdT>(value));
89 m_partitionHasBeenSet =
true;
106 template <
typename RegionT = Aws::String>
108 m_regionHasBeenSet =
true;
109 m_region = std::forward<RegionT>(value);
111 template <
typename RegionT = Aws::String>
126 m_providerHasBeenSet =
true;
141 template <
typename OwnerT = ResourceOwner>
143 m_ownerHasBeenSet =
true;
144 m_owner = std::forward<OwnerT>(value);
146 template <
typename OwnerT = ResourceOwner>
148 SetOwner(std::forward<OwnerT>(value));
160 template <
typename ResourceRoleT = Aws::String>
162 m_resourceRoleHasBeenSet =
true;
163 m_resourceRole = std::forward<ResourceRoleT>(value);
165 template <
typename ResourceRoleT = Aws::String>
181 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
183 m_tagsHasBeenSet =
true;
184 m_tags = std::forward<TagsT>(value);
186 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 SetTags(std::forward<TagsT>(value));
191 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
193 m_tagsHasBeenSet =
true;
194 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
206 template <
typename DataClassificationT = DataClassificationDetails>
208 m_dataClassificationHasBeenSet =
true;
209 m_dataClassification = std::forward<DataClassificationT>(value);
211 template <
typename DataClassificationT = DataClassificationDetails>
224 template <
typename DetailsT = ResourceDetails>
226 m_detailsHasBeenSet =
true;
227 m_details = std::forward<DetailsT>(value);
229 template <
typename DetailsT = ResourceDetails>
242 template <
typename ApplicationNameT = Aws::String>
244 m_applicationNameHasBeenSet =
true;
245 m_applicationName = std::forward<ApplicationNameT>(value);
247 template <
typename ApplicationNameT = Aws::String>
261 template <
typename ApplicationArnT = Aws::String>
263 m_applicationArnHasBeenSet =
true;
264 m_applicationArn = std::forward<ApplicationArnT>(value);
266 template <
typename ApplicationArnT = Aws::String>
283 ResourceOwner m_owner;
289 DataClassificationDetails m_dataClassification;
291 ResourceDetails m_details;
296 bool m_typeHasBeenSet =
false;
297 bool m_idHasBeenSet =
false;
298 bool m_partitionHasBeenSet =
false;
299 bool m_regionHasBeenSet =
false;
300 bool m_providerHasBeenSet =
false;
301 bool m_ownerHasBeenSet =
false;
302 bool m_resourceRoleHasBeenSet =
false;
303 bool m_tagsHasBeenSet =
false;
304 bool m_dataClassificationHasBeenSet =
false;
305 bool m_detailsHasBeenSet =
false;
306 bool m_applicationNameHasBeenSet =
false;
307 bool m_applicationArnHasBeenSet =
false;
Resource & WithType(TypeT &&value)
const Aws::String & GetApplicationArn() const
Partition GetPartition() const
bool TagsHasBeenSet() const
Resource & WithResourceRole(ResourceRoleT &&value)
void SetProvider(CloudProviderName value)
AWS_SECURITYHUB_API Resource()=default
void SetResourceRole(ResourceRoleT &&value)
void SetDetails(DetailsT &&value)
Resource & WithApplicationArn(ApplicationArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetOwner(OwnerT &&value)
Resource & WithId(IdT &&value)
bool IdHasBeenSet() const
void SetDataClassification(DataClassificationT &&value)
Resource & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetRegion(RegionT &&value)
Resource & WithApplicationName(ApplicationNameT &&value)
Resource & WithProvider(CloudProviderName value)
Resource & WithTags(TagsT &&value)
const DataClassificationDetails & GetDataClassification() const
Resource & WithOwner(OwnerT &&value)
void SetApplicationName(ApplicationNameT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const ResourceOwner & GetOwner() const
const Aws::String & GetResourceRole() const
bool ApplicationArnHasBeenSet() const
const Aws::String & GetId() const
Resource & WithDataClassification(DataClassificationT &&value)
bool ApplicationNameHasBeenSet() const
Resource & WithRegion(RegionT &&value)
CloudProviderName GetProvider() const
const Aws::String & GetApplicationName() const
bool ResourceRoleHasBeenSet() const
void SetType(TypeT &&value)
Resource & WithDetails(DetailsT &&value)
void SetTags(TagsT &&value)
AWS_SECURITYHUB_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DataClassificationHasBeenSet() const
const Aws::String & GetType() const
bool TypeHasBeenSet() const
AWS_SECURITYHUB_API Resource(Aws::Utils::Json::JsonView jsonValue)
bool ProviderHasBeenSet() const
bool RegionHasBeenSet() const
void SetPartition(Partition value)
const ResourceDetails & GetDetails() const
bool DetailsHasBeenSet() const
bool OwnerHasBeenSet() const
const Aws::String & GetRegion() const
Resource & WithPartition(Partition value)
void SetApplicationArn(ApplicationArnT &&value)
bool PartitionHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue