AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeStackResourcesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudFormation
15 {
16 namespace Model
17 {
18 
26  {
27  public:
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 "DescribeStackResources"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
51  inline const Aws::String& GetStackName() const{ return m_stackName; }
52 
61  inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
62 
71  inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
72 
81  inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
82 
91  inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
92 
101  inline DescribeStackResourcesRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
102 
111  inline DescribeStackResourcesRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
112 
121  inline DescribeStackResourcesRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
122 
123 
128  inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; }
129 
134  inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
135 
140  inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
141 
146  inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
147 
152  inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); }
153 
158  inline DescribeStackResourcesRequest& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;}
159 
164  inline DescribeStackResourcesRequest& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;}
165 
170  inline DescribeStackResourcesRequest& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;}
171 
172 
184  inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; }
185 
197  inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
198 
210  inline void SetPhysicalResourceId(const Aws::String& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
211 
223  inline void SetPhysicalResourceId(Aws::String&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); }
224 
236  inline void SetPhysicalResourceId(const char* value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId.assign(value); }
237 
249  inline DescribeStackResourcesRequest& WithPhysicalResourceId(const Aws::String& value) { SetPhysicalResourceId(value); return *this;}
250 
262  inline DescribeStackResourcesRequest& WithPhysicalResourceId(Aws::String&& value) { SetPhysicalResourceId(std::move(value)); return *this;}
263 
275  inline DescribeStackResourcesRequest& WithPhysicalResourceId(const char* value) { SetPhysicalResourceId(value); return *this;}
276 
277  private:
278 
279  Aws::String m_stackName;
280  bool m_stackNameHasBeenSet;
281 
282  Aws::String m_logicalResourceId;
283  bool m_logicalResourceIdHasBeenSet;
284 
285  Aws::String m_physicalResourceId;
286  bool m_physicalResourceIdHasBeenSet;
287  };
288 
289 } // namespace Model
290 } // namespace CloudFormation
291 } // namespace Aws
DescribeStackResourcesRequest & WithPhysicalResourceId(const Aws::String &value)
DescribeStackResourcesRequest & WithStackName(const char *value)
DescribeStackResourcesRequest & WithLogicalResourceId(Aws::String &&value)
DescribeStackResourcesRequest & WithPhysicalResourceId(Aws::String &&value)
DescribeStackResourcesRequest & WithLogicalResourceId(const char *value)
DescribeStackResourcesRequest & WithStackName(Aws::String &&value)
DescribeStackResourcesRequest & WithStackName(const Aws::String &value)
DescribeStackResourcesRequest & WithPhysicalResourceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CLOUDFORMATION_API
DescribeStackResourcesRequest & WithLogicalResourceId(const Aws::String &value)