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>
57 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
70 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
71 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
100 inline void SetRegion(
const char* value) { m_regionHasBeenSet =
true; m_region.assign(value); }
115 inline void SetResourceRole(
const char* value) { m_resourceRoleHasBeenSet =
true; m_resourceRole.assign(value); }
138 inline Resource&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
139 inline Resource&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
140 inline Resource&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
176 inline void SetApplicationName(
const char* value) { m_applicationNameHasBeenSet =
true; m_applicationName.assign(value); }
191 inline void SetApplicationArn(
const char* value) { m_applicationArnHasBeenSet =
true; m_applicationArn.assign(value); }
199 bool m_typeHasBeenSet =
false;
202 bool m_idHasBeenSet =
false;
205 bool m_partitionHasBeenSet =
false;
208 bool m_regionHasBeenSet =
false;
211 bool m_resourceRoleHasBeenSet =
false;
214 bool m_tagsHasBeenSet =
false;
217 bool m_dataClassificationHasBeenSet =
false;
220 bool m_detailsHasBeenSet =
false;
223 bool m_applicationNameHasBeenSet =
false;
226 bool m_applicationArnHasBeenSet =
false;
Resource & WithRegion(const char *value)
Resource & WithDataClassification(const DataClassificationDetails &value)
Resource & WithType(const Aws::String &value)
const Aws::String & GetApplicationArn() const
Resource & WithApplicationName(Aws::String &&value)
Resource & WithRegion(Aws::String &&value)
Resource & WithType(Aws::String &&value)
bool TagsHasBeenSet() const
Resource & WithDataClassification(DataClassificationDetails &&value)
void SetDataClassification(const DataClassificationDetails &value)
void SetResourceRole(const Aws::String &value)
Resource & AddTags(const Aws::String &key, const Aws::String &value)
const Partition & GetPartition() const
void SetApplicationArn(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetResourceRole(const char *value)
Resource & WithApplicationArn(Aws::String &&value)
Resource & WithResourceRole(const Aws::String &value)
bool IdHasBeenSet() const
AWS_SECURITYHUB_API Resource()
void SetId(const Aws::String &value)
void SetId(const char *value)
Resource & WithRegion(const Aws::String &value)
const DataClassificationDetails & GetDataClassification() const
void SetApplicationArn(const char *value)
void SetApplicationName(const Aws::String &value)
Resource & WithResourceRole(Aws::String &&value)
Resource & WithApplicationName(const char *value)
void SetDetails(ResourceDetails &&value)
void SetType(const char *value)
void SetDataClassification(DataClassificationDetails &&value)
Resource & WithDetails(ResourceDetails &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Resource & WithId(Aws::String &&value)
const Aws::String & GetResourceRole() const
void SetRegion(const Aws::String &value)
bool ApplicationArnHasBeenSet() const
const Aws::String & GetId() const
Resource & WithId(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Resource & WithDetails(const ResourceDetails &value)
Resource & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Resource & WithApplicationArn(const char *value)
bool ApplicationNameHasBeenSet() const
void SetPartition(const Partition &value)
Resource & WithPartition(const Partition &value)
void SetType(const Aws::String &value)
void SetApplicationName(Aws::String &&value)
void SetRegion(Aws::String &&value)
Resource & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetApplicationName() const
bool ResourceRoleHasBeenSet() const
Resource & AddTags(Aws::String &&key, const char *value)
Resource & WithType(const char *value)
Resource & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SECURITYHUB_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
Resource & AddTags(const char *key, Aws::String &&value)
void SetApplicationArn(const Aws::String &value)
bool DataClassificationHasBeenSet() const
void SetPartition(Partition &&value)
Resource & WithPartition(Partition &&value)
const Aws::String & GetType() const
bool TypeHasBeenSet() const
Resource & WithId(const Aws::String &value)
AWS_SECURITYHUB_API Resource(Aws::Utils::Json::JsonView jsonValue)
Resource & WithResourceRole(const char *value)
void SetApplicationName(const char *value)
bool RegionHasBeenSet() const
void SetId(Aws::String &&value)
Resource & AddTags(const Aws::String &key, Aws::String &&value)
const ResourceDetails & GetDetails() const
void SetType(Aws::String &&value)
void SetRegion(const char *value)
void SetDetails(const ResourceDetails &value)
bool DetailsHasBeenSet() const
const Aws::String & GetRegion() const
Resource & WithApplicationName(const Aws::String &value)
void SetResourceRole(Aws::String &&value)
bool PartitionHasBeenSet() const
Resource & WithApplicationArn(const Aws::String &value)
Resource & AddTags(Aws::String &&key, Aws::String &&value)
Resource & AddTags(const char *key, const char *value)
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