& context = nullptr) const
+ {
+ return SubmitAsync(&CloudFormationClient::UpdateGeneratedTemplate, request, handler, context);
+ }
+
/**
* Updates a stack as specified in the template. After the call completes
* successfully, the stack update starts. You can check the status of the stack
diff --git a/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/CloudFormationErrors.h b/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/CloudFormationErrors.h
index 2f656142d98..ea83ad16345 100644
--- a/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/CloudFormationErrors.h
+++ b/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/CloudFormationErrors.h
@@ -49,8 +49,10 @@ enum class CloudFormationErrors
ALREADY_EXISTS= static_cast(Aws::Client::CoreErrors::SERVICE_EXTENSION_START_RANGE) + 1,
CHANGE_SET_NOT_FOUND,
+ CONCURRENT_RESOURCES_LIMIT_EXCEEDED,
CREATED_BUT_MODIFIED,
C_F_N_REGISTRY,
+ GENERATED_TEMPLATE_NOT_FOUND,
INSUFFICIENT_CAPABILITIES,
INVALID_CHANGE_SET_STATUS,
INVALID_OPERATION,
@@ -61,6 +63,9 @@ enum class CloudFormationErrors
OPERATION_IN_PROGRESS,
OPERATION_NOT_FOUND,
OPERATION_STATUS_CHECK_FAILED,
+ RESOURCE_SCAN_IN_PROGRESS,
+ RESOURCE_SCAN_LIMIT_EXCEEDED,
+ RESOURCE_SCAN_NOT_FOUND,
STACK_INSTANCE_NOT_FOUND,
STACK_NOT_FOUND,
STACK_SET_NOT_EMPTY,
diff --git a/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/CloudFormationServiceClientModel.h b/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/CloudFormationServiceClientModel.h
index 1c4d565c346..186492f3a18 100644
--- a/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/CloudFormationServiceClientModel.h
+++ b/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/CloudFormationServiceClientModel.h
@@ -23,6 +23,7 @@
#include
#include
#include
+#include
#include
#include
#include
@@ -35,8 +36,10 @@
#include
#include
#include
+#include
#include
#include
+#include
#include
#include
#include
@@ -53,13 +56,18 @@
#include
#include
#include
+#include
#include
#include
#include
#include
#include
#include
+#include
#include
+#include
+#include
+#include
#include
#include
#include
@@ -77,8 +85,10 @@
#include
#include
#include
+#include
#include
#include
+#include
#include
#include
#include
@@ -131,12 +141,14 @@ namespace Aws
class CancelUpdateStackRequest;
class ContinueUpdateRollbackRequest;
class CreateChangeSetRequest;
+ class CreateGeneratedTemplateRequest;
class CreateStackRequest;
class CreateStackInstancesRequest;
class CreateStackSetRequest;
class DeactivateOrganizationsAccessRequest;
class DeactivateTypeRequest;
class DeleteChangeSetRequest;
+ class DeleteGeneratedTemplateRequest;
class DeleteStackRequest;
class DeleteStackInstancesRequest;
class DeleteStackSetRequest;
@@ -144,8 +156,10 @@ namespace Aws
class DescribeAccountLimitsRequest;
class DescribeChangeSetRequest;
class DescribeChangeSetHooksRequest;
+ class DescribeGeneratedTemplateRequest;
class DescribeOrganizationsAccessRequest;
class DescribePublisherRequest;
+ class DescribeResourceScanRequest;
class DescribeStackDriftDetectionStatusRequest;
class DescribeStackEventsRequest;
class DescribeStackInstanceRequest;
@@ -162,13 +176,18 @@ namespace Aws
class DetectStackSetDriftRequest;
class EstimateTemplateCostRequest;
class ExecuteChangeSetRequest;
+ class GetGeneratedTemplateRequest;
class GetStackPolicyRequest;
class GetTemplateRequest;
class GetTemplateSummaryRequest;
class ImportStacksToStackSetRequest;
class ListChangeSetsRequest;
class ListExportsRequest;
+ class ListGeneratedTemplatesRequest;
class ListImportsRequest;
+ class ListResourceScanRelatedResourcesRequest;
+ class ListResourceScanResourcesRequest;
+ class ListResourceScansRequest;
class ListStackInstanceResourceDriftsRequest;
class ListStackInstancesRequest;
class ListStackResourcesRequest;
@@ -188,8 +207,10 @@ namespace Aws
class SetTypeConfigurationRequest;
class SetTypeDefaultVersionRequest;
class SignalResourceRequest;
+ class StartResourceScanRequest;
class StopStackSetOperationRequest;
class TestTypeRequest;
+ class UpdateGeneratedTemplateRequest;
class UpdateStackRequest;
class UpdateStackInstancesRequest;
class UpdateStackSetRequest;
@@ -204,12 +225,14 @@ namespace Aws
typedef Aws::Utils::Outcome CancelUpdateStackOutcome;
typedef Aws::Utils::Outcome ContinueUpdateRollbackOutcome;
typedef Aws::Utils::Outcome CreateChangeSetOutcome;
+ typedef Aws::Utils::Outcome CreateGeneratedTemplateOutcome;
typedef Aws::Utils::Outcome CreateStackOutcome;
typedef Aws::Utils::Outcome CreateStackInstancesOutcome;
typedef Aws::Utils::Outcome CreateStackSetOutcome;
typedef Aws::Utils::Outcome DeactivateOrganizationsAccessOutcome;
typedef Aws::Utils::Outcome DeactivateTypeOutcome;
typedef Aws::Utils::Outcome DeleteChangeSetOutcome;
+ typedef Aws::Utils::Outcome DeleteGeneratedTemplateOutcome;
typedef Aws::Utils::Outcome DeleteStackOutcome;
typedef Aws::Utils::Outcome DeleteStackInstancesOutcome;
typedef Aws::Utils::Outcome DeleteStackSetOutcome;
@@ -217,8 +240,10 @@ namespace Aws
typedef Aws::Utils::Outcome DescribeAccountLimitsOutcome;
typedef Aws::Utils::Outcome DescribeChangeSetOutcome;
typedef Aws::Utils::Outcome DescribeChangeSetHooksOutcome;
+ typedef Aws::Utils::Outcome DescribeGeneratedTemplateOutcome;
typedef Aws::Utils::Outcome DescribeOrganizationsAccessOutcome;
typedef Aws::Utils::Outcome DescribePublisherOutcome;
+ typedef Aws::Utils::Outcome DescribeResourceScanOutcome;
typedef Aws::Utils::Outcome DescribeStackDriftDetectionStatusOutcome;
typedef Aws::Utils::Outcome DescribeStackEventsOutcome;
typedef Aws::Utils::Outcome DescribeStackInstanceOutcome;
@@ -235,13 +260,18 @@ namespace Aws
typedef Aws::Utils::Outcome DetectStackSetDriftOutcome;
typedef Aws::Utils::Outcome EstimateTemplateCostOutcome;
typedef Aws::Utils::Outcome ExecuteChangeSetOutcome;
+ typedef Aws::Utils::Outcome GetGeneratedTemplateOutcome;
typedef Aws::Utils::Outcome GetStackPolicyOutcome;
typedef Aws::Utils::Outcome GetTemplateOutcome;
typedef Aws::Utils::Outcome GetTemplateSummaryOutcome;
typedef Aws::Utils::Outcome ImportStacksToStackSetOutcome;
typedef Aws::Utils::Outcome ListChangeSetsOutcome;
typedef Aws::Utils::Outcome ListExportsOutcome;
+ typedef Aws::Utils::Outcome ListGeneratedTemplatesOutcome;
typedef Aws::Utils::Outcome ListImportsOutcome;
+ typedef Aws::Utils::Outcome ListResourceScanRelatedResourcesOutcome;
+ typedef Aws::Utils::Outcome ListResourceScanResourcesOutcome;
+ typedef Aws::Utils::Outcome ListResourceScansOutcome;
typedef Aws::Utils::Outcome ListStackInstanceResourceDriftsOutcome;
typedef Aws::Utils::Outcome ListStackInstancesOutcome;
typedef Aws::Utils::Outcome ListStackResourcesOutcome;
@@ -261,8 +291,10 @@ namespace Aws
typedef Aws::Utils::Outcome SetTypeConfigurationOutcome;
typedef Aws::Utils::Outcome SetTypeDefaultVersionOutcome;
typedef Aws::Utils::Outcome SignalResourceOutcome;
+ typedef Aws::Utils::Outcome StartResourceScanOutcome;
typedef Aws::Utils::Outcome StopStackSetOperationOutcome;
typedef Aws::Utils::Outcome TestTypeOutcome;
+ typedef Aws::Utils::Outcome UpdateGeneratedTemplateOutcome;
typedef Aws::Utils::Outcome UpdateStackOutcome;
typedef Aws::Utils::Outcome UpdateStackInstancesOutcome;
typedef Aws::Utils::Outcome UpdateStackSetOutcome;
@@ -277,12 +309,14 @@ namespace Aws
typedef std::future CancelUpdateStackOutcomeCallable;
typedef std::future ContinueUpdateRollbackOutcomeCallable;
typedef std::future CreateChangeSetOutcomeCallable;
+ typedef std::future CreateGeneratedTemplateOutcomeCallable;
typedef std::future CreateStackOutcomeCallable;
typedef std::future CreateStackInstancesOutcomeCallable;
typedef std::future CreateStackSetOutcomeCallable;
typedef std::future DeactivateOrganizationsAccessOutcomeCallable;
typedef std::future DeactivateTypeOutcomeCallable;
typedef std::future DeleteChangeSetOutcomeCallable;
+ typedef std::future DeleteGeneratedTemplateOutcomeCallable;
typedef std::future DeleteStackOutcomeCallable;
typedef std::future DeleteStackInstancesOutcomeCallable;
typedef std::future DeleteStackSetOutcomeCallable;
@@ -290,8 +324,10 @@ namespace Aws
typedef std::future DescribeAccountLimitsOutcomeCallable;
typedef std::future DescribeChangeSetOutcomeCallable;
typedef std::future DescribeChangeSetHooksOutcomeCallable;
+ typedef std::future DescribeGeneratedTemplateOutcomeCallable;
typedef std::future DescribeOrganizationsAccessOutcomeCallable;
typedef std::future DescribePublisherOutcomeCallable;
+ typedef std::future DescribeResourceScanOutcomeCallable;
typedef std::future DescribeStackDriftDetectionStatusOutcomeCallable;
typedef std::future DescribeStackEventsOutcomeCallable;
typedef std::future DescribeStackInstanceOutcomeCallable;
@@ -308,13 +344,18 @@ namespace Aws
typedef std::future DetectStackSetDriftOutcomeCallable;
typedef std::future EstimateTemplateCostOutcomeCallable;
typedef std::future ExecuteChangeSetOutcomeCallable;
+ typedef std::future GetGeneratedTemplateOutcomeCallable;
typedef std::future GetStackPolicyOutcomeCallable;
typedef std::future GetTemplateOutcomeCallable;
typedef std::future GetTemplateSummaryOutcomeCallable;
typedef std::future ImportStacksToStackSetOutcomeCallable;
typedef std::future ListChangeSetsOutcomeCallable;
typedef std::future ListExportsOutcomeCallable;
+ typedef std::future ListGeneratedTemplatesOutcomeCallable;
typedef std::future ListImportsOutcomeCallable;
+ typedef std::future ListResourceScanRelatedResourcesOutcomeCallable;
+ typedef std::future ListResourceScanResourcesOutcomeCallable;
+ typedef std::future ListResourceScansOutcomeCallable;
typedef std::future ListStackInstanceResourceDriftsOutcomeCallable;
typedef std::future ListStackInstancesOutcomeCallable;
typedef std::future ListStackResourcesOutcomeCallable;
@@ -334,8 +375,10 @@ namespace Aws
typedef std::future SetTypeConfigurationOutcomeCallable;
typedef std::future SetTypeDefaultVersionOutcomeCallable;
typedef std::future SignalResourceOutcomeCallable;
+ typedef std::future StartResourceScanOutcomeCallable;
typedef std::future StopStackSetOperationOutcomeCallable;
typedef std::future TestTypeOutcomeCallable;
+ typedef std::future UpdateGeneratedTemplateOutcomeCallable;
typedef std::future UpdateStackOutcomeCallable;
typedef std::future UpdateStackInstancesOutcomeCallable;
typedef std::future UpdateStackSetOutcomeCallable;
@@ -353,12 +396,14 @@ namespace Aws
typedef std::function&) > CancelUpdateStackResponseReceivedHandler;
typedef std::function&) > ContinueUpdateRollbackResponseReceivedHandler;
typedef std::function&) > CreateChangeSetResponseReceivedHandler;
+ typedef std::function&) > CreateGeneratedTemplateResponseReceivedHandler;
typedef std::function&) > CreateStackResponseReceivedHandler;
typedef std::function&) > CreateStackInstancesResponseReceivedHandler;
typedef std::function&) > CreateStackSetResponseReceivedHandler;
typedef std::function&) > DeactivateOrganizationsAccessResponseReceivedHandler;
typedef std::function&) > DeactivateTypeResponseReceivedHandler;
typedef std::function&) > DeleteChangeSetResponseReceivedHandler;
+ typedef std::function&) > DeleteGeneratedTemplateResponseReceivedHandler;
typedef std::function&) > DeleteStackResponseReceivedHandler;
typedef std::function&) > DeleteStackInstancesResponseReceivedHandler;
typedef std::function&) > DeleteStackSetResponseReceivedHandler;
@@ -366,8 +411,10 @@ namespace Aws
typedef std::function&) > DescribeAccountLimitsResponseReceivedHandler;
typedef std::function&) > DescribeChangeSetResponseReceivedHandler;
typedef std::function&) > DescribeChangeSetHooksResponseReceivedHandler;
+ typedef std::function&) > DescribeGeneratedTemplateResponseReceivedHandler;
typedef std::function&) > DescribeOrganizationsAccessResponseReceivedHandler;
typedef std::function&) > DescribePublisherResponseReceivedHandler;
+ typedef std::function&) > DescribeResourceScanResponseReceivedHandler;
typedef std::function&) > DescribeStackDriftDetectionStatusResponseReceivedHandler;
typedef std::function&) > DescribeStackEventsResponseReceivedHandler;
typedef std::function&) > DescribeStackInstanceResponseReceivedHandler;
@@ -384,13 +431,18 @@ namespace Aws
typedef std::function&) > DetectStackSetDriftResponseReceivedHandler;
typedef std::function&) > EstimateTemplateCostResponseReceivedHandler;
typedef std::function&) > ExecuteChangeSetResponseReceivedHandler;
+ typedef std::function&) > GetGeneratedTemplateResponseReceivedHandler;
typedef std::function&) > GetStackPolicyResponseReceivedHandler;
typedef std::function&) > GetTemplateResponseReceivedHandler;
typedef std::function&) > GetTemplateSummaryResponseReceivedHandler;
typedef std::function&) > ImportStacksToStackSetResponseReceivedHandler;
typedef std::function&) > ListChangeSetsResponseReceivedHandler;
typedef std::function&) > ListExportsResponseReceivedHandler;
+ typedef std::function&) > ListGeneratedTemplatesResponseReceivedHandler;
typedef std::function&) > ListImportsResponseReceivedHandler;
+ typedef std::function&) > ListResourceScanRelatedResourcesResponseReceivedHandler;
+ typedef std::function&) > ListResourceScanResourcesResponseReceivedHandler;
+ typedef std::function&) > ListResourceScansResponseReceivedHandler;
typedef std::function&) > ListStackInstanceResourceDriftsResponseReceivedHandler;
typedef std::function&) > ListStackInstancesResponseReceivedHandler;
typedef std::function&) > ListStackResourcesResponseReceivedHandler;
@@ -410,8 +462,10 @@ namespace Aws
typedef std::function&) > SetTypeConfigurationResponseReceivedHandler;
typedef std::function&) > SetTypeDefaultVersionResponseReceivedHandler;
typedef std::function&) > SignalResourceResponseReceivedHandler;
+ typedef std::function&) > StartResourceScanResponseReceivedHandler;
typedef std::function&) > StopStackSetOperationResponseReceivedHandler;
typedef std::function&) > TestTypeResponseReceivedHandler;
+ typedef std::function&) > UpdateGeneratedTemplateResponseReceivedHandler;
typedef std::function&) > UpdateStackResponseReceivedHandler;
typedef std::function&) > UpdateStackInstancesResponseReceivedHandler;
typedef std::function&) > UpdateStackSetResponseReceivedHandler;
diff --git a/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/CreateGeneratedTemplateRequest.h b/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/CreateGeneratedTemplateRequest.h
new file mode 100644
index 00000000000..17786704a92
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/CreateGeneratedTemplateRequest.h
@@ -0,0 +1,250 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+namespace CloudFormation
+{
+namespace Model
+{
+
+ /**
+ */
+ class CreateGeneratedTemplateRequest : public CloudFormationRequest
+ {
+ public:
+ AWS_CLOUDFORMATION_API CreateGeneratedTemplateRequest();
+
+ // Service request name is the Operation name which will send this request out,
+ // each operation should has unique request name, so that we can get operation's name from this request.
+ // Note: this is not true for response, multiple operations may have the same response name,
+ // so we can not get operation's name from response.
+ inline virtual const char* GetServiceRequestName() const override { return "CreateGeneratedTemplate"; }
+
+ AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
+
+ protected:
+ AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
+
+ public:
+
+ /**
+ * An optional list of resources to be included in the generated template.
+ * If no resources are specified,the template will be created without any
+ * resources. Resources can be added to the template using the
+ * UpdateGeneratedTemplate
API action.
+ */
+ inline const Aws::Vector& GetResources() const{ return m_resources; }
+
+ /**
+ * An optional list of resources to be included in the generated template.
+ * If no resources are specified,the template will be created without any
+ * resources. Resources can be added to the template using the
+ * UpdateGeneratedTemplate
API action.
+ */
+ inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; }
+
+ /**
+ * An optional list of resources to be included in the generated template.
+ * If no resources are specified,the template will be created without any
+ * resources. Resources can be added to the template using the
+ * UpdateGeneratedTemplate
API action.
+ */
+ inline void SetResources(const Aws::Vector& value) { m_resourcesHasBeenSet = true; m_resources = value; }
+
+ /**
+ * An optional list of resources to be included in the generated template.
+ * If no resources are specified,the template will be created without any
+ * resources. Resources can be added to the template using the
+ * UpdateGeneratedTemplate
API action.
+ */
+ inline void SetResources(Aws::Vector&& value) { m_resourcesHasBeenSet = true; m_resources = std::move(value); }
+
+ /**
+ * An optional list of resources to be included in the generated template.
+ * If no resources are specified,the template will be created without any
+ * resources. Resources can be added to the template using the
+ * UpdateGeneratedTemplate
API action.
+ */
+ inline CreateGeneratedTemplateRequest& WithResources(const Aws::Vector& value) { SetResources(value); return *this;}
+
+ /**
+ * An optional list of resources to be included in the generated template.
+ * If no resources are specified,the template will be created without any
+ * resources. Resources can be added to the template using the
+ * UpdateGeneratedTemplate
API action.
+ */
+ inline CreateGeneratedTemplateRequest& WithResources(Aws::Vector&& value) { SetResources(std::move(value)); return *this;}
+
+ /**
+ * An optional list of resources to be included in the generated template.
+ * If no resources are specified,the template will be created without any
+ * resources. Resources can be added to the template using the
+ * UpdateGeneratedTemplate
API action.
+ */
+ inline CreateGeneratedTemplateRequest& AddResources(const ResourceDefinition& value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; }
+
+ /**
+ * An optional list of resources to be included in the generated template.
+ * If no resources are specified,the template will be created without any
+ * resources. Resources can be added to the template using the
+ * UpdateGeneratedTemplate
API action.
+ */
+ inline CreateGeneratedTemplateRequest& AddResources(ResourceDefinition&& value) { m_resourcesHasBeenSet = true; m_resources.push_back(std::move(value)); return *this; }
+
+
+ /**
+ * The name assigned to the generated template.
+ */
+ inline const Aws::String& GetGeneratedTemplateName() const{ return m_generatedTemplateName; }
+
+ /**
+ * The name assigned to the generated template.
+ */
+ inline bool GeneratedTemplateNameHasBeenSet() const { return m_generatedTemplateNameHasBeenSet; }
+
+ /**
+ * The name assigned to the generated template.
+ */
+ inline void SetGeneratedTemplateName(const Aws::String& value) { m_generatedTemplateNameHasBeenSet = true; m_generatedTemplateName = value; }
+
+ /**
+ * The name assigned to the generated template.
+ */
+ inline void SetGeneratedTemplateName(Aws::String&& value) { m_generatedTemplateNameHasBeenSet = true; m_generatedTemplateName = std::move(value); }
+
+ /**
+ * The name assigned to the generated template.
+ */
+ inline void SetGeneratedTemplateName(const char* value) { m_generatedTemplateNameHasBeenSet = true; m_generatedTemplateName.assign(value); }
+
+ /**
+ * The name assigned to the generated template.
+ */
+ inline CreateGeneratedTemplateRequest& WithGeneratedTemplateName(const Aws::String& value) { SetGeneratedTemplateName(value); return *this;}
+
+ /**
+ * The name assigned to the generated template.
+ */
+ inline CreateGeneratedTemplateRequest& WithGeneratedTemplateName(Aws::String&& value) { SetGeneratedTemplateName(std::move(value)); return *this;}
+
+ /**
+ * The name assigned to the generated template.
+ */
+ inline CreateGeneratedTemplateRequest& WithGeneratedTemplateName(const char* value) { SetGeneratedTemplateName(value); return *this;}
+
+
+ /**
+ * An optional name or ARN of a stack to use as the base stack for the generated
+ * template.
+ */
+ inline const Aws::String& GetStackName() const{ return m_stackName; }
+
+ /**
+ * An optional name or ARN of a stack to use as the base stack for the generated
+ * template.
+ */
+ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
+
+ /**
+ * An optional name or ARN of a stack to use as the base stack for the generated
+ * template.
+ */
+ inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
+
+ /**
+ * An optional name or ARN of a stack to use as the base stack for the generated
+ * template.
+ */
+ inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
+
+ /**
+ * An optional name or ARN of a stack to use as the base stack for the generated
+ * template.
+ */
+ inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
+
+ /**
+ * An optional name or ARN of a stack to use as the base stack for the generated
+ * template.
+ */
+ inline CreateGeneratedTemplateRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
+
+ /**
+ * An optional name or ARN of a stack to use as the base stack for the generated
+ * template.
+ */
+ inline CreateGeneratedTemplateRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
+
+ /**
+ * An optional name or ARN of a stack to use as the base stack for the generated
+ * template.
+ */
+ inline CreateGeneratedTemplateRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
+
+
+ /**
+ * The configuration details of the generated template, including the
+ * DeletionPolicy
and UpdateReplacePolicy
.
+ */
+ inline const TemplateConfiguration& GetTemplateConfiguration() const{ return m_templateConfiguration; }
+
+ /**
+ * The configuration details of the generated template, including the
+ * DeletionPolicy
and UpdateReplacePolicy
.
+ */
+ inline bool TemplateConfigurationHasBeenSet() const { return m_templateConfigurationHasBeenSet; }
+
+ /**
+ * The configuration details of the generated template, including the
+ * DeletionPolicy
and UpdateReplacePolicy
.
+ */
+ inline void SetTemplateConfiguration(const TemplateConfiguration& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = value; }
+
+ /**
+ * The configuration details of the generated template, including the
+ * DeletionPolicy
and UpdateReplacePolicy
.
+ */
+ inline void SetTemplateConfiguration(TemplateConfiguration&& value) { m_templateConfigurationHasBeenSet = true; m_templateConfiguration = std::move(value); }
+
+ /**
+ * The configuration details of the generated template, including the
+ * DeletionPolicy
and UpdateReplacePolicy
.
+ */
+ inline CreateGeneratedTemplateRequest& WithTemplateConfiguration(const TemplateConfiguration& value) { SetTemplateConfiguration(value); return *this;}
+
+ /**
+ * The configuration details of the generated template, including the
+ * DeletionPolicy
and UpdateReplacePolicy
.
+ */
+ inline CreateGeneratedTemplateRequest& WithTemplateConfiguration(TemplateConfiguration&& value) { SetTemplateConfiguration(std::move(value)); return *this;}
+
+ private:
+
+ Aws::Vector m_resources;
+ bool m_resourcesHasBeenSet = false;
+
+ Aws::String m_generatedTemplateName;
+ bool m_generatedTemplateNameHasBeenSet = false;
+
+ Aws::String m_stackName;
+ bool m_stackNameHasBeenSet = false;
+
+ TemplateConfiguration m_templateConfiguration;
+ bool m_templateConfigurationHasBeenSet = false;
+ };
+
+} // namespace Model
+} // namespace CloudFormation
+} // namespace Aws
diff --git a/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/CreateGeneratedTemplateResult.h b/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/CreateGeneratedTemplateResult.h
new file mode 100644
index 00000000000..0dfe1e69833
--- /dev/null
+++ b/generated/src/aws-cpp-sdk-cloudformation/include/aws/cloudformation/model/CreateGeneratedTemplateResult.h
@@ -0,0 +1,96 @@
+/**
+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * SPDX-License-Identifier: Apache-2.0.
+ */
+
+#pragma once
+#include
+#include
+#include
+#include
+
+namespace Aws
+{
+template
+class AmazonWebServiceResult;
+
+namespace Utils
+{
+namespace Xml
+{
+ class XmlDocument;
+} // namespace Xml
+} // namespace Utils
+namespace CloudFormation
+{
+namespace Model
+{
+ class CreateGeneratedTemplateResult
+ {
+ public:
+ AWS_CLOUDFORMATION_API CreateGeneratedTemplateResult();
+ AWS_CLOUDFORMATION_API CreateGeneratedTemplateResult(const Aws::AmazonWebServiceResult& result);
+ AWS_CLOUDFORMATION_API CreateGeneratedTemplateResult& operator=(const Aws::AmazonWebServiceResult