AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeChangeSetHooksResult.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudformation/model/ChangeSetHooksStatus.h>
11#include <aws/cloudformation/model/ResponseMetadata.h>
12#include <aws/cloudformation/model/ChangeSetHook.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Xml
23{
24 class XmlDocument;
25} // namespace Xml
26} // namespace Utils
27namespace CloudFormation
28{
29namespace Model
30{
32 {
33 public:
34 AWS_CLOUDFORMATION_API DescribeChangeSetHooksResult();
37
38
40
43 inline const Aws::String& GetChangeSetId() const{ return m_changeSetId; }
44 inline void SetChangeSetId(const Aws::String& value) { m_changeSetId = value; }
45 inline void SetChangeSetId(Aws::String&& value) { m_changeSetId = std::move(value); }
46 inline void SetChangeSetId(const char* value) { m_changeSetId.assign(value); }
47 inline DescribeChangeSetHooksResult& WithChangeSetId(const Aws::String& value) { SetChangeSetId(value); return *this;}
48 inline DescribeChangeSetHooksResult& WithChangeSetId(Aws::String&& value) { SetChangeSetId(std::move(value)); return *this;}
49 inline DescribeChangeSetHooksResult& WithChangeSetId(const char* value) { SetChangeSetId(value); return *this;}
51
53
56 inline const Aws::String& GetChangeSetName() const{ return m_changeSetName; }
57 inline void SetChangeSetName(const Aws::String& value) { m_changeSetName = value; }
58 inline void SetChangeSetName(Aws::String&& value) { m_changeSetName = std::move(value); }
59 inline void SetChangeSetName(const char* value) { m_changeSetName.assign(value); }
60 inline DescribeChangeSetHooksResult& WithChangeSetName(const Aws::String& value) { SetChangeSetName(value); return *this;}
61 inline DescribeChangeSetHooksResult& WithChangeSetName(Aws::String&& value) { SetChangeSetName(std::move(value)); return *this;}
62 inline DescribeChangeSetHooksResult& WithChangeSetName(const char* value) { SetChangeSetName(value); return *this;}
64
66
69 inline const Aws::Vector<ChangeSetHook>& GetHooks() const{ return m_hooks; }
70 inline void SetHooks(const Aws::Vector<ChangeSetHook>& value) { m_hooks = value; }
71 inline void SetHooks(Aws::Vector<ChangeSetHook>&& value) { m_hooks = std::move(value); }
72 inline DescribeChangeSetHooksResult& WithHooks(const Aws::Vector<ChangeSetHook>& value) { SetHooks(value); return *this;}
73 inline DescribeChangeSetHooksResult& WithHooks(Aws::Vector<ChangeSetHook>&& value) { SetHooks(std::move(value)); return *this;}
74 inline DescribeChangeSetHooksResult& AddHooks(const ChangeSetHook& value) { m_hooks.push_back(value); return *this; }
75 inline DescribeChangeSetHooksResult& AddHooks(ChangeSetHook&& value) { m_hooks.push_back(std::move(value)); return *this; }
77
79
82 inline const ChangeSetHooksStatus& GetStatus() const{ return m_status; }
83 inline void SetStatus(const ChangeSetHooksStatus& value) { m_status = value; }
84 inline void SetStatus(ChangeSetHooksStatus&& value) { m_status = std::move(value); }
85 inline DescribeChangeSetHooksResult& WithStatus(const ChangeSetHooksStatus& value) { SetStatus(value); return *this;}
86 inline DescribeChangeSetHooksResult& WithStatus(ChangeSetHooksStatus&& value) { SetStatus(std::move(value)); return *this;}
88
90
93 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
94 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
95 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
96 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
97 inline DescribeChangeSetHooksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
98 inline DescribeChangeSetHooksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
99 inline DescribeChangeSetHooksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
101
103
106 inline const Aws::String& GetStackId() const{ return m_stackId; }
107 inline void SetStackId(const Aws::String& value) { m_stackId = value; }
108 inline void SetStackId(Aws::String&& value) { m_stackId = std::move(value); }
109 inline void SetStackId(const char* value) { m_stackId.assign(value); }
110 inline DescribeChangeSetHooksResult& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
111 inline DescribeChangeSetHooksResult& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
112 inline DescribeChangeSetHooksResult& WithStackId(const char* value) { SetStackId(value); return *this;}
114
116
119 inline const Aws::String& GetStackName() const{ return m_stackName; }
120 inline void SetStackName(const Aws::String& value) { m_stackName = value; }
121 inline void SetStackName(Aws::String&& value) { m_stackName = std::move(value); }
122 inline void SetStackName(const char* value) { m_stackName.assign(value); }
123 inline DescribeChangeSetHooksResult& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
124 inline DescribeChangeSetHooksResult& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
125 inline DescribeChangeSetHooksResult& WithStackName(const char* value) { SetStackName(value); return *this;}
127
129
130 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
131 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
132 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
136 private:
137
138 Aws::String m_changeSetId;
139
140 Aws::String m_changeSetName;
141
143
144 ChangeSetHooksStatus m_status;
145
146 Aws::String m_nextToken;
147
148 Aws::String m_stackId;
149
150 Aws::String m_stackName;
151
152 ResponseMetadata m_responseMetadata;
153 };
154
155} // namespace Model
156} // namespace CloudFormation
157} // namespace Aws
DescribeChangeSetHooksResult & WithStackId(Aws::String &&value)
DescribeChangeSetHooksResult & WithStackName(Aws::String &&value)
DescribeChangeSetHooksResult & WithChangeSetId(const char *value)
DescribeChangeSetHooksResult & AddHooks(ChangeSetHook &&value)
DescribeChangeSetHooksResult & WithNextToken(Aws::String &&value)
void SetHooks(const Aws::Vector< ChangeSetHook > &value)
AWS_CLOUDFORMATION_API DescribeChangeSetHooksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeChangeSetHooksResult & WithChangeSetName(const char *value)
DescribeChangeSetHooksResult & WithStatus(ChangeSetHooksStatus &&value)
DescribeChangeSetHooksResult & AddHooks(const ChangeSetHook &value)
DescribeChangeSetHooksResult & WithNextToken(const char *value)
DescribeChangeSetHooksResult & WithChangeSetId(Aws::String &&value)
DescribeChangeSetHooksResult & WithHooks(const Aws::Vector< ChangeSetHook > &value)
DescribeChangeSetHooksResult & WithChangeSetName(Aws::String &&value)
DescribeChangeSetHooksResult & WithHooks(Aws::Vector< ChangeSetHook > &&value)
DescribeChangeSetHooksResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeChangeSetHooksResult & WithStatus(const ChangeSetHooksStatus &value)
DescribeChangeSetHooksResult & WithChangeSetName(const Aws::String &value)
DescribeChangeSetHooksResult & WithChangeSetId(const Aws::String &value)
DescribeChangeSetHooksResult & WithStackName(const Aws::String &value)
DescribeChangeSetHooksResult & WithStackId(const Aws::String &value)
DescribeChangeSetHooksResult & WithStackName(const char *value)
AWS_CLOUDFORMATION_API DescribeChangeSetHooksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeChangeSetHooksResult & WithStackId(const char *value)
DescribeChangeSetHooksResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeChangeSetHooksResult & WithNextToken(const Aws::String &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