AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DescribeStackInstanceRequest.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/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CloudFormation {
16namespace Model {
17
21 public:
22 AWS_CLOUDFORMATION_API DescribeStackInstanceRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeStackInstance"; }
29
30 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
41 inline const Aws::String& GetStackSetName() const { return m_stackSetName; }
42 inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
43 template <typename StackSetNameT = Aws::String>
44 void SetStackSetName(StackSetNameT&& value) {
45 m_stackSetNameHasBeenSet = true;
46 m_stackSetName = std::forward<StackSetNameT>(value);
47 }
48 template <typename StackSetNameT = Aws::String>
50 SetStackSetName(std::forward<StackSetNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetStackInstanceAccount() const { return m_stackInstanceAccount; }
61 inline bool StackInstanceAccountHasBeenSet() const { return m_stackInstanceAccountHasBeenSet; }
62 template <typename StackInstanceAccountT = Aws::String>
63 void SetStackInstanceAccount(StackInstanceAccountT&& value) {
64 m_stackInstanceAccountHasBeenSet = true;
65 m_stackInstanceAccount = std::forward<StackInstanceAccountT>(value);
66 }
67 template <typename StackInstanceAccountT = Aws::String>
69 SetStackInstanceAccount(std::forward<StackInstanceAccountT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetStackInstanceRegion() const { return m_stackInstanceRegion; }
79 inline bool StackInstanceRegionHasBeenSet() const { return m_stackInstanceRegionHasBeenSet; }
80 template <typename StackInstanceRegionT = Aws::String>
81 void SetStackInstanceRegion(StackInstanceRegionT&& value) {
82 m_stackInstanceRegionHasBeenSet = true;
83 m_stackInstanceRegion = std::forward<StackInstanceRegionT>(value);
84 }
85 template <typename StackInstanceRegionT = Aws::String>
87 SetStackInstanceRegion(std::forward<StackInstanceRegionT>(value));
88 return *this;
89 }
91
93
107 inline CallAs GetCallAs() const { return m_callAs; }
108 inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; }
109 inline void SetCallAs(CallAs value) {
110 m_callAsHasBeenSet = true;
111 m_callAs = value;
112 }
114 SetCallAs(value);
115 return *this;
116 }
118 private:
119 Aws::String m_stackSetName;
120
121 Aws::String m_stackInstanceAccount;
122
123 Aws::String m_stackInstanceRegion;
124
125 CallAs m_callAs{CallAs::NOT_SET};
126 bool m_stackSetNameHasBeenSet = false;
127 bool m_stackInstanceAccountHasBeenSet = false;
128 bool m_stackInstanceRegionHasBeenSet = false;
129 bool m_callAsHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace CloudFormation
134} // namespace Aws
DescribeStackInstanceRequest & WithStackInstanceAccount(StackInstanceAccountT &&value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeStackInstanceRequest & WithStackSetName(StackSetNameT &&value)
AWS_CLOUDFORMATION_API DescribeStackInstanceRequest()=default
DescribeStackInstanceRequest & WithStackInstanceRegion(StackInstanceRegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String