AWS SDK for C++  1.9.126
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
Aws::CloudFormation::Model::DescribeStackResourceRequest::SetLogicalResourceId
void SetLogicalResourceId(const char *value)
Definition: DescribeStackResourceRequest.h:144
Aws::Http::URI
Definition: URI.h:32
Aws::CloudFormation::Model::DescribeStackResourceRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeStackResourceRequest.h:34
Aws::CloudFormation::Model::DescribeStackResourceRequest::SerializePayload
Aws::String SerializePayload() const override
CloudFormation_EXPORTS.h
Aws::CloudFormation::Model::DescribeStackResourceRequest::SetStackName
void SetStackName(const char *value)
Definition: DescribeStackResourceRequest.h:86
Aws::CloudFormation::Model::DescribeStackResourceRequest::SetLogicalResourceId
void SetLogicalResourceId(Aws::String &&value)
Definition: DescribeStackResourceRequest.h:138
Aws::CloudFormation::Model::DescribeStackResourceRequest::StackNameHasBeenSet
bool StackNameHasBeenSet() const
Definition: DescribeStackResourceRequest.h:59
Aws::CloudFormation::Model::DescribeStackResourceRequest::GetStackName
const Aws::String & GetStackName() const
Definition: DescribeStackResourceRequest.h:50
Aws::CloudFormation::Model::DescribeStackResourceRequest::WithStackName
DescribeStackResourceRequest & WithStackName(Aws::String &&value)
Definition: DescribeStackResourceRequest.h:104
CloudFormationRequest.h
Aws::CloudFormation::Model::DescribeStackResourceRequest::WithLogicalResourceId
DescribeStackResourceRequest & WithLogicalResourceId(Aws::String &&value)
Definition: DescribeStackResourceRequest.h:156
Aws::CloudFormation::Model::DescribeStackResourceRequest::WithLogicalResourceId
DescribeStackResourceRequest & WithLogicalResourceId(const Aws::String &value)
Definition: DescribeStackResourceRequest.h:150
Aws::CloudFormation::CloudFormationRequest
Definition: CloudFormationRequest.h:17
Aws::CloudFormation::Model::DescribeStackResourceRequest::WithLogicalResourceId
DescribeStackResourceRequest & WithLogicalResourceId(const char *value)
Definition: DescribeStackResourceRequest.h:162
Aws::CloudFormation::Model::DescribeStackResourceRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::CloudFormation::Model::DescribeStackResourceRequest::GetLogicalResourceId
const Aws::String & GetLogicalResourceId() const
Definition: DescribeStackResourceRequest.h:120
Aws::CloudFormation::Model::DescribeStackResourceRequest
Definition: DescribeStackResourceRequest.h:26
AWSString.h
Aws::CloudFormation::Model::DescribeStackResourceRequest::WithStackName
DescribeStackResourceRequest & WithStackName(const Aws::String &value)
Definition: DescribeStackResourceRequest.h:95
Aws::CloudFormation::Model::DescribeStackResourceRequest::LogicalResourceIdHasBeenSet
bool LogicalResourceIdHasBeenSet() const
Definition: DescribeStackResourceRequest.h:126
Aws::CloudFormation::Model::DescribeStackResourceRequest::DescribeStackResourceRequest
DescribeStackResourceRequest()
Aws::CloudFormation::Model::DescribeStackResourceRequest::SetStackName
void SetStackName(const Aws::String &value)
Definition: DescribeStackResourceRequest.h:68
AWS_CLOUDFORMATION_API
#define AWS_CLOUDFORMATION_API
Definition: CloudFormation_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFormation::Model::DescribeStackResourceRequest::WithStackName
DescribeStackResourceRequest & WithStackName(const char *value)
Definition: DescribeStackResourceRequest.h:113
Aws::CloudFormation::Model::DescribeStackResourceRequest::SetStackName
void SetStackName(Aws::String &&value)
Definition: DescribeStackResourceRequest.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFormation::Model::DescribeStackResourceRequest::SetLogicalResourceId
void SetLogicalResourceId(const Aws::String &value)
Definition: DescribeStackResourceRequest.h:132