AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTemplateRequest.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/TemplateStage.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudFormation
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_CLOUDFORMATION_API GetTemplateRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetTemplate"; }
35
36 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
51 inline const Aws::String& GetStackName() const{ return m_stackName; }
52 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
53 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
54 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
55 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
56 inline GetTemplateRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
57 inline GetTemplateRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
58 inline GetTemplateRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
60
62
67 inline const Aws::String& GetChangeSetName() const{ return m_changeSetName; }
68 inline bool ChangeSetNameHasBeenSet() const { return m_changeSetNameHasBeenSet; }
69 inline void SetChangeSetName(const Aws::String& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = value; }
70 inline void SetChangeSetName(Aws::String&& value) { m_changeSetNameHasBeenSet = true; m_changeSetName = std::move(value); }
71 inline void SetChangeSetName(const char* value) { m_changeSetNameHasBeenSet = true; m_changeSetName.assign(value); }
72 inline GetTemplateRequest& WithChangeSetName(const Aws::String& value) { SetChangeSetName(value); return *this;}
73 inline GetTemplateRequest& WithChangeSetName(Aws::String&& value) { SetChangeSetName(std::move(value)); return *this;}
74 inline GetTemplateRequest& WithChangeSetName(const char* value) { SetChangeSetName(value); return *this;}
76
78
86 inline const TemplateStage& GetTemplateStage() const{ return m_templateStage; }
87 inline bool TemplateStageHasBeenSet() const { return m_templateStageHasBeenSet; }
88 inline void SetTemplateStage(const TemplateStage& value) { m_templateStageHasBeenSet = true; m_templateStage = value; }
89 inline void SetTemplateStage(TemplateStage&& value) { m_templateStageHasBeenSet = true; m_templateStage = std::move(value); }
90 inline GetTemplateRequest& WithTemplateStage(const TemplateStage& value) { SetTemplateStage(value); return *this;}
91 inline GetTemplateRequest& WithTemplateStage(TemplateStage&& value) { SetTemplateStage(std::move(value)); return *this;}
93 private:
94
95 Aws::String m_stackName;
96 bool m_stackNameHasBeenSet = false;
97
98 Aws::String m_changeSetName;
99 bool m_changeSetNameHasBeenSet = false;
100
101 TemplateStage m_templateStage;
102 bool m_templateStageHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace CloudFormation
107} // namespace Aws
GetTemplateRequest & WithTemplateStage(TemplateStage &&value)
GetTemplateRequest & WithTemplateStage(const TemplateStage &value)
GetTemplateRequest & WithChangeSetName(Aws::String &&value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTemplateStage(const TemplateStage &value)
void SetChangeSetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetTemplateRequest & WithStackName(const char *value)
GetTemplateRequest & WithChangeSetName(const Aws::String &value)
GetTemplateRequest & WithChangeSetName(const char *value)
GetTemplateRequest & WithStackName(const Aws::String &value)
GetTemplateRequest & WithStackName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String