AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeStackResourceDriftsResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudformation/model/ResponseMetadata.h>
11#include <aws/cloudformation/model/StackResourceDrift.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace CloudFormation
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CLOUDFORMATION_API DescribeStackResourceDriftsResult();
36
37
39
51 inline const Aws::Vector<StackResourceDrift>& GetStackResourceDrifts() const{ return m_stackResourceDrifts; }
52 inline void SetStackResourceDrifts(const Aws::Vector<StackResourceDrift>& value) { m_stackResourceDrifts = value; }
53 inline void SetStackResourceDrifts(Aws::Vector<StackResourceDrift>&& value) { m_stackResourceDrifts = std::move(value); }
56 inline DescribeStackResourceDriftsResult& AddStackResourceDrifts(const StackResourceDrift& value) { m_stackResourceDrifts.push_back(value); return *this; }
57 inline DescribeStackResourceDriftsResult& AddStackResourceDrifts(StackResourceDrift&& value) { m_stackResourceDrifts.push_back(std::move(value)); return *this; }
59
61
68 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
69 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
70 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
71 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
72 inline DescribeStackResourceDriftsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
73 inline DescribeStackResourceDriftsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
74 inline DescribeStackResourceDriftsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
76
78
79 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
80 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
81 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
85 private:
86
87 Aws::Vector<StackResourceDrift> m_stackResourceDrifts;
88
89 Aws::String m_nextToken;
90
91 ResponseMetadata m_responseMetadata;
92 };
93
94} // namespace Model
95} // namespace CloudFormation
96} // namespace Aws
void SetStackResourceDrifts(const Aws::Vector< StackResourceDrift > &value)
DescribeStackResourceDriftsResult & WithNextToken(const Aws::String &value)
DescribeStackResourceDriftsResult & WithStackResourceDrifts(Aws::Vector< StackResourceDrift > &&value)
DescribeStackResourceDriftsResult & WithNextToken(Aws::String &&value)
AWS_CLOUDFORMATION_API DescribeStackResourceDriftsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeStackResourceDriftsResult & WithStackResourceDrifts(const Aws::Vector< StackResourceDrift > &value)
const Aws::Vector< StackResourceDrift > & GetStackResourceDrifts() const
DescribeStackResourceDriftsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeStackResourceDriftsResult & WithNextToken(const char *value)
DescribeStackResourceDriftsResult & AddStackResourceDrifts(StackResourceDrift &&value)
AWS_CLOUDFORMATION_API DescribeStackResourceDriftsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeStackResourceDriftsResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeStackResourceDriftsResult & AddStackResourceDrifts(const StackResourceDrift &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument