/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace CloudFormation { namespace Model { class DescribeStackResourceDriftsResult { public: AWS_CLOUDFORMATION_API DescribeStackResourceDriftsResult(); AWS_CLOUDFORMATION_API DescribeStackResourceDriftsResult(const Aws::AmazonWebServiceResult& result); AWS_CLOUDFORMATION_API DescribeStackResourceDriftsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Drift information for the resources that have been checked for drift in the * specified stack. This includes actual and expected configuration values for * resources where CloudFormation detects drift.

For a given stack, there * will be one StackResourceDrift for each stack resource that has * been checked for drift. Resources that haven't yet been checked for drift aren't * included. Resources that do not currently support drift detection aren't * checked, and so not included. For a list of resources that support drift * detection, see Resources * that Support Drift Detection.

*/ inline const Aws::Vector& GetStackResourceDrifts() const{ return m_stackResourceDrifts; } /** *

Drift information for the resources that have been checked for drift in the * specified stack. This includes actual and expected configuration values for * resources where CloudFormation detects drift.

For a given stack, there * will be one StackResourceDrift for each stack resource that has * been checked for drift. Resources that haven't yet been checked for drift aren't * included. Resources that do not currently support drift detection aren't * checked, and so not included. For a list of resources that support drift * detection, see Resources * that Support Drift Detection.

*/ inline void SetStackResourceDrifts(const Aws::Vector& value) { m_stackResourceDrifts = value; } /** *

Drift information for the resources that have been checked for drift in the * specified stack. This includes actual and expected configuration values for * resources where CloudFormation detects drift.

For a given stack, there * will be one StackResourceDrift for each stack resource that has * been checked for drift. Resources that haven't yet been checked for drift aren't * included. Resources that do not currently support drift detection aren't * checked, and so not included. For a list of resources that support drift * detection, see Resources * that Support Drift Detection.

*/ inline void SetStackResourceDrifts(Aws::Vector&& value) { m_stackResourceDrifts = std::move(value); } /** *

Drift information for the resources that have been checked for drift in the * specified stack. This includes actual and expected configuration values for * resources where CloudFormation detects drift.

For a given stack, there * will be one StackResourceDrift for each stack resource that has * been checked for drift. Resources that haven't yet been checked for drift aren't * included. Resources that do not currently support drift detection aren't * checked, and so not included. For a list of resources that support drift * detection, see Resources * that Support Drift Detection.

*/ inline DescribeStackResourceDriftsResult& WithStackResourceDrifts(const Aws::Vector& value) { SetStackResourceDrifts(value); return *this;} /** *

Drift information for the resources that have been checked for drift in the * specified stack. This includes actual and expected configuration values for * resources where CloudFormation detects drift.

For a given stack, there * will be one StackResourceDrift for each stack resource that has * been checked for drift. Resources that haven't yet been checked for drift aren't * included. Resources that do not currently support drift detection aren't * checked, and so not included. For a list of resources that support drift * detection, see Resources * that Support Drift Detection.

*/ inline DescribeStackResourceDriftsResult& WithStackResourceDrifts(Aws::Vector&& value) { SetStackResourceDrifts(std::move(value)); return *this;} /** *

Drift information for the resources that have been checked for drift in the * specified stack. This includes actual and expected configuration values for * resources where CloudFormation detects drift.

For a given stack, there * will be one StackResourceDrift for each stack resource that has * been checked for drift. Resources that haven't yet been checked for drift aren't * included. Resources that do not currently support drift detection aren't * checked, and so not included. For a list of resources that support drift * detection, see Resources * that Support Drift Detection.

*/ inline DescribeStackResourceDriftsResult& AddStackResourceDrifts(const StackResourceDrift& value) { m_stackResourceDrifts.push_back(value); return *this; } /** *

Drift information for the resources that have been checked for drift in the * specified stack. This includes actual and expected configuration values for * resources where CloudFormation detects drift.

For a given stack, there * will be one StackResourceDrift for each stack resource that has * been checked for drift. Resources that haven't yet been checked for drift aren't * included. Resources that do not currently support drift detection aren't * checked, and so not included. For a list of resources that support drift * detection, see Resources * that Support Drift Detection.

*/ inline DescribeStackResourceDriftsResult& AddStackResourceDrifts(StackResourceDrift&& value) { m_stackResourceDrifts.push_back(std::move(value)); return *this; } /** *

If the request doesn't return all the remaining results, * NextToken is set to a token. To retrieve the next set of results, * call DescribeStackResourceDrifts again and assign that token to the * request object's NextToken parameter. If the request returns all * results, NextToken is set to null.

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

If the request doesn't return all the remaining results, * NextToken is set to a token. To retrieve the next set of results, * call DescribeStackResourceDrifts again and assign that token to the * request object's NextToken parameter. If the request returns all * results, NextToken is set to null.

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

If the request doesn't return all the remaining results, * NextToken is set to a token. To retrieve the next set of results, * call DescribeStackResourceDrifts again and assign that token to the * request object's NextToken parameter. If the request returns all * results, NextToken is set to null.

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

If the request doesn't return all the remaining results, * NextToken is set to a token. To retrieve the next set of results, * call DescribeStackResourceDrifts again and assign that token to the * request object's NextToken parameter. If the request returns all * results, NextToken is set to null.

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

If the request doesn't return all the remaining results, * NextToken is set to a token. To retrieve the next set of results, * call DescribeStackResourceDrifts again and assign that token to the * request object's NextToken parameter. If the request returns all * results, NextToken is set to null.

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

If the request doesn't return all the remaining results, * NextToken is set to a token. To retrieve the next set of results, * call DescribeStackResourceDrifts again and assign that token to the * request object's NextToken parameter. If the request returns all * results, NextToken is set to null.

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

If the request doesn't return all the remaining results, * NextToken is set to a token. To retrieve the next set of results, * call DescribeStackResourceDrifts again and assign that token to the * request object's NextToken parameter. If the request returns all * results, NextToken is set to null.

*/ inline DescribeStackResourceDriftsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeStackResourceDriftsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeStackResourceDriftsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_stackResourceDrifts; Aws::String m_nextToken; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudFormation } // namespace Aws