7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/networkmanager/model/Tag.h>
25namespace NetworkManager
52 inline void SetRegisteredGatewayArn(
const char* value) { m_registeredGatewayArnHasBeenSet =
true; m_registeredGatewayArn.assign(value); }
66 inline void SetCoreNetworkId(
const char* value) { m_coreNetworkIdHasBeenSet =
true; m_coreNetworkId.assign(value); }
80 inline void SetAwsRegion(
const char* value) { m_awsRegionHasBeenSet =
true; m_awsRegion.assign(value); }
94 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
122 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
136 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
150 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
165 inline void SetDefinition(
const char* value) { m_definitionHasBeenSet =
true; m_definition.assign(value); }
213 inline NetworkResource&
AddMetadata(
const char* key,
const char* value) { m_metadataHasBeenSet =
true; m_metadata.emplace(key, value);
return *
this; }
218 bool m_registeredGatewayArnHasBeenSet =
false;
221 bool m_coreNetworkIdHasBeenSet =
false;
224 bool m_awsRegionHasBeenSet =
false;
227 bool m_accountIdHasBeenSet =
false;
230 bool m_resourceTypeHasBeenSet =
false;
233 bool m_resourceIdHasBeenSet =
false;
236 bool m_resourceArnHasBeenSet =
false;
239 bool m_definitionHasBeenSet =
false;
242 bool m_definitionTimestampHasBeenSet =
false;
245 bool m_tagsHasBeenSet =
false;
248 bool m_metadataHasBeenSet =
false;
NetworkResource & WithMetadata(Aws::Map< Aws::String, Aws::String > &&value)
NetworkResource & WithCoreNetworkId(const Aws::String &value)
void SetResourceId(Aws::String &&value)
NetworkResource & WithResourceId(const char *value)
NetworkResource & WithAwsRegion(const char *value)
NetworkResource & AddMetadata(Aws::String &&key, Aws::String &&value)
const Aws::String & GetAwsRegion() const
NetworkResource & WithDefinitionTimestamp(Aws::Utils::DateTime &&value)
void SetResourceId(const Aws::String &value)
NetworkResource & AddMetadata(Aws::String &&key, const Aws::String &value)
const Aws::String & GetCoreNetworkId() const
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceId() const
void SetAccountId(Aws::String &&value)
const Aws::String & GetResourceType() const
void SetAwsRegion(const char *value)
NetworkResource & WithResourceArn(Aws::String &&value)
void SetAwsRegion(const Aws::String &value)
const Aws::String & GetDefinition() const
NetworkResource & WithDefinition(const Aws::String &value)
void SetRegisteredGatewayArn(const Aws::String &value)
void SetDefinitionTimestamp(const Aws::Utils::DateTime &value)
NetworkResource & WithResourceArn(const Aws::String &value)
NetworkResource & WithDefinition(const char *value)
void SetMetadata(const Aws::Map< Aws::String, Aws::String > &value)
AWS_NETWORKMANAGER_API NetworkResource()
NetworkResource & AddMetadata(const Aws::String &key, Aws::String &&value)
bool TagsHasBeenSet() const
NetworkResource & WithResourceId(const Aws::String &value)
void SetCoreNetworkId(const Aws::String &value)
NetworkResource & WithRegisteredGatewayArn(const Aws::String &value)
void SetDefinitionTimestamp(Aws::Utils::DateTime &&value)
void SetDefinition(const char *value)
NetworkResource & AddMetadata(const Aws::String &key, const Aws::String &value)
NetworkResource & WithAccountId(Aws::String &&value)
bool AccountIdHasBeenSet() const
void SetMetadata(Aws::Map< Aws::String, Aws::String > &&value)
NetworkResource & WithRegisteredGatewayArn(const char *value)
NetworkResource & WithResourceId(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
void SetAccountId(const char *value)
NetworkResource & WithAccountId(const Aws::String &value)
void SetCoreNetworkId(const char *value)
NetworkResource & AddTags(Tag &&value)
void SetAwsRegion(Aws::String &&value)
void SetAccountId(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
void SetRegisteredGatewayArn(Aws::String &&value)
bool ResourceIdHasBeenSet() const
void SetDefinition(const Aws::String &value)
bool DefinitionHasBeenSet() const
NetworkResource & WithRegisteredGatewayArn(Aws::String &&value)
void SetResourceArn(const Aws::String &value)
NetworkResource & WithDefinition(Aws::String &&value)
NetworkResource & WithAwsRegion(const Aws::String &value)
NetworkResource & WithCoreNetworkId(const char *value)
bool DefinitionTimestampHasBeenSet() const
NetworkResource & WithTags(Aws::Vector< Tag > &&value)
NetworkResource & WithDefinitionTimestamp(const Aws::Utils::DateTime &value)
const Aws::String & GetResourceArn() const
void SetResourceId(const char *value)
NetworkResource & WithCoreNetworkId(Aws::String &&value)
NetworkResource & WithTags(const Aws::Vector< Tag > &value)
bool CoreNetworkIdHasBeenSet() const
bool RegisteredGatewayArnHasBeenSet() const
NetworkResource & WithMetadata(const Aws::Map< Aws::String, Aws::String > &value)
NetworkResource & WithAwsRegion(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
NetworkResource & WithResourceType(const Aws::String &value)
void SetResourceArn(const char *value)
NetworkResource & AddMetadata(const char *key, const char *value)
NetworkResource & WithResourceType(const char *value)
void SetDefinition(Aws::String &&value)
void SetRegisteredGatewayArn(const char *value)
const Aws::String & GetAccountId() const
const Aws::Map< Aws::String, Aws::String > & GetMetadata() const
const Aws::Utils::DateTime & GetDefinitionTimestamp() const
bool MetadataHasBeenSet() const
NetworkResource & AddMetadata(const char *key, Aws::String &&value)
void SetResourceType(Aws::String &&value)
const Aws::String & GetRegisteredGatewayArn() const
AWS_NETWORKMANAGER_API NetworkResource & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkResource & AddTags(const Tag &value)
NetworkResource & WithResourceType(Aws::String &&value)
AWS_NETWORKMANAGER_API NetworkResource(Aws::Utils::Json::JsonView jsonValue)
bool ResourceArnHasBeenSet() const
void SetResourceArn(Aws::String &&value)
void SetResourceType(const Aws::String &value)
void SetCoreNetworkId(Aws::String &&value)
NetworkResource & AddMetadata(Aws::String &&key, const char *value)
NetworkResource & WithResourceArn(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
bool AwsRegionHasBeenSet() const
void SetResourceType(const char *value)
NetworkResource & WithAccountId(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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue