AWS SDK for C++  1.8.71
AWS SDK for C++
DescribeStackResourceRequest.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 "DescribeStackResource"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
50  inline const Aws::String& GetStackName() const{ return m_stackName; }
51 
59  inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
60 
68  inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
69 
77  inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
78 
86  inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
87 
95  inline DescribeStackResourceRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
96 
104  inline DescribeStackResourceRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
105 
113  inline DescribeStackResourceRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
114 
115 
120  inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; }
121 
126  inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
127 
132  inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
133 
138  inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
139 
144  inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); }
145 
150  inline DescribeStackResourceRequest& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;}
151 
156  inline DescribeStackResourceRequest& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;}
157 
162  inline DescribeStackResourceRequest& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;}
163 
164  private:
165 
166  Aws::String m_stackName;
167  bool m_stackNameHasBeenSet;
168 
169  Aws::String m_logicalResourceId;
170  bool m_logicalResourceIdHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace CloudFormation
175 } // namespace Aws
DescribeStackResourceRequest & WithStackName(Aws::String &&value)
DescribeStackResourceRequest & WithLogicalResourceId(const char *value)
DescribeStackResourceRequest & WithStackName(const char *value)
DescribeStackResourceRequest & WithLogicalResourceId(const Aws::String &value)
DescribeStackResourceRequest & WithLogicalResourceId(Aws::String &&value)
DescribeStackResourceRequest & WithStackName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CLOUDFORMATION_API