AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeStackInstanceRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace CloudFormation
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeStackInstance"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
44  inline const Aws::String& GetStackSetName() const{ return m_stackSetName; }
45 
50  inline bool StackSetNameHasBeenSet() const { return m_stackSetNameHasBeenSet; }
51 
56  inline void SetStackSetName(const Aws::String& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = value; }
57 
62  inline void SetStackSetName(Aws::String&& value) { m_stackSetNameHasBeenSet = true; m_stackSetName = std::move(value); }
63 
68  inline void SetStackSetName(const char* value) { m_stackSetNameHasBeenSet = true; m_stackSetName.assign(value); }
69 
74  inline DescribeStackInstanceRequest& WithStackSetName(const Aws::String& value) { SetStackSetName(value); return *this;}
75 
80  inline DescribeStackInstanceRequest& WithStackSetName(Aws::String&& value) { SetStackSetName(std::move(value)); return *this;}
81 
86  inline DescribeStackInstanceRequest& WithStackSetName(const char* value) { SetStackSetName(value); return *this;}
87 
88 
93  inline const Aws::String& GetStackInstanceAccount() const{ return m_stackInstanceAccount; }
94 
99  inline bool StackInstanceAccountHasBeenSet() const { return m_stackInstanceAccountHasBeenSet; }
100 
105  inline void SetStackInstanceAccount(const Aws::String& value) { m_stackInstanceAccountHasBeenSet = true; m_stackInstanceAccount = value; }
106 
111  inline void SetStackInstanceAccount(Aws::String&& value) { m_stackInstanceAccountHasBeenSet = true; m_stackInstanceAccount = std::move(value); }
112 
117  inline void SetStackInstanceAccount(const char* value) { m_stackInstanceAccountHasBeenSet = true; m_stackInstanceAccount.assign(value); }
118 
123  inline DescribeStackInstanceRequest& WithStackInstanceAccount(const Aws::String& value) { SetStackInstanceAccount(value); return *this;}
124 
129  inline DescribeStackInstanceRequest& WithStackInstanceAccount(Aws::String&& value) { SetStackInstanceAccount(std::move(value)); return *this;}
130 
135  inline DescribeStackInstanceRequest& WithStackInstanceAccount(const char* value) { SetStackInstanceAccount(value); return *this;}
136 
137 
141  inline const Aws::String& GetStackInstanceRegion() const{ return m_stackInstanceRegion; }
142 
146  inline bool StackInstanceRegionHasBeenSet() const { return m_stackInstanceRegionHasBeenSet; }
147 
151  inline void SetStackInstanceRegion(const Aws::String& value) { m_stackInstanceRegionHasBeenSet = true; m_stackInstanceRegion = value; }
152 
156  inline void SetStackInstanceRegion(Aws::String&& value) { m_stackInstanceRegionHasBeenSet = true; m_stackInstanceRegion = std::move(value); }
157 
161  inline void SetStackInstanceRegion(const char* value) { m_stackInstanceRegionHasBeenSet = true; m_stackInstanceRegion.assign(value); }
162 
166  inline DescribeStackInstanceRequest& WithStackInstanceRegion(const Aws::String& value) { SetStackInstanceRegion(value); return *this;}
167 
171  inline DescribeStackInstanceRequest& WithStackInstanceRegion(Aws::String&& value) { SetStackInstanceRegion(std::move(value)); return *this;}
172 
176  inline DescribeStackInstanceRequest& WithStackInstanceRegion(const char* value) { SetStackInstanceRegion(value); return *this;}
177 
178 
193  inline const CallAs& GetCallAs() const{ return m_callAs; }
194 
209  inline bool CallAsHasBeenSet() const { return m_callAsHasBeenSet; }
210 
225  inline void SetCallAs(const CallAs& value) { m_callAsHasBeenSet = true; m_callAs = value; }
226 
241  inline void SetCallAs(CallAs&& value) { m_callAsHasBeenSet = true; m_callAs = std::move(value); }
242 
257  inline DescribeStackInstanceRequest& WithCallAs(const CallAs& value) { SetCallAs(value); return *this;}
258 
273  inline DescribeStackInstanceRequest& WithCallAs(CallAs&& value) { SetCallAs(std::move(value)); return *this;}
274 
275  private:
276 
277  Aws::String m_stackSetName;
278  bool m_stackSetNameHasBeenSet;
279 
280  Aws::String m_stackInstanceAccount;
281  bool m_stackInstanceAccountHasBeenSet;
282 
283  Aws::String m_stackInstanceRegion;
284  bool m_stackInstanceRegionHasBeenSet;
285 
286  CallAs m_callAs;
287  bool m_callAsHasBeenSet;
288  };
289 
290 } // namespace Model
291 } // namespace CloudFormation
292 } // namespace Aws
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SetCallAs
void SetCallAs(const CallAs &value)
Definition: DescribeStackInstanceRequest.h:225
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SetStackInstanceAccount
void SetStackInstanceAccount(const char *value)
Definition: DescribeStackInstanceRequest.h:117
Aws::CloudFormation::Model::DescribeStackInstanceRequest::GetStackInstanceRegion
const Aws::String & GetStackInstanceRegion() const
Definition: DescribeStackInstanceRequest.h:141
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SetStackInstanceAccount
void SetStackInstanceAccount(const Aws::String &value)
Definition: DescribeStackInstanceRequest.h:105
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFormation::Model::DescribeStackInstanceRequest
Definition: DescribeStackInstanceRequest.h:23
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SetStackInstanceRegion
void SetStackInstanceRegion(const char *value)
Definition: DescribeStackInstanceRequest.h:161
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SetStackSetName
void SetStackSetName(Aws::String &&value)
Definition: DescribeStackInstanceRequest.h:62
Aws::CloudFormation::Model::DescribeStackInstanceRequest::GetStackInstanceAccount
const Aws::String & GetStackInstanceAccount() const
Definition: DescribeStackInstanceRequest.h:93
CloudFormation_EXPORTS.h
Aws::CloudFormation::Model::DescribeStackInstanceRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::CloudFormation::Model::DescribeStackInstanceRequest::WithStackSetName
DescribeStackInstanceRequest & WithStackSetName(const Aws::String &value)
Definition: DescribeStackInstanceRequest.h:74
CloudFormationRequest.h
Aws::CloudFormation::Model::DescribeStackInstanceRequest::WithCallAs
DescribeStackInstanceRequest & WithCallAs(CallAs &&value)
Definition: DescribeStackInstanceRequest.h:273
Aws::CloudFormation::Model::CallAs
CallAs
Definition: CallAs.h:17
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SetStackInstanceAccount
void SetStackInstanceAccount(Aws::String &&value)
Definition: DescribeStackInstanceRequest.h:111
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SetStackInstanceRegion
void SetStackInstanceRegion(Aws::String &&value)
Definition: DescribeStackInstanceRequest.h:156
Aws::CloudFormation::Model::DescribeStackInstanceRequest::WithStackInstanceRegion
DescribeStackInstanceRequest & WithStackInstanceRegion(const Aws::String &value)
Definition: DescribeStackInstanceRequest.h:166
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SetStackSetName
void SetStackSetName(const Aws::String &value)
Definition: DescribeStackInstanceRequest.h:56
Aws::CloudFormation::CloudFormationRequest
Definition: CloudFormationRequest.h:17
Aws::CloudFormation::Model::DescribeStackInstanceRequest::WithStackInstanceAccount
DescribeStackInstanceRequest & WithStackInstanceAccount(const char *value)
Definition: DescribeStackInstanceRequest.h:135
Aws::CloudFormation::Model::DescribeStackInstanceRequest::WithStackInstanceRegion
DescribeStackInstanceRequest & WithStackInstanceRegion(const char *value)
Definition: DescribeStackInstanceRequest.h:176
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SetCallAs
void SetCallAs(CallAs &&value)
Definition: DescribeStackInstanceRequest.h:241
Aws::CloudFormation::Model::DescribeStackInstanceRequest::StackInstanceRegionHasBeenSet
bool StackInstanceRegionHasBeenSet() const
Definition: DescribeStackInstanceRequest.h:146
AWSString.h
Aws::CloudFormation::Model::DescribeStackInstanceRequest::GetCallAs
const CallAs & GetCallAs() const
Definition: DescribeStackInstanceRequest.h:193
Aws::CloudFormation::Model::DescribeStackInstanceRequest::WithStackInstanceAccount
DescribeStackInstanceRequest & WithStackInstanceAccount(Aws::String &&value)
Definition: DescribeStackInstanceRequest.h:129
Aws::CloudFormation::Model::DescribeStackInstanceRequest::WithCallAs
DescribeStackInstanceRequest & WithCallAs(const CallAs &value)
Definition: DescribeStackInstanceRequest.h:257
Aws::CloudFormation::Model::DescribeStackInstanceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeStackInstanceRequest.h:31
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_CLOUDFORMATION_API
#define AWS_CLOUDFORMATION_API
Definition: CloudFormation_EXPORTS.h:28
CallAs.h
Aws::CloudFormation::Model::DescribeStackInstanceRequest::WithStackInstanceRegion
DescribeStackInstanceRequest & WithStackInstanceRegion(Aws::String &&value)
Definition: DescribeStackInstanceRequest.h:171
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFormation::Model::DescribeStackInstanceRequest::WithStackInstanceAccount
DescribeStackInstanceRequest & WithStackInstanceAccount(const Aws::String &value)
Definition: DescribeStackInstanceRequest.h:123
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFormation::Model::DescribeStackInstanceRequest::CallAsHasBeenSet
bool CallAsHasBeenSet() const
Definition: DescribeStackInstanceRequest.h:209
Aws::CloudFormation::Model::DescribeStackInstanceRequest::WithStackSetName
DescribeStackInstanceRequest & WithStackSetName(const char *value)
Definition: DescribeStackInstanceRequest.h:86
Aws::CloudFormation::Model::DescribeStackInstanceRequest::StackSetNameHasBeenSet
bool StackSetNameHasBeenSet() const
Definition: DescribeStackInstanceRequest.h:50
Aws::CloudFormation::Model::DescribeStackInstanceRequest::StackInstanceAccountHasBeenSet
bool StackInstanceAccountHasBeenSet() const
Definition: DescribeStackInstanceRequest.h:99
Aws::CloudFormation::Model::DescribeStackInstanceRequest::GetStackSetName
const Aws::String & GetStackSetName() const
Definition: DescribeStackInstanceRequest.h:44
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SetStackInstanceRegion
void SetStackInstanceRegion(const Aws::String &value)
Definition: DescribeStackInstanceRequest.h:151
Aws::CloudFormation::Model::DescribeStackInstanceRequest::SetStackSetName
void SetStackSetName(const char *value)
Definition: DescribeStackInstanceRequest.h:68
Aws::CloudFormation::Model::DescribeStackInstanceRequest::DescribeStackInstanceRequest
DescribeStackInstanceRequest()
Aws::CloudFormation::Model::DescribeStackInstanceRequest::WithStackSetName
DescribeStackInstanceRequest & WithStackSetName(Aws::String &&value)
Definition: DescribeStackInstanceRequest.h:80