AWS SDK for C++  0.12.9
AWS SDK for C++
CreateCacheClusterRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
22 
23 namespace Aws
24 {
25 namespace ElastiCache
26 {
27 namespace Model
28 {
29 
34  {
35  public:
37  Aws::String SerializePayload() const override;
38 
46  inline const Aws::String& GetCacheClusterId() const{ return m_cacheClusterId; }
47 
55  inline void SetCacheClusterId(const Aws::String& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; }
56 
64  inline void SetCacheClusterId(Aws::String&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; }
65 
73  inline void SetCacheClusterId(const char* value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId.assign(value); }
74 
82  inline CreateCacheClusterRequest& WithCacheClusterId(const Aws::String& value) { SetCacheClusterId(value); return *this;}
83 
91  inline CreateCacheClusterRequest& WithCacheClusterId(Aws::String&& value) { SetCacheClusterId(value); return *this;}
92 
100  inline CreateCacheClusterRequest& WithCacheClusterId(const char* value) { SetCacheClusterId(value); return *this;}
101 
113  inline const Aws::String& GetReplicationGroupId() const{ return m_replicationGroupId; }
114 
126  inline void SetReplicationGroupId(const Aws::String& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; }
127 
139  inline void SetReplicationGroupId(Aws::String&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; }
140 
152  inline void SetReplicationGroupId(const char* value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId.assign(value); }
153 
165  inline CreateCacheClusterRequest& WithReplicationGroupId(const Aws::String& value) { SetReplicationGroupId(value); return *this;}
166 
178  inline CreateCacheClusterRequest& WithReplicationGroupId(Aws::String&& value) { SetReplicationGroupId(value); return *this;}
179 
191  inline CreateCacheClusterRequest& WithReplicationGroupId(const char* value) { SetReplicationGroupId(value); return *this;}
192 
201  inline const AZMode& GetAZMode() const{ return m_aZMode; }
202 
211  inline void SetAZMode(const AZMode& value) { m_aZModeHasBeenSet = true; m_aZMode = value; }
212 
221  inline void SetAZMode(AZMode&& value) { m_aZModeHasBeenSet = true; m_aZMode = value; }
222 
231  inline CreateCacheClusterRequest& WithAZMode(const AZMode& value) { SetAZMode(value); return *this;}
232 
241  inline CreateCacheClusterRequest& WithAZMode(AZMode&& value) { SetAZMode(value); return *this;}
242 
250  inline const Aws::String& GetPreferredAvailabilityZone() const{ return m_preferredAvailabilityZone; }
251 
259  inline void SetPreferredAvailabilityZone(const Aws::String& value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone = value; }
260 
268  inline void SetPreferredAvailabilityZone(Aws::String&& value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone = value; }
269 
277  inline void SetPreferredAvailabilityZone(const char* value) { m_preferredAvailabilityZoneHasBeenSet = true; m_preferredAvailabilityZone.assign(value); }
278 
286  inline CreateCacheClusterRequest& WithPreferredAvailabilityZone(const Aws::String& value) { SetPreferredAvailabilityZone(value); return *this;}
287 
295  inline CreateCacheClusterRequest& WithPreferredAvailabilityZone(Aws::String&& value) { SetPreferredAvailabilityZone(value); return *this;}
296 
304  inline CreateCacheClusterRequest& WithPreferredAvailabilityZone(const char* value) { SetPreferredAvailabilityZone(value); return *this;}
305 
323  inline const Aws::Vector<Aws::String>& GetPreferredAvailabilityZones() const{ return m_preferredAvailabilityZones; }
324 
342  inline void SetPreferredAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_preferredAvailabilityZonesHasBeenSet = true; m_preferredAvailabilityZones = value; }
343 
361  inline void SetPreferredAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_preferredAvailabilityZonesHasBeenSet = true; m_preferredAvailabilityZones = value; }
362 
380  inline CreateCacheClusterRequest& WithPreferredAvailabilityZones(const Aws::Vector<Aws::String>& value) { SetPreferredAvailabilityZones(value); return *this;}
381 
399  inline CreateCacheClusterRequest& WithPreferredAvailabilityZones(Aws::Vector<Aws::String>&& value) { SetPreferredAvailabilityZones(value); return *this;}
400 
418  inline CreateCacheClusterRequest& AddPreferredAvailabilityZones(const Aws::String& value) { m_preferredAvailabilityZonesHasBeenSet = true; m_preferredAvailabilityZones.push_back(value); return *this; }
419 
437  inline CreateCacheClusterRequest& AddPreferredAvailabilityZones(Aws::String&& value) { m_preferredAvailabilityZonesHasBeenSet = true; m_preferredAvailabilityZones.push_back(value); return *this; }
438 
456  inline CreateCacheClusterRequest& AddPreferredAvailabilityZones(const char* value) { m_preferredAvailabilityZonesHasBeenSet = true; m_preferredAvailabilityZones.push_back(value); return *this; }
457 
466  inline long GetNumCacheNodes() const{ return m_numCacheNodes; }
467 
476  inline void SetNumCacheNodes(long value) { m_numCacheNodesHasBeenSet = true; m_numCacheNodes = value; }
477 
486  inline CreateCacheClusterRequest& WithNumCacheNodes(long value) { SetNumCacheNodes(value); return *this;}
487 
516  inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
517 
546  inline void SetCacheNodeType(const Aws::String& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
547 
576  inline void SetCacheNodeType(Aws::String&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
577 
606  inline void SetCacheNodeType(const char* value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType.assign(value); }
607 
636  inline CreateCacheClusterRequest& WithCacheNodeType(const Aws::String& value) { SetCacheNodeType(value); return *this;}
637 
666  inline CreateCacheClusterRequest& WithCacheNodeType(Aws::String&& value) { SetCacheNodeType(value); return *this;}
667 
696  inline CreateCacheClusterRequest& WithCacheNodeType(const char* value) { SetCacheNodeType(value); return *this;}
697 
703  inline const Aws::String& GetEngine() const{ return m_engine; }
704 
710  inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
711 
717  inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = value; }
718 
724  inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
725 
731  inline CreateCacheClusterRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
732 
738  inline CreateCacheClusterRequest& WithEngine(Aws::String&& value) { SetEngine(value); return *this;}
739 
745  inline CreateCacheClusterRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
746 
758  inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
759 
771  inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
772 
784  inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
785 
797  inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
798 
810  inline CreateCacheClusterRequest& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
811 
823  inline CreateCacheClusterRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(value); return *this;}
824 
836  inline CreateCacheClusterRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
837 
843  inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; }
844 
850  inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
851 
857  inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
858 
864  inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); }
865 
871  inline CreateCacheClusterRequest& WithCacheParameterGroupName(const Aws::String& value) { SetCacheParameterGroupName(value); return *this;}
872 
878  inline CreateCacheClusterRequest& WithCacheParameterGroupName(Aws::String&& value) { SetCacheParameterGroupName(value); return *this;}
879 
885  inline CreateCacheClusterRequest& WithCacheParameterGroupName(const char* value) { SetCacheParameterGroupName(value); return *this;}
886 
892  inline const Aws::String& GetCacheSubnetGroupName() const{ return m_cacheSubnetGroupName; }
893 
899  inline void SetCacheSubnetGroupName(const Aws::String& value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName = value; }
900 
906  inline void SetCacheSubnetGroupName(Aws::String&& value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName = value; }
907 
913  inline void SetCacheSubnetGroupName(const char* value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName.assign(value); }
914 
920  inline CreateCacheClusterRequest& WithCacheSubnetGroupName(const Aws::String& value) { SetCacheSubnetGroupName(value); return *this;}
921 
927  inline CreateCacheClusterRequest& WithCacheSubnetGroupName(Aws::String&& value) { SetCacheSubnetGroupName(value); return *this;}
928 
934  inline CreateCacheClusterRequest& WithCacheSubnetGroupName(const char* value) { SetCacheSubnetGroupName(value); return *this;}
935 
941  inline const Aws::Vector<Aws::String>& GetCacheSecurityGroupNames() const{ return m_cacheSecurityGroupNames; }
942 
948  inline void SetCacheSecurityGroupNames(const Aws::Vector<Aws::String>& value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames = value; }
949 
955  inline void SetCacheSecurityGroupNames(Aws::Vector<Aws::String>&& value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames = value; }
956 
962  inline CreateCacheClusterRequest& WithCacheSecurityGroupNames(const Aws::Vector<Aws::String>& value) { SetCacheSecurityGroupNames(value); return *this;}
963 
969  inline CreateCacheClusterRequest& WithCacheSecurityGroupNames(Aws::Vector<Aws::String>&& value) { SetCacheSecurityGroupNames(value); return *this;}
970 
976  inline CreateCacheClusterRequest& AddCacheSecurityGroupNames(const Aws::String& value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames.push_back(value); return *this; }
977 
983  inline CreateCacheClusterRequest& AddCacheSecurityGroupNames(Aws::String&& value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames.push_back(value); return *this; }
984 
990  inline CreateCacheClusterRequest& AddCacheSecurityGroupNames(const char* value) { m_cacheSecurityGroupNamesHasBeenSet = true; m_cacheSecurityGroupNames.push_back(value); return *this; }
991 
997  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
998 
1004  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
1005 
1011  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
1012 
1018  inline CreateCacheClusterRequest& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
1019 
1025  inline CreateCacheClusterRequest& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(value); return *this;}
1026 
1032  inline CreateCacheClusterRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
1033 
1039  inline CreateCacheClusterRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
1040 
1046  inline CreateCacheClusterRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
1047 
1052  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1053 
1058  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1059 
1064  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = value; }
1065 
1070  inline CreateCacheClusterRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1071 
1076  inline CreateCacheClusterRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(value); return *this;}
1077 
1082  inline CreateCacheClusterRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1083 
1088  inline CreateCacheClusterRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1089 
1098  inline const Aws::Vector<Aws::String>& GetSnapshotArns() const{ return m_snapshotArns; }
1099 
1108  inline void SetSnapshotArns(const Aws::Vector<Aws::String>& value) { m_snapshotArnsHasBeenSet = true; m_snapshotArns = value; }
1109 
1118  inline void SetSnapshotArns(Aws::Vector<Aws::String>&& value) { m_snapshotArnsHasBeenSet = true; m_snapshotArns = value; }
1119 
1128  inline CreateCacheClusterRequest& WithSnapshotArns(const Aws::Vector<Aws::String>& value) { SetSnapshotArns(value); return *this;}
1129 
1138  inline CreateCacheClusterRequest& WithSnapshotArns(Aws::Vector<Aws::String>&& value) { SetSnapshotArns(value); return *this;}
1139 
1148  inline CreateCacheClusterRequest& AddSnapshotArns(const Aws::String& value) { m_snapshotArnsHasBeenSet = true; m_snapshotArns.push_back(value); return *this; }
1149 
1158  inline CreateCacheClusterRequest& AddSnapshotArns(Aws::String&& value) { m_snapshotArnsHasBeenSet = true; m_snapshotArns.push_back(value); return *this; }
1159 
1168  inline CreateCacheClusterRequest& AddSnapshotArns(const char* value) { m_snapshotArnsHasBeenSet = true; m_snapshotArns.push_back(value); return *this; }
1169 
1176  inline const Aws::String& GetSnapshotName() const{ return m_snapshotName; }
1177 
1184  inline void SetSnapshotName(const Aws::String& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
1185 
1192  inline void SetSnapshotName(Aws::String&& value) { m_snapshotNameHasBeenSet = true; m_snapshotName = value; }
1193 
1200  inline void SetSnapshotName(const char* value) { m_snapshotNameHasBeenSet = true; m_snapshotName.assign(value); }
1201 
1208  inline CreateCacheClusterRequest& WithSnapshotName(const Aws::String& value) { SetSnapshotName(value); return *this;}
1209 
1216  inline CreateCacheClusterRequest& WithSnapshotName(Aws::String&& value) { SetSnapshotName(value); return *this;}
1217 
1224  inline CreateCacheClusterRequest& WithSnapshotName(const char* value) { SetSnapshotName(value); return *this;}
1225 
1236  inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; }
1237 
1248  inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
1249 
1260  inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; }
1261 
1272  inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); }
1273 
1284  inline CreateCacheClusterRequest& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;}
1285 
1296  inline CreateCacheClusterRequest& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(value); return *this;}
1297 
1308  inline CreateCacheClusterRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;}
1309 
1313  inline long GetPort() const{ return m_port; }
1314 
1318  inline void SetPort(long value) { m_portHasBeenSet = true; m_port = value; }
1319 
1323  inline CreateCacheClusterRequest& WithPort(long value) { SetPort(value); return *this;}
1324 
1330  inline const Aws::String& GetNotificationTopicArn() const{ return m_notificationTopicArn; }
1331 
1337  inline void SetNotificationTopicArn(const Aws::String& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = value; }
1338 
1344  inline void SetNotificationTopicArn(Aws::String&& value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn = value; }
1345 
1351  inline void SetNotificationTopicArn(const char* value) { m_notificationTopicArnHasBeenSet = true; m_notificationTopicArn.assign(value); }
1352 
1358  inline CreateCacheClusterRequest& WithNotificationTopicArn(const Aws::String& value) { SetNotificationTopicArn(value); return *this;}
1359 
1365  inline CreateCacheClusterRequest& WithNotificationTopicArn(Aws::String&& value) { SetNotificationTopicArn(value); return *this;}
1366 
1372  inline CreateCacheClusterRequest& WithNotificationTopicArn(const char* value) { SetNotificationTopicArn(value); return *this;}
1373 
1377  inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; }
1378 
1382  inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; }
1383 
1387  inline CreateCacheClusterRequest& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;}
1388 
1398  inline long GetSnapshotRetentionLimit() const{ return m_snapshotRetentionLimit; }
1399 
1409  inline void SetSnapshotRetentionLimit(long value) { m_snapshotRetentionLimitHasBeenSet = true; m_snapshotRetentionLimit = value; }
1410 
1420  inline CreateCacheClusterRequest& WithSnapshotRetentionLimit(long value) { SetSnapshotRetentionLimit(value); return *this;}
1421 
1429  inline const Aws::String& GetSnapshotWindow() const{ return m_snapshotWindow; }
1430 
1438  inline void SetSnapshotWindow(const Aws::String& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = value; }
1439 
1447  inline void SetSnapshotWindow(Aws::String&& value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow = value; }
1448 
1456  inline void SetSnapshotWindow(const char* value) { m_snapshotWindowHasBeenSet = true; m_snapshotWindow.assign(value); }
1457 
1465  inline CreateCacheClusterRequest& WithSnapshotWindow(const Aws::String& value) { SetSnapshotWindow(value); return *this;}
1466 
1474  inline CreateCacheClusterRequest& WithSnapshotWindow(Aws::String&& value) { SetSnapshotWindow(value); return *this;}
1475 
1483  inline CreateCacheClusterRequest& WithSnapshotWindow(const char* value) { SetSnapshotWindow(value); return *this;}
1484 
1485  private:
1486  Aws::String m_cacheClusterId;
1487  bool m_cacheClusterIdHasBeenSet;
1488  Aws::String m_replicationGroupId;
1489  bool m_replicationGroupIdHasBeenSet;
1490  AZMode m_aZMode;
1491  bool m_aZModeHasBeenSet;
1492  Aws::String m_preferredAvailabilityZone;
1493  bool m_preferredAvailabilityZoneHasBeenSet;
1494  Aws::Vector<Aws::String> m_preferredAvailabilityZones;
1495  bool m_preferredAvailabilityZonesHasBeenSet;
1496  long m_numCacheNodes;
1497  bool m_numCacheNodesHasBeenSet;
1498  Aws::String m_cacheNodeType;
1499  bool m_cacheNodeTypeHasBeenSet;
1500  Aws::String m_engine;
1501  bool m_engineHasBeenSet;
1502  Aws::String m_engineVersion;
1503  bool m_engineVersionHasBeenSet;
1504  Aws::String m_cacheParameterGroupName;
1505  bool m_cacheParameterGroupNameHasBeenSet;
1506  Aws::String m_cacheSubnetGroupName;
1507  bool m_cacheSubnetGroupNameHasBeenSet;
1508  Aws::Vector<Aws::String> m_cacheSecurityGroupNames;
1509  bool m_cacheSecurityGroupNamesHasBeenSet;
1510  Aws::Vector<Aws::String> m_securityGroupIds;
1511  bool m_securityGroupIdsHasBeenSet;
1512  Aws::Vector<Tag> m_tags;
1513  bool m_tagsHasBeenSet;
1514  Aws::Vector<Aws::String> m_snapshotArns;
1515  bool m_snapshotArnsHasBeenSet;
1516  Aws::String m_snapshotName;
1517  bool m_snapshotNameHasBeenSet;
1518  Aws::String m_preferredMaintenanceWindow;
1519  bool m_preferredMaintenanceWindowHasBeenSet;
1520  long m_port;
1521  bool m_portHasBeenSet;
1522  Aws::String m_notificationTopicArn;
1523  bool m_notificationTopicArnHasBeenSet;
1524  bool m_autoMinorVersionUpgrade;
1525  bool m_autoMinorVersionUpgradeHasBeenSet;
1526  long m_snapshotRetentionLimit;
1527  bool m_snapshotRetentionLimitHasBeenSet;
1528  Aws::String m_snapshotWindow;
1529  bool m_snapshotWindowHasBeenSet;
1530  };
1531 
1532 } // namespace Model
1533 } // namespace ElastiCache
1534 } // namespace Aws
CreateCacheClusterRequest & WithCacheParameterGroupName(const Aws::String &value)
CreateCacheClusterRequest & WithNotificationTopicArn(const Aws::String &value)
CreateCacheClusterRequest & WithEngine(Aws::String &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateCacheClusterRequest & WithPreferredMaintenanceWindow(const Aws::String &value)
CreateCacheClusterRequest & WithPreferredAvailabilityZones(const Aws::Vector< Aws::String > &value)
CreateCacheClusterRequest & WithCacheClusterId(const char *value)
CreateCacheClusterRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateCacheClusterRequest & WithNotificationTopicArn(Aws::String &&value)
CreateCacheClusterRequest & WithSnapshotName(const Aws::String &value)
CreateCacheClusterRequest & AddCacheSecurityGroupNames(Aws::String &&value)
CreateCacheClusterRequest & AddSnapshotArns(const Aws::String &value)
CreateCacheClusterRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
CreateCacheClusterRequest & AddSnapshotArns(const char *value)
CreateCacheClusterRequest & WithSnapshotArns(Aws::Vector< Aws::String > &&value)
CreateCacheClusterRequest & WithEngine(const Aws::String &value)
const Aws::Vector< Aws::String > & GetPreferredAvailabilityZones() const
CreateCacheClusterRequest & AddSnapshotArns(Aws::String &&value)
CreateCacheClusterRequest & WithPreferredMaintenanceWindow(const char *value)
CreateCacheClusterRequest & WithCacheSubnetGroupName(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
CreateCacheClusterRequest & WithPreferredAvailabilityZone(const Aws::String &value)
CreateCacheClusterRequest & AddPreferredAvailabilityZones(const char *value)
void SetSnapshotArns(Aws::Vector< Aws::String > &&value)
CreateCacheClusterRequest & WithEngineVersion(Aws::String &&value)
CreateCacheClusterRequest & WithEngineVersion(const char *value)
CreateCacheClusterRequest & WithSnapshotWindow(const char *value)
CreateCacheClusterRequest & AddTags(const Tag &value)
CreateCacheClusterRequest & WithSnapshotName(const char *value)
CreateCacheClusterRequest & WithCacheSecurityGroupNames(const Aws::Vector< Aws::String > &value)
CreateCacheClusterRequest & WithCacheSubnetGroupName(const char *value)
CreateCacheClusterRequest & WithCacheNodeType(Aws::String &&value)
CreateCacheClusterRequest & AddCacheSecurityGroupNames(const Aws::String &value)
void SetCacheSecurityGroupNames(const Aws::Vector< Aws::String > &value)
CreateCacheClusterRequest & AddPreferredAvailabilityZones(const Aws::String &value)
CreateCacheClusterRequest & WithTags(Aws::Vector< Tag > &&value)
CreateCacheClusterRequest & WithSnapshotWindow(Aws::String &&value)
CreateCacheClusterRequest & WithPreferredAvailabilityZone(Aws::String &&value)
CreateCacheClusterRequest & WithCacheParameterGroupName(const char *value)
void SetSnapshotArns(const Aws::Vector< Aws::String > &value)
CreateCacheClusterRequest & WithNumCacheNodes(long value)
CreateCacheClusterRequest & WithSnapshotWindow(const Aws::String &value)
CreateCacheClusterRequest & WithEngineVersion(const Aws::String &value)
CreateCacheClusterRequest & WithTags(const Aws::Vector< Tag > &value)
CreateCacheClusterRequest & WithAZMode(const AZMode &value)
CreateCacheClusterRequest & WithCacheSubnetGroupName(const Aws::String &value)
CreateCacheClusterRequest & WithPreferredAvailabilityZones(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
CreateCacheClusterRequest & WithSnapshotName(Aws::String &&value)
CreateCacheClusterRequest & WithPreferredAvailabilityZone(const char *value)
CreateCacheClusterRequest & WithCacheParameterGroupName(Aws::String &&value)
CreateCacheClusterRequest & WithNotificationTopicArn(const char *value)
CreateCacheClusterRequest & WithCacheSecurityGroupNames(Aws::Vector< Aws::String > &&value)
CreateCacheClusterRequest & AddCacheSecurityGroupNames(const char *value)
CreateCacheClusterRequest & AddSecurityGroupIds(const char *value)
CreateCacheClusterRequest & WithSnapshotArns(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateCacheClusterRequest & WithCacheClusterId(const Aws::String &value)
CreateCacheClusterRequest & WithAutoMinorVersionUpgrade(bool value)
#define AWS_ELASTICACHE_API
void SetPreferredAvailabilityZones(Aws::Vector< Aws::String > &&value)
CreateCacheClusterRequest & AddPreferredAvailabilityZones(Aws::String &&value)
CreateCacheClusterRequest & AddSecurityGroupIds(Aws::String &&value)
void SetCacheSecurityGroupNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetCacheSecurityGroupNames() const
void SetPreferredAvailabilityZones(const Aws::Vector< Aws::String > &value)
CreateCacheClusterRequest & WithCacheClusterId(Aws::String &&value)
CreateCacheClusterRequest & WithReplicationGroupId(const Aws::String &value)
CreateCacheClusterRequest & WithEngine(const char *value)
CreateCacheClusterRequest & WithReplicationGroupId(const char *value)
CreateCacheClusterRequest & WithCacheNodeType(const char *value)
CreateCacheClusterRequest & WithSnapshotRetentionLimit(long value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
CreateCacheClusterRequest & WithPreferredMaintenanceWindow(Aws::String &&value)
CreateCacheClusterRequest & AddSecurityGroupIds(const Aws::String &value)
CreateCacheClusterRequest & WithCacheNodeType(const Aws::String &value)
JSON (JavaScript Object Notation).
CreateCacheClusterRequest & WithReplicationGroupId(Aws::String &&value)
CreateCacheClusterRequest & WithAZMode(AZMode &&value)
const Aws::Vector< Aws::String > & GetSnapshotArns() const