7#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/route53-recovery-control-config/model/Status.h>
11#include <aws/route53-recovery-control-config/model/ClusterEndpoint.h>
24namespace Route53RecoveryControlConfig
40 AWS_ROUTE53RECOVERYCONTROLCONFIG_API
Cluster();
54 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
85 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
98 inline void SetStatus(
const Status& value) { m_statusHasBeenSet =
true; m_status = value; }
99 inline void SetStatus(
Status&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
112 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
120 bool m_clusterArnHasBeenSet =
false;
123 bool m_clusterEndpointsHasBeenSet =
false;
126 bool m_nameHasBeenSet =
false;
129 bool m_statusHasBeenSet =
false;
132 bool m_ownerHasBeenSet =
false;
void SetName(const char *value)
Cluster & WithName(const char *value)
Cluster & WithClusterArn(const char *value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
Cluster & WithName(Aws::String &&value)
void SetClusterEndpoints(const Aws::Vector< ClusterEndpoint > &value)
Cluster & WithOwner(const char *value)
void SetClusterEndpoints(Aws::Vector< ClusterEndpoint > &&value)
const Aws::String & GetName() const
void SetOwner(Aws::String &&value)
Cluster & AddClusterEndpoints(const ClusterEndpoint &value)
void SetClusterArn(const char *value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Cluster(Aws::Utils::Json::JsonView jsonValue)
Cluster & WithClusterArn(const Aws::String &value)
const Aws::String & GetOwner() const
const Aws::String & GetClusterArn() const
void SetName(Aws::String &&value)
bool StatusHasBeenSet() const
Cluster & WithOwner(const Aws::String &value)
void SetStatus(const Status &value)
void SetStatus(Status &&value)
bool ClusterArnHasBeenSet() const
Cluster & WithStatus(Status &&value)
void SetClusterArn(Aws::String &&value)
bool NameHasBeenSet() const
const Status & GetStatus() const
void SetName(const Aws::String &value)
bool ClusterEndpointsHasBeenSet() const
void SetOwner(const Aws::String &value)
Cluster & AddClusterEndpoints(ClusterEndpoint &&value)
Cluster & WithClusterEndpoints(const Aws::Vector< ClusterEndpoint > &value)
Cluster & WithName(const Aws::String &value)
Cluster & WithStatus(const Status &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Cluster()
Cluster & WithOwner(Aws::String &&value)
Cluster & WithClusterArn(Aws::String &&value)
Cluster & WithClusterEndpoints(Aws::Vector< ClusterEndpoint > &&value)
void SetOwner(const char *value)
const Aws::Vector< ClusterEndpoint > & GetClusterEndpoints() const
void SetClusterArn(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OwnerHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue