AWS SDK for C++  1.8.71
AWS SDK for C++
CreateCloudFormationChangeSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace ServerlessApplicationRepository
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateCloudFormationChangeSet"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
43 
47  inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 
52  inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
53 
57  inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
58 
62  inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
63 
67  inline CreateCloudFormationChangeSetRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
68 
72  inline CreateCloudFormationChangeSetRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
73 
77  inline CreateCloudFormationChangeSetRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
78 
79 
139  inline const Aws::Vector<Aws::String>& GetCapabilities() const{ return m_capabilities; }
140 
200  inline bool CapabilitiesHasBeenSet() const { return m_capabilitiesHasBeenSet; }
201 
261  inline void SetCapabilities(const Aws::Vector<Aws::String>& value) { m_capabilitiesHasBeenSet = true; m_capabilities = value; }
262 
322  inline void SetCapabilities(Aws::Vector<Aws::String>&& value) { m_capabilitiesHasBeenSet = true; m_capabilities = std::move(value); }
323 
383  inline CreateCloudFormationChangeSetRequest& WithCapabilities(const Aws::Vector<Aws::String>& value) { SetCapabilities(value); return *this;}
384 
444  inline CreateCloudFormationChangeSetRequest& WithCapabilities(Aws::Vector<Aws::String>&& value) { SetCapabilities(std::move(value)); return *this;}
445 
505  inline CreateCloudFormationChangeSetRequest& AddCapabilities(const Aws::String& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
506 
566  inline CreateCloudFormationChangeSetRequest& AddCapabilities(Aws::String&& value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(std::move(value)); return *this; }
567 
627  inline CreateCloudFormationChangeSetRequest& AddCapabilities(const char* value) { m_capabilitiesHasBeenSet = true; m_capabilities.push_back(value); return *this; }
628 
629 
637  inline const Aws::String& GetChangeSetName() const{ return m_changeSetName; }
638 
646  inline bool ChangeSetNameHasBeenSet() const { return m_changeSetNameHasBeenSet; }
647 
655  inline void SetChangeSetName(const Aws::String& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = value; }
656 
664  inline void SetChangeSetName(Aws::String&& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = std::move(value); }
665 
673  inline void SetChangeSetName(const char* value) { m_changeSetNameHasBeenSet = true; m_changeSetName.assign(value); }
674 
682  inline CreateCloudFormationChangeSetRequest& WithChangeSetName(const Aws::String& value) { SetChangeSetName(value); return *this;}
683 
691  inline CreateCloudFormationChangeSetRequest& WithChangeSetName(Aws::String&& value) { SetChangeSetName(std::move(value)); return *this;}
692 
700  inline CreateCloudFormationChangeSetRequest& WithChangeSetName(const char* value) { SetChangeSetName(value); return *this;}
701 
702 
710  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
711 
719  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
720 
728  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
729 
737  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
738 
746  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
747 
755  inline CreateCloudFormationChangeSetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
756 
764  inline CreateCloudFormationChangeSetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
765 
773  inline CreateCloudFormationChangeSetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
774 
775 
783  inline const Aws::String& GetDescription() const{ return m_description; }
784 
792  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
793 
801  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
802 
810  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
811 
819  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
820 
828  inline CreateCloudFormationChangeSetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
829 
837  inline CreateCloudFormationChangeSetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
838 
846  inline CreateCloudFormationChangeSetRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
847 
848 
856  inline const Aws::Vector<Aws::String>& GetNotificationArns() const{ return m_notificationArns; }
857 
865  inline bool NotificationArnsHasBeenSet() const { return m_notificationArnsHasBeenSet; }
866 
874  inline void SetNotificationArns(const Aws::Vector<Aws::String>& value) { m_notificationArnsHasBeenSet = true; m_notificationArns = value; }
875 
883  inline void SetNotificationArns(Aws::Vector<Aws::String>&& value) { m_notificationArnsHasBeenSet = true; m_notificationArns = std::move(value); }
884 
892  inline CreateCloudFormationChangeSetRequest& WithNotificationArns(const Aws::Vector<Aws::String>& value) { SetNotificationArns(value); return *this;}
893 
901  inline CreateCloudFormationChangeSetRequest& WithNotificationArns(Aws::Vector<Aws::String>&& value) { SetNotificationArns(std::move(value)); return *this;}
902 
910  inline CreateCloudFormationChangeSetRequest& AddNotificationArns(const Aws::String& value) { m_notificationArnsHasBeenSet = true; m_notificationArns.push_back(value); return *this; }
911 
919  inline CreateCloudFormationChangeSetRequest& AddNotificationArns(Aws::String&& value) { m_notificationArnsHasBeenSet = true; m_notificationArns.push_back(std::move(value)); return *this; }
920 
928  inline CreateCloudFormationChangeSetRequest& AddNotificationArns(const char* value) { m_notificationArnsHasBeenSet = true; m_notificationArns.push_back(value); return *this; }
929 
930 
934  inline const Aws::Vector<ParameterValue>& GetParameterOverrides() const{ return m_parameterOverrides; }
935 
939  inline bool ParameterOverridesHasBeenSet() const { return m_parameterOverridesHasBeenSet; }
940 
944  inline void SetParameterOverrides(const Aws::Vector<ParameterValue>& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides = value; }
945 
949  inline void SetParameterOverrides(Aws::Vector<ParameterValue>&& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides = std::move(value); }
950 
954  inline CreateCloudFormationChangeSetRequest& WithParameterOverrides(const Aws::Vector<ParameterValue>& value) { SetParameterOverrides(value); return *this;}
955 
959  inline CreateCloudFormationChangeSetRequest& WithParameterOverrides(Aws::Vector<ParameterValue>&& value) { SetParameterOverrides(std::move(value)); return *this;}
960 
964  inline CreateCloudFormationChangeSetRequest& AddParameterOverrides(const ParameterValue& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides.push_back(value); return *this; }
965 
969  inline CreateCloudFormationChangeSetRequest& AddParameterOverrides(ParameterValue&& value) { m_parameterOverridesHasBeenSet = true; m_parameterOverrides.push_back(std::move(value)); return *this; }
970 
971 
979  inline const Aws::Vector<Aws::String>& GetResourceTypes() const{ return m_resourceTypes; }
980 
988  inline bool ResourceTypesHasBeenSet() const { return m_resourceTypesHasBeenSet; }
989 
997  inline void SetResourceTypes(const Aws::Vector<Aws::String>& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = value; }
998 
1006  inline void SetResourceTypes(Aws::Vector<Aws::String>&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes = std::move(value); }
1007 
1015  inline CreateCloudFormationChangeSetRequest& WithResourceTypes(const Aws::Vector<Aws::String>& value) { SetResourceTypes(value); return *this;}
1016 
1024  inline CreateCloudFormationChangeSetRequest& WithResourceTypes(Aws::Vector<Aws::String>&& value) { SetResourceTypes(std::move(value)); return *this;}
1025 
1033  inline CreateCloudFormationChangeSetRequest& AddResourceTypes(const Aws::String& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
1034 
1042  inline CreateCloudFormationChangeSetRequest& AddResourceTypes(Aws::String&& value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(std::move(value)); return *this; }
1043 
1051  inline CreateCloudFormationChangeSetRequest& AddResourceTypes(const char* value) { m_resourceTypesHasBeenSet = true; m_resourceTypes.push_back(value); return *this; }
1052 
1053 
1061  inline const RollbackConfiguration& GetRollbackConfiguration() const{ return m_rollbackConfiguration; }
1062 
1070  inline bool RollbackConfigurationHasBeenSet() const { return m_rollbackConfigurationHasBeenSet; }
1071 
1079  inline void SetRollbackConfiguration(const RollbackConfiguration& value) { m_rollbackConfigurationHasBeenSet = true; m_rollbackConfiguration = value; }
1080 
1088  inline void SetRollbackConfiguration(RollbackConfiguration&& value) { m_rollbackConfigurationHasBeenSet = true; m_rollbackConfiguration = std::move(value); }
1089 
1097  inline CreateCloudFormationChangeSetRequest& WithRollbackConfiguration(const RollbackConfiguration& value) { SetRollbackConfiguration(value); return *this;}
1098 
1106  inline CreateCloudFormationChangeSetRequest& WithRollbackConfiguration(RollbackConfiguration&& value) { SetRollbackConfiguration(std::move(value)); return *this;}
1107 
1108 
1115  inline const Aws::String& GetSemanticVersion() const{ return m_semanticVersion; }
1116 
1123  inline bool SemanticVersionHasBeenSet() const { return m_semanticVersionHasBeenSet; }
1124 
1131  inline void SetSemanticVersion(const Aws::String& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = value; }
1132 
1139  inline void SetSemanticVersion(Aws::String&& value) { m_semanticVersionHasBeenSet = true; m_semanticVersion = std::move(value); }
1140 
1147  inline void SetSemanticVersion(const char* value) { m_semanticVersionHasBeenSet = true; m_semanticVersion.assign(value); }
1148 
1155  inline CreateCloudFormationChangeSetRequest& WithSemanticVersion(const Aws::String& value) { SetSemanticVersion(value); return *this;}
1156 
1163  inline CreateCloudFormationChangeSetRequest& WithSemanticVersion(Aws::String&& value) { SetSemanticVersion(std::move(value)); return *this;}
1164 
1171  inline CreateCloudFormationChangeSetRequest& WithSemanticVersion(const char* value) { SetSemanticVersion(value); return *this;}
1172 
1173 
1181  inline const Aws::String& GetStackName() const{ return m_stackName; }
1182 
1190  inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
1191 
1199  inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
1200 
1208  inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
1209 
1217  inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
1218 
1226  inline CreateCloudFormationChangeSetRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
1227 
1235  inline CreateCloudFormationChangeSetRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
1236 
1244  inline CreateCloudFormationChangeSetRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
1245 
1246 
1254  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1255 
1263  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
1264 
1272  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1273 
1281  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1282 
1290  inline CreateCloudFormationChangeSetRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1291 
1299  inline CreateCloudFormationChangeSetRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1300 
1308  inline CreateCloudFormationChangeSetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1309 
1317  inline CreateCloudFormationChangeSetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1318 
1319 
1324  inline const Aws::String& GetTemplateId() const{ return m_templateId; }
1325 
1330  inline bool TemplateIdHasBeenSet() const { return m_templateIdHasBeenSet; }
1331 
1336  inline void SetTemplateId(const Aws::String& value) { m_templateIdHasBeenSet = true; m_templateId = value; }
1337 
1342  inline void SetTemplateId(Aws::String&& value) { m_templateIdHasBeenSet = true; m_templateId = std::move(value); }
1343 
1348  inline void SetTemplateId(const char* value) { m_templateIdHasBeenSet = true; m_templateId.assign(value); }
1349 
1354  inline CreateCloudFormationChangeSetRequest& WithTemplateId(const Aws::String& value) { SetTemplateId(value); return *this;}
1355 
1360  inline CreateCloudFormationChangeSetRequest& WithTemplateId(Aws::String&& value) { SetTemplateId(std::move(value)); return *this;}
1361 
1366  inline CreateCloudFormationChangeSetRequest& WithTemplateId(const char* value) { SetTemplateId(value); return *this;}
1367 
1368  private:
1369 
1370  Aws::String m_applicationId;
1371  bool m_applicationIdHasBeenSet;
1372 
1373  Aws::Vector<Aws::String> m_capabilities;
1374  bool m_capabilitiesHasBeenSet;
1375 
1376  Aws::String m_changeSetName;
1377  bool m_changeSetNameHasBeenSet;
1378 
1379  Aws::String m_clientToken;
1380  bool m_clientTokenHasBeenSet;
1381 
1382  Aws::String m_description;
1383  bool m_descriptionHasBeenSet;
1384 
1385  Aws::Vector<Aws::String> m_notificationArns;
1386  bool m_notificationArnsHasBeenSet;
1387 
1388  Aws::Vector<ParameterValue> m_parameterOverrides;
1389  bool m_parameterOverridesHasBeenSet;
1390 
1391  Aws::Vector<Aws::String> m_resourceTypes;
1392  bool m_resourceTypesHasBeenSet;
1393 
1394  RollbackConfiguration m_rollbackConfiguration;
1395  bool m_rollbackConfigurationHasBeenSet;
1396 
1397  Aws::String m_semanticVersion;
1398  bool m_semanticVersionHasBeenSet;
1399 
1400  Aws::String m_stackName;
1401  bool m_stackNameHasBeenSet;
1402 
1403  Aws::Vector<Tag> m_tags;
1404  bool m_tagsHasBeenSet;
1405 
1406  Aws::String m_templateId;
1407  bool m_templateIdHasBeenSet;
1408  };
1409 
1410 } // namespace Model
1411 } // namespace ServerlessApplicationRepository
1412 } // namespace Aws
CreateCloudFormationChangeSetRequest & WithResourceTypes(const Aws::Vector< Aws::String > &value)
CreateCloudFormationChangeSetRequest & WithParameterOverrides(const Aws::Vector< ParameterValue > &value)
CreateCloudFormationChangeSetRequest & WithRollbackConfiguration(RollbackConfiguration &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
CreateCloudFormationChangeSetRequest & WithParameterOverrides(Aws::Vector< ParameterValue > &&value)
CreateCloudFormationChangeSetRequest & WithCapabilities(const Aws::Vector< Aws::String > &value)
CreateCloudFormationChangeSetRequest & WithCapabilities(Aws::Vector< Aws::String > &&value)
CreateCloudFormationChangeSetRequest & WithNotificationArns(const Aws::Vector< Aws::String > &value)
CreateCloudFormationChangeSetRequest & AddNotificationArns(const Aws::String &value)
CreateCloudFormationChangeSetRequest & WithRollbackConfiguration(const RollbackConfiguration &value)
CreateCloudFormationChangeSetRequest & WithNotificationArns(Aws::Vector< Aws::String > &&value)
CreateCloudFormationChangeSetRequest & WithResourceTypes(Aws::Vector< Aws::String > &&value)
CreateCloudFormationChangeSetRequest & WithTags(const Aws::Vector< Tag > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_SERVERLESSAPPLICATIONREPOSITORY_API
CreateCloudFormationChangeSetRequest & WithApplicationId(const Aws::String &value)
CreateCloudFormationChangeSetRequest & AddParameterOverrides(const ParameterValue &value)