AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename TemplateBodyT = Aws::String>
55 void SetTemplateBody(TemplateBodyT&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::forward<TemplateBodyT>(value); }
56 template<typename TemplateBodyT = Aws::String>
57 GetTemplateSummaryRequest& WithTemplateBody(TemplateBodyT&& value) { SetTemplateBody(std::forward<TemplateBodyT>(value)); return *this;}
59
61
69 inline const Aws::String& GetTemplateURL() const { return m_templateURL; }
70 inline bool TemplateURLHasBeenSet() const { return m_templateURLHasBeenSet; }
71 template<typename TemplateURLT = Aws::String>
72 void SetTemplateURL(TemplateURLT&& value) { m_templateURLHasBeenSet = true; m_templateURL = std::forward<TemplateURLT>(value); }
73 template<typename TemplateURLT = Aws::String>
74 GetTemplateSummaryRequest& WithTemplateURL(TemplateURLT&& value) { SetTemplateURL(std::forward<TemplateURLT>(value)); return *this;}
76
78
86 inline const Aws::String& GetStackName() const { return m_stackName; }
87 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
88 template<typename StackNameT = Aws::String>
89 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
90 template<typename StackNameT = Aws::String>
91 GetTemplateSummaryRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
93
95
101 inline const Aws::String& GetStackSetName() const { return m_stackSetName; }
102 inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
103 template<typename StackSetNameT = Aws::String>
104 void SetStackSetName(StackSetNameT&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::forward<StackSetNameT>(value); }
105 template<typename StackSetNameT = Aws::String>
106 GetTemplateSummaryRequest& WithStackSetName(StackSetNameT&& value) { SetStackSetName(std::forward<StackSetNameT>(value)); return *this;}
108
110
124 inline CallAs GetCallAs() const { return m_callAs; }
125 inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; }
126 inline void SetCallAs(CallAs value) { m_callAsHasBeenSet = true; m_callAs = value; }
127 inline GetTemplateSummaryRequest& WithCallAs(CallAs value) { SetCallAs(value); return *this;}
129
131
134 inline const TemplateSummaryConfig& GetTemplateSummaryConfig() const { return m_templateSummaryConfig; }
135 inline bool TemplateSummaryConfigHasBeenSet() const { return m_templateSummaryConfigHasBeenSet; }
136 template<typename TemplateSummaryConfigT = TemplateSummaryConfig>
137 void SetTemplateSummaryConfig(TemplateSummaryConfigT&& value) { m_templateSummaryConfigHasBeenSet = true; m_templateSummaryConfig = std::forward<TemplateSummaryConfigT>(value); }
138 template<typename TemplateSummaryConfigT = TemplateSummaryConfig>
139 GetTemplateSummaryRequest& WithTemplateSummaryConfig(TemplateSummaryConfigT&& value) { SetTemplateSummaryConfig(std::forward<TemplateSummaryConfigT>(value)); return *this;}
141 private:
142
143 Aws::String m_templateBody;
144 bool m_templateBodyHasBeenSet = false;
145
146 Aws::String m_templateURL;
147 bool m_templateURLHasBeenSet = false;
148
149 Aws::String m_stackName;
150 bool m_stackNameHasBeenSet = false;
151
152 Aws::String m_stackSetName;
153 bool m_stackSetNameHasBeenSet = false;
154
155 CallAs m_callAs{CallAs::NOT_SET};
156 bool m_callAsHasBeenSet = false;
157
158 TemplateSummaryConfig m_templateSummaryConfig;
159 bool m_templateSummaryConfigHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace CloudFormation
164} // 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