7#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53-recovery-readiness/model/DNSTargetResource.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace Route53RecoveryReadiness
51 inline void SetComponentId(
const char* value) { m_componentIdHasBeenSet =
true; m_componentId.assign(value); }
82 inline Resource&
AddReadinessScopes(
const char* value) { m_readinessScopesHasBeenSet =
true; m_readinessScopes.push_back(value);
return *
this; }
93 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
101 bool m_componentIdHasBeenSet =
false;
104 bool m_dnsTargetResourceHasBeenSet =
false;
107 bool m_readinessScopesHasBeenSet =
false;
110 bool m_resourceArnHasBeenSet =
false;
bool ReadinessScopesHasBeenSet() const
const Aws::Vector< Aws::String > & GetReadinessScopes() const
Resource & WithDnsTargetResource(DNSTargetResource &&value)
Resource & WithResourceArn(Aws::String &&value)
void SetReadinessScopes(Aws::Vector< Aws::String > &&value)
void SetReadinessScopes(const Aws::Vector< Aws::String > &value)
void SetDnsTargetResource(const DNSTargetResource &value)
Resource & WithComponentId(const char *value)
AWS_ROUTE53RECOVERYREADINESS_API Resource & operator=(Aws::Utils::Json::JsonView jsonValue)
const DNSTargetResource & GetDnsTargetResource() const
Resource & WithComponentId(Aws::String &&value)
void SetResourceArn(const char *value)
bool DnsTargetResourceHasBeenSet() const
Resource & AddReadinessScopes(Aws::String &&value)
AWS_ROUTE53RECOVERYREADINESS_API Resource(Aws::Utils::Json::JsonView jsonValue)
void SetResourceArn(Aws::String &&value)
void SetComponentId(const Aws::String &value)
const Aws::String & GetResourceArn() const
Resource & WithReadinessScopes(Aws::Vector< Aws::String > &&value)
const Aws::String & GetComponentId() const
void SetComponentId(const char *value)
AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const
Resource & AddReadinessScopes(const char *value)
void SetResourceArn(const Aws::String &value)
Resource & WithReadinessScopes(const Aws::Vector< Aws::String > &value)
Resource & AddReadinessScopes(const Aws::String &value)
AWS_ROUTE53RECOVERYREADINESS_API Resource()
Resource & WithComponentId(const Aws::String &value)
Resource & WithDnsTargetResource(const DNSTargetResource &value)
Resource & WithResourceArn(const Aws::String &value)
bool ResourceArnHasBeenSet() const
bool ComponentIdHasBeenSet() const
Resource & WithResourceArn(const char *value)
void SetDnsTargetResource(DNSTargetResource &&value)
void SetComponentId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue