/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace CloudFormation { namespace Model { /** */ class DescribeStackResourceDriftsRequest : public CloudFormationRequest { public: AWS_CLOUDFORMATION_API DescribeStackResourceDriftsRequest(); // 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 "DescribeStackResourceDrifts"; } AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override; protected: AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the stack for which you want drift information.

*/ inline const Aws::String& GetStackName() const{ return m_stackName; } /** *

The name of the stack for which you want drift information.

*/ inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; } /** *

The name of the stack for which you want drift information.

*/ inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; } /** *

The name of the stack for which you want drift information.

*/ inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); } /** *

The name of the stack for which you want drift information.

*/ inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); } /** *

The name of the stack for which you want drift information.

*/ inline DescribeStackResourceDriftsRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;} /** *

The name of the stack for which you want drift information.

*/ inline DescribeStackResourceDriftsRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;} /** *

The name of the stack for which you want drift information.

*/ inline DescribeStackResourceDriftsRequest& WithStackName(const char* value) { SetStackName(value); return *this;} /** *

The resource drift status values to use as filters for the resource drift * results returned.

  • DELETED: The resource differs * from its expected template configuration in that the resource has been * deleted.

  • MODIFIED: One or more resource * properties differ from their expected template values.

  • * IN_SYNC: The resource's actual configuration matches its expected * template configuration.

  • NOT_CHECKED: * CloudFormation doesn't currently return this value.

*/ inline const Aws::Vector& GetStackResourceDriftStatusFilters() const{ return m_stackResourceDriftStatusFilters; } /** *

The resource drift status values to use as filters for the resource drift * results returned.

  • DELETED: The resource differs * from its expected template configuration in that the resource has been * deleted.

  • MODIFIED: One or more resource * properties differ from their expected template values.

  • * IN_SYNC: The resource's actual configuration matches its expected * template configuration.

  • NOT_CHECKED: * CloudFormation doesn't currently return this value.

*/ inline bool StackResourceDriftStatusFiltersHasBeenSet() const { return m_stackResourceDriftStatusFiltersHasBeenSet; } /** *

The resource drift status values to use as filters for the resource drift * results returned.

  • DELETED: The resource differs * from its expected template configuration in that the resource has been * deleted.

  • MODIFIED: One or more resource * properties differ from their expected template values.

  • * IN_SYNC: The resource's actual configuration matches its expected * template configuration.

  • NOT_CHECKED: * CloudFormation doesn't currently return this value.

*/ inline void SetStackResourceDriftStatusFilters(const Aws::Vector& value) { m_stackResourceDriftStatusFiltersHasBeenSet = true; m_stackResourceDriftStatusFilters = value; } /** *

The resource drift status values to use as filters for the resource drift * results returned.

  • DELETED: The resource differs * from its expected template configuration in that the resource has been * deleted.

  • MODIFIED: One or more resource * properties differ from their expected template values.

  • * IN_SYNC: The resource's actual configuration matches its expected * template configuration.

  • NOT_CHECKED: * CloudFormation doesn't currently return this value.

*/ inline void SetStackResourceDriftStatusFilters(Aws::Vector&& value) { m_stackResourceDriftStatusFiltersHasBeenSet = true; m_stackResourceDriftStatusFilters = std::move(value); } /** *

The resource drift status values to use as filters for the resource drift * results returned.

  • DELETED: The resource differs * from its expected template configuration in that the resource has been * deleted.

  • MODIFIED: One or more resource * properties differ from their expected template values.

  • * IN_SYNC: The resource's actual configuration matches its expected * template configuration.

  • NOT_CHECKED: * CloudFormation doesn't currently return this value.

*/ inline DescribeStackResourceDriftsRequest& WithStackResourceDriftStatusFilters(const Aws::Vector& value) { SetStackResourceDriftStatusFilters(value); return *this;} /** *

The resource drift status values to use as filters for the resource drift * results returned.

  • DELETED: The resource differs * from its expected template configuration in that the resource has been * deleted.

  • MODIFIED: One or more resource * properties differ from their expected template values.

  • * IN_SYNC: The resource's actual configuration matches its expected * template configuration.

  • NOT_CHECKED: * CloudFormation doesn't currently return this value.

*/ inline DescribeStackResourceDriftsRequest& WithStackResourceDriftStatusFilters(Aws::Vector&& value) { SetStackResourceDriftStatusFilters(std::move(value)); return *this;} /** *

The resource drift status values to use as filters for the resource drift * results returned.

  • DELETED: The resource differs * from its expected template configuration in that the resource has been * deleted.

  • MODIFIED: One or more resource * properties differ from their expected template values.

  • * IN_SYNC: The resource's actual configuration matches its expected * template configuration.

  • NOT_CHECKED: * CloudFormation doesn't currently return this value.

*/ inline DescribeStackResourceDriftsRequest& AddStackResourceDriftStatusFilters(const StackResourceDriftStatus& value) { m_stackResourceDriftStatusFiltersHasBeenSet = true; m_stackResourceDriftStatusFilters.push_back(value); return *this; } /** *

The resource drift status values to use as filters for the resource drift * results returned.

  • DELETED: The resource differs * from its expected template configuration in that the resource has been * deleted.

  • MODIFIED: One or more resource * properties differ from their expected template values.

  • * IN_SYNC: The resource's actual configuration matches its expected * template configuration.

  • NOT_CHECKED: * CloudFormation doesn't currently return this value.

*/ inline DescribeStackResourceDriftsRequest& AddStackResourceDriftStatusFilters(StackResourceDriftStatus&& value) { m_stackResourceDriftStatusFiltersHasBeenSet = true; m_stackResourceDriftStatusFilters.push_back(std::move(value)); return *this; } /** *

A string that identifies the next page of stack resource drift results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A string that identifies the next page of stack resource drift results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

A string that identifies the next page of stack resource drift results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

A string that identifies the next page of stack resource drift results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

A string that identifies the next page of stack resource drift results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

A string that identifies the next page of stack resource drift results.

*/ inline DescribeStackResourceDriftsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A string that identifies the next page of stack resource drift results.

*/ inline DescribeStackResourceDriftsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A string that identifies the next page of stack resource drift results.

*/ inline DescribeStackResourceDriftsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of results to be returned with a single call. If the * number of available results exceeds this maximum, the response includes a * NextToken value that you can assign to the NextToken * request parameter to get the next set of results.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of results to be returned with a single call. If the * number of available results exceeds this maximum, the response includes a * NextToken value that you can assign to the NextToken * request parameter to get the next set of results.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of results to be returned with a single call. If the * number of available results exceeds this maximum, the response includes a * NextToken value that you can assign to the NextToken * request parameter to get the next set of results.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of results to be returned with a single call. If the * number of available results exceeds this maximum, the response includes a * NextToken value that you can assign to the NextToken * request parameter to get the next set of results.

*/ inline DescribeStackResourceDriftsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_stackName; bool m_stackNameHasBeenSet = false; Aws::Vector m_stackResourceDriftStatusFilters; bool m_stackResourceDriftStatusFiltersHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace CloudFormation } // namespace Aws