AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTemplateSummaryRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/CloudFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudformation/model/CallAs.h>
11#include <aws/cloudformation/model/TemplateSummaryConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CloudFormation
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_CLOUDFORMATION_API GetTemplateSummaryRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "GetTemplateSummary"; }
37
38 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
52 inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
53 inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
54 inline void SetTemplateBody(const Aws::String& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
55 inline void SetTemplateBody(Aws::String&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::move(value); }
56 inline void SetTemplateBody(const char* value) { m_templateBodyHasBeenSet = true; m_templateBody.assign(value); }
57 inline GetTemplateSummaryRequest& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
58 inline GetTemplateSummaryRequest& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
59 inline GetTemplateSummaryRequest& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
61
63
71 inline const Aws::String& GetTemplateURL() const{ return m_templateURL; }
72 inline bool TemplateURLHasBeenSet() const { return m_templateURLHasBeenSet; }
73 inline void SetTemplateURL(const Aws::String& value) { m_templateURLHasBeenSet = true; m_templateURL = value; }
74 inline void SetTemplateURL(Aws::String&& value) { m_templateURLHasBeenSet = true; m_templateURL = std::move(value); }
75 inline void SetTemplateURL(const char* value) { m_templateURLHasBeenSet = true; m_templateURL.assign(value); }
76 inline GetTemplateSummaryRequest& WithTemplateURL(const Aws::String& value) { SetTemplateURL(value); return *this;}
77 inline GetTemplateSummaryRequest& WithTemplateURL(Aws::String&& value) { SetTemplateURL(std::move(value)); return *this;}
78 inline GetTemplateSummaryRequest& WithTemplateURL(const char* value) { SetTemplateURL(value); return *this;}
80
82
90 inline const Aws::String& GetStackName() const{ return m_stackName; }
91 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
92 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
93 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
94 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
95 inline GetTemplateSummaryRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
96 inline GetTemplateSummaryRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
97 inline GetTemplateSummaryRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
99
101
107 inline const Aws::String& GetStackSetName() const{ return m_stackSetName; }
108 inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
109 inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; }
110 inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); }
111 inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); }
112 inline GetTemplateSummaryRequest& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;}
113 inline GetTemplateSummaryRequest& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;}
114 inline GetTemplateSummaryRequest& WithStackSetName(const char* value) { SetStackSetName(value); return *this;}
116
118
132 inline const CallAs& GetCallAs() const{ return m_callAs; }
133 inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; }
134 inline void SetCallAs(const CallAs& value) { m_callAsHasBeenSet = true; m_callAs = value; }
135 inline void SetCallAs(CallAs&& value) { m_callAsHasBeenSet = true; m_callAs = std::move(value); }
136 inline GetTemplateSummaryRequest& WithCallAs(const CallAs& value) { SetCallAs(value); return *this;}
137 inline GetTemplateSummaryRequest& WithCallAs(CallAs&& value) { SetCallAs(std::move(value)); return *this;}
139
141
144 inline const TemplateSummaryConfig& GetTemplateSummaryConfig() const{ return m_templateSummaryConfig; }
145 inline bool TemplateSummaryConfigHasBeenSet() const { return m_templateSummaryConfigHasBeenSet; }
146 inline void SetTemplateSummaryConfig(const TemplateSummaryConfig& value) { m_templateSummaryConfigHasBeenSet = true; m_templateSummaryConfig = value; }
147 inline void SetTemplateSummaryConfig(TemplateSummaryConfig&& value) { m_templateSummaryConfigHasBeenSet = true; m_templateSummaryConfig = std::move(value); }
151 private:
152
153 Aws::String m_templateBody;
154 bool m_templateBodyHasBeenSet = false;
155
156 Aws::String m_templateURL;
157 bool m_templateURLHasBeenSet = false;
158
159 Aws::String m_stackName;
160 bool m_stackNameHasBeenSet = false;
161
162 Aws::String m_stackSetName;
163 bool m_stackSetNameHasBeenSet = false;
164
165 CallAs m_callAs;
166 bool m_callAsHasBeenSet = false;
167
168 TemplateSummaryConfig m_templateSummaryConfig;
169 bool m_templateSummaryConfigHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace CloudFormation
174} // namespace Aws
GetTemplateSummaryRequest & WithStackSetName(const char *value)
GetTemplateSummaryRequest & WithTemplateURL(Aws::String &&value)
GetTemplateSummaryRequest & WithTemplateBody(const Aws::String &value)
GetTemplateSummaryRequest & WithStackName(const Aws::String &value)
GetTemplateSummaryRequest & WithStackSetName(const Aws::String &value)
GetTemplateSummaryRequest & WithTemplateSummaryConfig(TemplateSummaryConfig &&value)
void SetTemplateSummaryConfig(const TemplateSummaryConfig &value)
GetTemplateSummaryRequest & WithTemplateBody(Aws::String &&value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
GetTemplateSummaryRequest & WithTemplateURL(const Aws::String &value)
GetTemplateSummaryRequest & WithTemplateBody(const char *value)
GetTemplateSummaryRequest & WithTemplateSummaryConfig(const TemplateSummaryConfig &value)
GetTemplateSummaryRequest & WithStackName(Aws::String &&value)
GetTemplateSummaryRequest & WithStackSetName(Aws::String &&value)
GetTemplateSummaryRequest & WithCallAs(CallAs &&value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetTemplateSummaryRequest & WithTemplateURL(const char *value)
GetTemplateSummaryRequest & WithCallAs(const CallAs &value)
GetTemplateSummaryRequest & WithStackName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String