7#include <aws/dax/DAX_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dax/model/Endpoint.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dax/model/NotificationConfiguration.h>
12#include <aws/dax/model/ParameterGroupStatus.h>
13#include <aws/dax/model/SSEDescription.h>
14#include <aws/dax/model/ClusterEndpointEncryptionType.h>
15#include <aws/dax/model/Node.h>
16#include <aws/dax/model/SecurityGroupMembership.h>
57 inline void SetClusterName(
const char* value) { m_clusterNameHasBeenSet =
true; m_clusterName.assign(value); }
71 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
85 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
97 inline void SetTotalNodes(
int value) { m_totalNodesHasBeenSet =
true; m_totalNodes = value; }
108 inline void SetActiveNodes(
int value) { m_activeNodesHasBeenSet =
true; m_activeNodes = value; }
121 inline void SetNodeType(
const char* value) { m_nodeTypeHasBeenSet =
true; m_nodeType.assign(value); }
135 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
167 inline Cluster&
AddNodeIdsToRemove(
const char* value) { m_nodeIdsToRemoveHasBeenSet =
true; m_nodeIdsToRemove.push_back(value);
return *
this; }
180 inline Cluster&
AddNodes(
const Node& value) { m_nodesHasBeenSet =
true; m_nodes.push_back(value);
return *
this; }
181 inline Cluster&
AddNodes(
Node&& value) { m_nodesHasBeenSet =
true; m_nodes.push_back(std::move(value));
return *
this; }
223 inline void SetSubnetGroup(
const char* value) { m_subnetGroupHasBeenSet =
true; m_subnetGroup.assign(value); }
254 inline void SetIamRoleArn(
const char* value) { m_iamRoleArnHasBeenSet =
true; m_iamRoleArn.assign(value); }
301 bool m_clusterNameHasBeenSet =
false;
304 bool m_descriptionHasBeenSet =
false;
307 bool m_clusterArnHasBeenSet =
false;
310 bool m_totalNodesHasBeenSet =
false;
313 bool m_activeNodesHasBeenSet =
false;
316 bool m_nodeTypeHasBeenSet =
false;
319 bool m_statusHasBeenSet =
false;
321 Endpoint m_clusterDiscoveryEndpoint;
322 bool m_clusterDiscoveryEndpointHasBeenSet =
false;
325 bool m_nodeIdsToRemoveHasBeenSet =
false;
328 bool m_nodesHasBeenSet =
false;
331 bool m_preferredMaintenanceWindowHasBeenSet =
false;
334 bool m_notificationConfigurationHasBeenSet =
false;
337 bool m_subnetGroupHasBeenSet =
false;
340 bool m_securityGroupsHasBeenSet =
false;
343 bool m_iamRoleArnHasBeenSet =
false;
346 bool m_parameterGroupHasBeenSet =
false;
349 bool m_sSEDescriptionHasBeenSet =
false;
352 bool m_clusterEndpointEncryptionTypeHasBeenSet =
false;
Cluster & WithSSEDescription(const SSEDescription &value)
bool PreferredMaintenanceWindowHasBeenSet() const
bool TotalNodesHasBeenSet() const
const Aws::String & GetPreferredMaintenanceWindow() const
void SetNodeIdsToRemove(const Aws::Vector< Aws::String > &value)
Cluster & AddNodes(Node &&value)
const SSEDescription & GetSSEDescription() const
void SetNotificationConfiguration(const NotificationConfiguration &value)
const NotificationConfiguration & GetNotificationConfiguration() const
void SetClusterArn(Aws::String &&value)
void SetIamRoleArn(const Aws::String &value)
const Aws::String & GetStatus() const
Cluster & AddSecurityGroups(const SecurityGroupMembership &value)
Cluster & WithNodeIdsToRemove(const Aws::Vector< Aws::String > &value)
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
Cluster & WithClusterArn(const Aws::String &value)
const Aws::String & GetClusterArn() const
const Aws::String & GetDescription() const
Cluster & WithIamRoleArn(Aws::String &&value)
void SetNotificationConfiguration(NotificationConfiguration &&value)
void SetStatus(const Aws::String &value)
void SetSecurityGroups(Aws::Vector< SecurityGroupMembership > &&value)
Cluster & WithClusterArn(Aws::String &&value)
Cluster & WithPreferredMaintenanceWindow(Aws::String &&value)
Cluster & WithStatus(Aws::String &&value)
void SetClusterArn(const char *value)
Cluster & WithClusterDiscoveryEndpoint(Endpoint &&value)
int GetTotalNodes() const
Cluster & WithNodeType(const char *value)
void SetDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
AWS_DAX_API Cluster(Aws::Utils::Json::JsonView jsonValue)
Cluster & WithNotificationConfiguration(const NotificationConfiguration &value)
void SetClusterDiscoveryEndpoint(Endpoint &&value)
void SetActiveNodes(int value)
bool NodeTypeHasBeenSet() const
Cluster & WithSubnetGroup(const Aws::String &value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
bool SecurityGroupsHasBeenSet() const
Cluster & AddNodeIdsToRemove(Aws::String &&value)
Cluster & WithSSEDescription(SSEDescription &&value)
bool SubnetGroupHasBeenSet() const
void SetParameterGroup(ParameterGroupStatus &&value)
Cluster & WithSecurityGroups(const Aws::Vector< SecurityGroupMembership > &value)
void SetNodeType(const Aws::String &value)
const Aws::String & GetClusterName() const
Cluster & AddNodeIdsToRemove(const Aws::String &value)
bool NotificationConfigurationHasBeenSet() const
void SetStatus(const char *value)
AWS_DAX_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ClusterDiscoveryEndpointHasBeenSet() const
const Aws::Vector< Node > & GetNodes() const
Cluster & WithActiveNodes(int value)
void SetNodeIdsToRemove(Aws::Vector< Aws::String > &&value)
int GetActiveNodes() const
Cluster & WithDescription(const Aws::String &value)
void SetSubnetGroup(const Aws::String &value)
Cluster & WithSecurityGroups(Aws::Vector< SecurityGroupMembership > &&value)
const ParameterGroupStatus & GetParameterGroup() const
void SetParameterGroup(const ParameterGroupStatus &value)
bool ParameterGroupHasBeenSet() const
void SetIamRoleArn(const char *value)
Cluster & WithStatus(const Aws::String &value)
void SetNodeType(Aws::String &&value)
Cluster & WithClusterArn(const char *value)
Cluster & WithClusterName(const char *value)
void SetSSEDescription(SSEDescription &&value)
void SetClusterName(const Aws::String &value)
bool ClusterEndpointEncryptionTypeHasBeenSet() const
void SetSubnetGroup(const char *value)
const Aws::String & GetIamRoleArn() const
void SetClusterName(Aws::String &&value)
Cluster & WithClusterName(Aws::String &&value)
Cluster & WithNodeIdsToRemove(Aws::Vector< Aws::String > &&value)
void SetNodes(const Aws::Vector< Node > &value)
bool SSEDescriptionHasBeenSet() const
Cluster & WithClusterEndpointEncryptionType(const ClusterEndpointEncryptionType &value)
Cluster & WithNodeType(Aws::String &&value)
const Aws::String & GetSubnetGroup() const
Cluster & WithPreferredMaintenanceWindow(const Aws::String &value)
void SetPreferredMaintenanceWindow(const char *value)
bool StatusHasBeenSet() const
void SetDescription(Aws::String &&value)
Cluster & WithSubnetGroup(Aws::String &&value)
void SetIamRoleArn(Aws::String &&value)
Cluster & WithClusterName(const Aws::String &value)
void SetNodes(Aws::Vector< Node > &&value)
Cluster & AddSecurityGroups(SecurityGroupMembership &&value)
Cluster & WithDescription(const char *value)
const Endpoint & GetClusterDiscoveryEndpoint() const
void SetDescription(const char *value)
Cluster & WithNodes(const Aws::Vector< Node > &value)
void SetTotalNodes(int value)
Cluster & WithStatus(const char *value)
bool ActiveNodesHasBeenSet() const
bool NodeIdsToRemoveHasBeenSet() const
Cluster & WithPreferredMaintenanceWindow(const char *value)
bool NodesHasBeenSet() const
void SetClusterEndpointEncryptionType(ClusterEndpointEncryptionType &&value)
Cluster & WithIamRoleArn(const char *value)
Cluster & AddNodeIdsToRemove(const char *value)
bool IamRoleArnHasBeenSet() const
const Aws::String & GetNodeType() const
bool ClusterArnHasBeenSet() const
Cluster & WithDescription(Aws::String &&value)
bool ClusterNameHasBeenSet() const
Cluster & AddNodes(const Node &value)
void SetClusterEndpointEncryptionType(const ClusterEndpointEncryptionType &value)
Cluster & WithNotificationConfiguration(NotificationConfiguration &&value)
void SetClusterDiscoveryEndpoint(const Endpoint &value)
Cluster & WithTotalNodes(int value)
Cluster & WithClusterEndpointEncryptionType(ClusterEndpointEncryptionType &&value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
void SetClusterName(const char *value)
Cluster & WithParameterGroup(ParameterGroupStatus &&value)
void SetStatus(Aws::String &&value)
Cluster & WithIamRoleArn(const Aws::String &value)
void SetSubnetGroup(Aws::String &&value)
Cluster & WithClusterDiscoveryEndpoint(const Endpoint &value)
void SetClusterArn(const Aws::String &value)
void SetSecurityGroups(const Aws::Vector< SecurityGroupMembership > &value)
Cluster & WithNodes(Aws::Vector< Node > &&value)
void SetNodeType(const char *value)
const Aws::Vector< SecurityGroupMembership > & GetSecurityGroups() const
const Aws::Vector< Aws::String > & GetNodeIdsToRemove() const
Cluster & WithParameterGroup(const ParameterGroupStatus &value)
void SetSSEDescription(const SSEDescription &value)
const ClusterEndpointEncryptionType & GetClusterEndpointEncryptionType() const
Cluster & WithSubnetGroup(const char *value)
Cluster & WithNodeType(const Aws::String &value)
ClusterEndpointEncryptionType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue