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>
55 template<
typename ClusterNameT = Aws::String>
56 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet =
true; m_clusterName = std::forward<ClusterNameT>(value); }
57 template<
typename ClusterNameT = Aws::String>
67 template<
typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
69 template<
typename DescriptionT = Aws::String>
79 template<
typename ClusterArnT = Aws::String>
80 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet =
true; m_clusterArn = std::forward<ClusterArnT>(value); }
81 template<
typename ClusterArnT = Aws::String>
91 inline void SetTotalNodes(
int value) { m_totalNodesHasBeenSet =
true; m_totalNodes = value; }
102 inline void SetActiveNodes(
int value) { m_activeNodesHasBeenSet =
true; m_activeNodes = value; }
113 template<
typename NodeTypeT = Aws::String>
114 void SetNodeType(NodeTypeT&& value) { m_nodeTypeHasBeenSet =
true; m_nodeType = std::forward<NodeTypeT>(value); }
115 template<
typename NodeTypeT = Aws::String>
125 template<
typename StatusT = Aws::String>
126 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
127 template<
typename StatusT = Aws::String>
139 template<
typename ClusterDiscoveryEndpo
intT = Endpo
int>
140 void SetClusterDiscoveryEndpoint(ClusterDiscoveryEndpointT&& value) { m_clusterDiscoveryEndpointHasBeenSet =
true; m_clusterDiscoveryEndpoint = std::forward<ClusterDiscoveryEndpointT>(value); }
141 template<
typename ClusterDiscoveryEndpo
intT = Endpo
int>
151 template<
typename NodeIdsToRemoveT = Aws::Vector<Aws::String>>
152 void SetNodeIdsToRemove(NodeIdsToRemoveT&& value) { m_nodeIdsToRemoveHasBeenSet =
true; m_nodeIdsToRemove = std::forward<NodeIdsToRemoveT>(value); }
153 template<
typename NodeIdsToRemoveT = Aws::Vector<Aws::String>>
155 template<
typename NodeIdsToRemoveT = Aws::String>
156 Cluster&
AddNodeIdsToRemove(NodeIdsToRemoveT&& value) { m_nodeIdsToRemoveHasBeenSet =
true; m_nodeIdsToRemove.emplace_back(std::forward<NodeIdsToRemoveT>(value));
return *
this; }
165 template<
typename NodesT = Aws::Vector<Node>>
166 void SetNodes(NodesT&& value) { m_nodesHasBeenSet =
true; m_nodes = std::forward<NodesT>(value); }
167 template<
typename NodesT = Aws::Vector<Node>>
169 template<
typename NodesT = Node>
170 Cluster&
AddNodes(NodesT&& value) { m_nodesHasBeenSet =
true; m_nodes.emplace_back(std::forward<NodesT>(value));
return *
this; }
182 template<
typename PreferredMa
intenanceWindowT = Aws::String>
183 void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT&& value) { m_preferredMaintenanceWindowHasBeenSet =
true; m_preferredMaintenanceWindow = std::forward<PreferredMaintenanceWindowT>(value); }
184 template<
typename PreferredMa
intenanceWindowT = Aws::String>
196 template<
typename NotificationConfigurationT = NotificationConfiguration>
197 void SetNotificationConfiguration(NotificationConfigurationT&& value) { m_notificationConfigurationHasBeenSet =
true; m_notificationConfiguration = std::forward<NotificationConfigurationT>(value); }
198 template<
typename NotificationConfigurationT = NotificationConfiguration>
208 template<
typename SubnetGroupT = Aws::String>
209 void SetSubnetGroup(SubnetGroupT&& value) { m_subnetGroupHasBeenSet =
true; m_subnetGroup = std::forward<SubnetGroupT>(value); }
210 template<
typename SubnetGroupT = Aws::String>
221 template<
typename SecurityGroupsT = Aws::Vector<SecurityGroupMembership>>
222 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
223 template<
typename SecurityGroupsT = Aws::Vector<SecurityGroupMembership>>
225 template<
typename SecurityGroupsT = SecurityGroupMembership>
226 Cluster&
AddSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
return *
this; }
237 template<
typename IamRoleArnT = Aws::String>
238 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet =
true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
239 template<
typename IamRoleArnT = Aws::String>
249 template<
typename ParameterGroupT = ParameterGroupStatus>
250 void SetParameterGroup(ParameterGroupT&& value) { m_parameterGroupHasBeenSet =
true; m_parameterGroup = std::forward<ParameterGroupT>(value); }
251 template<
typename ParameterGroupT = ParameterGroupStatus>
262 template<
typename SSEDescriptionT = SSEDescription>
263 void SetSSEDescription(SSEDescriptionT&& value) { m_sSEDescriptionHasBeenSet =
true; m_sSEDescription = std::forward<SSEDescriptionT>(value); }
264 template<
typename SSEDescriptionT = SSEDescription>
282 bool m_clusterNameHasBeenSet =
false;
285 bool m_descriptionHasBeenSet =
false;
288 bool m_clusterArnHasBeenSet =
false;
291 bool m_totalNodesHasBeenSet =
false;
293 int m_activeNodes{0};
294 bool m_activeNodesHasBeenSet =
false;
297 bool m_nodeTypeHasBeenSet =
false;
300 bool m_statusHasBeenSet =
false;
302 Endpoint m_clusterDiscoveryEndpoint;
303 bool m_clusterDiscoveryEndpointHasBeenSet =
false;
306 bool m_nodeIdsToRemoveHasBeenSet =
false;
309 bool m_nodesHasBeenSet =
false;
312 bool m_preferredMaintenanceWindowHasBeenSet =
false;
314 NotificationConfiguration m_notificationConfiguration;
315 bool m_notificationConfigurationHasBeenSet =
false;
318 bool m_subnetGroupHasBeenSet =
false;
321 bool m_securityGroupsHasBeenSet =
false;
324 bool m_iamRoleArnHasBeenSet =
false;
326 ParameterGroupStatus m_parameterGroup;
327 bool m_parameterGroupHasBeenSet =
false;
329 SSEDescription m_sSEDescription;
330 bool m_sSEDescriptionHasBeenSet =
false;
333 bool m_clusterEndpointEncryptionTypeHasBeenSet =
false;
bool PreferredMaintenanceWindowHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool TotalNodesHasBeenSet() const
const Aws::String & GetPreferredMaintenanceWindow() const
void SetNotificationConfiguration(NotificationConfigurationT &&value)
const SSEDescription & GetSSEDescription() const
Cluster & WithClusterName(ClusterNameT &&value)
const NotificationConfiguration & GetNotificationConfiguration() const
Cluster & WithSecurityGroups(SecurityGroupsT &&value)
void SetSubnetGroup(SubnetGroupT &&value)
Cluster & AddNodeIdsToRemove(NodeIdsToRemoveT &&value)
const Aws::String & GetStatus() const
Cluster & WithNodes(NodesT &&value)
AWS_DAX_API Aws::Utils::Json::JsonValue Jsonize() const
Cluster & AddSecurityGroups(SecurityGroupsT &&value)
const Aws::String & GetClusterArn() const
void SetSSEDescription(SSEDescriptionT &&value)
const Aws::String & GetDescription() const
void SetClusterName(ClusterNameT &&value)
int GetTotalNodes() const
bool DescriptionHasBeenSet() const
AWS_DAX_API Cluster(Aws::Utils::Json::JsonView jsonValue)
void SetActiveNodes(int value)
bool NodeTypeHasBeenSet() const
AWS_DAX_API Cluster()=default
Cluster & WithParameterGroup(ParameterGroupT &&value)
Cluster & WithPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
bool SecurityGroupsHasBeenSet() const
void SetClusterEndpointEncryptionType(ClusterEndpointEncryptionType value)
bool SubnetGroupHasBeenSet() const
Cluster & AddNodes(NodesT &&value)
ClusterEndpointEncryptionType GetClusterEndpointEncryptionType() const
Cluster & WithSSEDescription(SSEDescriptionT &&value)
const Aws::String & GetClusterName() const
bool NotificationConfigurationHasBeenSet() const
AWS_DAX_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ClusterDiscoveryEndpointHasBeenSet() const
const Aws::Vector< Node > & GetNodes() const
Cluster & WithActiveNodes(int value)
void SetClusterArn(ClusterArnT &&value)
int GetActiveNodes() const
Cluster & WithDescription(DescriptionT &&value)
void SetIamRoleArn(IamRoleArnT &&value)
const ParameterGroupStatus & GetParameterGroup() const
void SetClusterDiscoveryEndpoint(ClusterDiscoveryEndpointT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
bool ParameterGroupHasBeenSet() const
void SetNodeIdsToRemove(NodeIdsToRemoveT &&value)
void SetParameterGroup(ParameterGroupT &&value)
Cluster & WithIamRoleArn(IamRoleArnT &&value)
void SetNodes(NodesT &&value)
bool ClusterEndpointEncryptionTypeHasBeenSet() const
const Aws::String & GetIamRoleArn() const
bool SSEDescriptionHasBeenSet() const
const Aws::String & GetSubnetGroup() const
bool StatusHasBeenSet() const
Cluster & WithNodeIdsToRemove(NodeIdsToRemoveT &&value)
Cluster & WithClusterEndpointEncryptionType(ClusterEndpointEncryptionType value)
const Endpoint & GetClusterDiscoveryEndpoint() const
void SetStatus(StatusT &&value)
void SetTotalNodes(int value)
Cluster & WithSubnetGroup(SubnetGroupT &&value)
bool ActiveNodesHasBeenSet() const
bool NodeIdsToRemoveHasBeenSet() const
bool NodesHasBeenSet() const
void SetNodeType(NodeTypeT &&value)
Cluster & WithClusterArn(ClusterArnT &&value)
Cluster & WithClusterDiscoveryEndpoint(ClusterDiscoveryEndpointT &&value)
bool IamRoleArnHasBeenSet() const
const Aws::String & GetNodeType() const
Cluster & WithNotificationConfiguration(NotificationConfigurationT &&value)
bool ClusterArnHasBeenSet() const
bool ClusterNameHasBeenSet() const
Cluster & WithStatus(StatusT &&value)
Cluster & WithNodeType(NodeTypeT &&value)
void SetPreferredMaintenanceWindow(PreferredMaintenanceWindowT &&value)
Cluster & WithTotalNodes(int value)
const Aws::Vector< SecurityGroupMembership > & GetSecurityGroups() const
const Aws::Vector< Aws::String > & GetNodeIdsToRemove() const
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