7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/Partition.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/securityhub/model/DataClassificationDetails.h>
12#include <aws/securityhub/model/ResourceDetails.h>
55 template<
typename TypeT = Aws::String>
56 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
57 template<
typename TypeT = Aws::String>
67 template<
typename IdT = Aws::String>
68 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
69 template<
typename IdT = Aws::String>
92 template<
typename RegionT = Aws::String>
93 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
94 template<
typename RegionT = Aws::String>
105 template<
typename ResourceRoleT = Aws::String>
106 void SetResourceRole(ResourceRoleT&& value) { m_resourceRoleHasBeenSet =
true; m_resourceRole = std::forward<ResourceRoleT>(value); }
107 template<
typename ResourceRoleT = Aws::String>
120 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
122 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
126 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
137 template<
typename DataClassificationT = DataClassificationDetails>
138 void SetDataClassification(DataClassificationT&& value) { m_dataClassificationHasBeenSet =
true; m_dataClassification = std::forward<DataClassificationT>(value); }
139 template<
typename DataClassificationT = DataClassificationDetails>
149 template<
typename DetailsT = ResourceDetails>
150 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details = std::forward<DetailsT>(value); }
151 template<
typename DetailsT = ResourceDetails>
161 template<
typename ApplicationNameT = Aws::String>
162 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet =
true; m_applicationName = std::forward<ApplicationNameT>(value); }
163 template<
typename ApplicationNameT = Aws::String>
174 template<
typename ApplicationArnT = Aws::String>
175 void SetApplicationArn(ApplicationArnT&& value) { m_applicationArnHasBeenSet =
true; m_applicationArn = std::forward<ApplicationArnT>(value); }
176 template<
typename ApplicationArnT = Aws::String>
182 bool m_typeHasBeenSet =
false;
185 bool m_idHasBeenSet =
false;
188 bool m_partitionHasBeenSet =
false;
191 bool m_regionHasBeenSet =
false;
194 bool m_resourceRoleHasBeenSet =
false;
197 bool m_tagsHasBeenSet =
false;
199 DataClassificationDetails m_dataClassification;
200 bool m_dataClassificationHasBeenSet =
false;
202 ResourceDetails m_details;
203 bool m_detailsHasBeenSet =
false;
206 bool m_applicationNameHasBeenSet =
false;
209 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