AWS SDK for C++  0.14.3
AWS SDK for C++
GetTemplateSummaryRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace CloudFormation
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
44  inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
45 
54  inline void SetTemplateBody(const Aws::String& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
55 
64  inline void SetTemplateBody(Aws::String&& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
65 
74  inline void SetTemplateBody(const char* value) { m_templateBodyHasBeenSet = true; m_templateBody.assign(value); }
75 
84  inline GetTemplateSummaryRequest& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
85 
94  inline GetTemplateSummaryRequest& WithTemplateBody(Aws::String&& value) { SetTemplateBody(value); return *this;}
95 
104  inline GetTemplateSummaryRequest& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
105 
115  inline const Aws::String& GetTemplateURL() const{ return m_templateURL; }
116 
126  inline void SetTemplateURL(const Aws::String& value) { m_templateURLHasBeenSet = true; m_templateURL = value; }
127 
137  inline void SetTemplateURL(Aws::String&& value) { m_templateURLHasBeenSet = true; m_templateURL = value; }
138 
148  inline void SetTemplateURL(const char* value) { m_templateURLHasBeenSet = true; m_templateURL.assign(value); }
149 
159  inline GetTemplateSummaryRequest& WithTemplateURL(const Aws::String& value) { SetTemplateURL(value); return *this;}
160 
170  inline GetTemplateSummaryRequest& WithTemplateURL(Aws::String&& value) { SetTemplateURL(value); return *this;}
171 
181  inline GetTemplateSummaryRequest& WithTemplateURL(const char* value) { SetTemplateURL(value); return *this;}
182 
191  inline const Aws::String& GetStackName() const{ return m_stackName; }
192 
201  inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
202 
211  inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
212 
221  inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
222 
231  inline GetTemplateSummaryRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
232 
241  inline GetTemplateSummaryRequest& WithStackName(Aws::String&& value) { SetStackName(value); return *this;}
242 
251  inline GetTemplateSummaryRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
252 
253  private:
254  Aws::String m_templateBody;
255  bool m_templateBodyHasBeenSet;
256  Aws::String m_templateURL;
257  bool m_templateURLHasBeenSet;
258  Aws::String m_stackName;
259  bool m_stackNameHasBeenSet;
260  };
261 
262 } // namespace Model
263 } // namespace CloudFormation
264 } // namespace Aws
GetTemplateSummaryRequest & WithStackName(const char *value)
GetTemplateSummaryRequest & WithTemplateBody(const Aws::String &value)
GetTemplateSummaryRequest & WithTemplateURL(const Aws::String &value)
GetTemplateSummaryRequest & WithTemplateURL(Aws::String &&value)
GetTemplateSummaryRequest & WithTemplateBody(Aws::String &&value)
GetTemplateSummaryRequest & WithTemplateURL(const char *value)
GetTemplateSummaryRequest & WithTemplateBody(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CLOUDFORMATION_API
GetTemplateSummaryRequest & WithStackName(const Aws::String &value)
GetTemplateSummaryRequest & WithStackName(Aws::String &&value)
JSON (JavaScript Object Notation).