AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
GetTemplateSummaryRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormationRequest.h>
8#include <aws/cloudformation/CloudFormation_EXPORTS.h>
9#include <aws/cloudformation/model/CallAs.h>
10#include <aws/cloudformation/model/TemplateSummaryConfig.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CloudFormation {
17namespace Model {
18
26 public:
27 AWS_CLOUDFORMATION_API GetTemplateSummaryRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetTemplateSummary"; }
34
35 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
39
40 public:
42
48 inline const Aws::String& GetTemplateBody() const { return m_templateBody; }
49 inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
50 template <typename TemplateBodyT = Aws::String>
51 void SetTemplateBody(TemplateBodyT&& value) {
52 m_templateBodyHasBeenSet = true;
53 m_templateBody = std::forward<TemplateBodyT>(value);
54 }
55 template <typename TemplateBodyT = Aws::String>
57 SetTemplateBody(std::forward<TemplateBodyT>(value));
58 return *this;
59 }
61
63
71 inline const Aws::String& GetTemplateURL() const { return m_templateURL; }
72 inline bool TemplateURLHasBeenSet() const { return m_templateURLHasBeenSet; }
73 template <typename TemplateURLT = Aws::String>
74 void SetTemplateURL(TemplateURLT&& value) {
75 m_templateURLHasBeenSet = true;
76 m_templateURL = std::forward<TemplateURLT>(value);
77 }
78 template <typename TemplateURLT = Aws::String>
80 SetTemplateURL(std::forward<TemplateURLT>(value));
81 return *this;
82 }
84
86
94 inline const Aws::String& GetStackName() const { return m_stackName; }
95 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
96 template <typename StackNameT = Aws::String>
97 void SetStackName(StackNameT&& value) {
98 m_stackNameHasBeenSet = true;
99 m_stackName = std::forward<StackNameT>(value);
100 }
101 template <typename StackNameT = Aws::String>
103 SetStackName(std::forward<StackNameT>(value));
104 return *this;
105 }
107
109
115 inline const Aws::String& GetStackSetName() const { return m_stackSetName; }
116 inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
117 template <typename StackSetNameT = Aws::String>
118 void SetStackSetName(StackSetNameT&& value) {
119 m_stackSetNameHasBeenSet = true;
120 m_stackSetName = std::forward<StackSetNameT>(value);
121 }
122 template <typename StackSetNameT = Aws::String>
124 SetStackSetName(std::forward<StackSetNameT>(value));
125 return *this;
126 }
128
130
144 inline CallAs GetCallAs() const { return m_callAs; }
145 inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; }
146 inline void SetCallAs(CallAs value) {
147 m_callAsHasBeenSet = true;
148 m_callAs = value;
149 }
151 SetCallAs(value);
152 return *this;
153 }
155
157
160 inline const TemplateSummaryConfig& GetTemplateSummaryConfig() const { return m_templateSummaryConfig; }
161 inline bool TemplateSummaryConfigHasBeenSet() const { return m_templateSummaryConfigHasBeenSet; }
162 template <typename TemplateSummaryConfigT = TemplateSummaryConfig>
163 void SetTemplateSummaryConfig(TemplateSummaryConfigT&& value) {
164 m_templateSummaryConfigHasBeenSet = true;
165 m_templateSummaryConfig = std::forward<TemplateSummaryConfigT>(value);
166 }
167 template <typename TemplateSummaryConfigT = TemplateSummaryConfig>
168 GetTemplateSummaryRequest& WithTemplateSummaryConfig(TemplateSummaryConfigT&& value) {
169 SetTemplateSummaryConfig(std::forward<TemplateSummaryConfigT>(value));
170 return *this;
171 }
173 private:
174 Aws::String m_templateBody;
175
176 Aws::String m_templateURL;
177
178 Aws::String m_stackName;
179
180 Aws::String m_stackSetName;
181
182 CallAs m_callAs{CallAs::NOT_SET};
183
184 TemplateSummaryConfig m_templateSummaryConfig;
185 bool m_templateBodyHasBeenSet = false;
186 bool m_templateURLHasBeenSet = false;
187 bool m_stackNameHasBeenSet = false;
188 bool m_stackSetNameHasBeenSet = false;
189 bool m_callAsHasBeenSet = false;
190 bool m_templateSummaryConfigHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace CloudFormation
195} // namespace Aws
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
GetTemplateSummaryRequest & WithTemplateSummaryConfig(TemplateSummaryConfigT &&value)
GetTemplateSummaryRequest & WithTemplateURL(TemplateURLT &&value)
AWS_CLOUDFORMATION_API GetTemplateSummaryRequest()=default
GetTemplateSummaryRequest & WithTemplateBody(TemplateBodyT &&value)
GetTemplateSummaryRequest & WithStackSetName(StackSetNameT &&value)
GetTemplateSummaryRequest & WithStackName(StackNameT &&value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String