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/DataClassificationDetails.h>
11#include <aws/securityhub/model/Partition.h>
12#include <aws/securityhub/model/ResourceDetails.h>
49 template <
typename TypeT = Aws::String>
51 m_typeHasBeenSet =
true;
52 m_type = std::forward<TypeT>(value);
54 template <
typename TypeT = Aws::String>
56 SetType(std::forward<TypeT>(value));
67 template <
typename IdT = Aws::String>
69 m_idHasBeenSet =
true;
70 m_id = std::forward<IdT>(value);
72 template <
typename IdT = Aws::String>
74 SetId(std::forward<IdT>(value));
87 m_partitionHasBeenSet =
true;
104 template <
typename RegionT = Aws::String>
106 m_regionHasBeenSet =
true;
107 m_region = std::forward<RegionT>(value);
109 template <
typename RegionT = Aws::String>
123 template <
typename ResourceRoleT = Aws::String>
125 m_resourceRoleHasBeenSet =
true;
126 m_resourceRole = std::forward<ResourceRoleT>(value);
128 template <
typename ResourceRoleT = Aws::String>
144 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 m_tagsHasBeenSet =
true;
147 m_tags = std::forward<TagsT>(value);
149 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
151 SetTags(std::forward<TagsT>(value));
154 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
156 m_tagsHasBeenSet =
true;
157 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
169 template <
typename DataClassificationT = DataClassificationDetails>
171 m_dataClassificationHasBeenSet =
true;
172 m_dataClassification = std::forward<DataClassificationT>(value);
174 template <
typename DataClassificationT = DataClassificationDetails>
187 template <
typename DetailsT = ResourceDetails>
189 m_detailsHasBeenSet =
true;
190 m_details = std::forward<DetailsT>(value);
192 template <
typename DetailsT = ResourceDetails>
205 template <
typename ApplicationNameT = Aws::String>
207 m_applicationNameHasBeenSet =
true;
208 m_applicationName = std::forward<ApplicationNameT>(value);
210 template <
typename ApplicationNameT = Aws::String>
224 template <
typename ApplicationArnT = Aws::String>
226 m_applicationArnHasBeenSet =
true;
227 m_applicationArn = std::forward<ApplicationArnT>(value);
229 template <
typename ApplicationArnT = Aws::String>
248 DataClassificationDetails m_dataClassification;
250 ResourceDetails m_details;
255 bool m_typeHasBeenSet =
false;
256 bool m_idHasBeenSet =
false;
257 bool m_partitionHasBeenSet =
false;
258 bool m_regionHasBeenSet =
false;
259 bool m_resourceRoleHasBeenSet =
false;
260 bool m_tagsHasBeenSet =
false;
261 bool m_dataClassificationHasBeenSet =
false;
262 bool m_detailsHasBeenSet =
false;
263 bool m_applicationNameHasBeenSet =
false;
264 bool m_applicationArnHasBeenSet =
false;
Resource & WithType(TypeT &&value)
const Aws::String & GetApplicationArn() const
Partition GetPartition() const
bool TagsHasBeenSet() const
Resource & WithResourceRole(ResourceRoleT &&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
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 & WithTags(TagsT &&value)
const DataClassificationDetails & GetDataClassification() const
void SetApplicationName(ApplicationNameT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() 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)
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 RegionHasBeenSet() const
void SetPartition(Partition value)
const ResourceDetails & GetDetails() const
bool DetailsHasBeenSet() 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