AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeStackResourcesRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
19 
20 namespace Aws
21 {
22 namespace CloudFormation
23 {
24 namespace Model
25 {
26 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
44  inline const Aws::String& GetStackName() const{ return m_stackName; }
45 
54  inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
55 
64  inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
65 
74  inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
75 
84  inline DescribeStackResourcesRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
85 
94  inline DescribeStackResourcesRequest& WithStackName(Aws::String&& value) { SetStackName(value); return *this;}
95 
104  inline DescribeStackResourcesRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
105 
110  inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; }
111 
116  inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
117 
122  inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
123 
128  inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); }
129 
134  inline DescribeStackResourcesRequest& WithLogicalResourceId(const Aws::String& value) { SetLogicalResourceId(value); return *this;}
135 
140  inline DescribeStackResourcesRequest& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(value); return *this;}
141 
146  inline DescribeStackResourcesRequest& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;}
147 
159  inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; }
160 
172  inline void SetPhysicalResourceId(const Aws::String& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
173 
185  inline void SetPhysicalResourceId(Aws::String&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
186 
198  inline void SetPhysicalResourceId(const char* value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId.assign(value); }
199 
211  inline DescribeStackResourcesRequest& WithPhysicalResourceId(const Aws::String& value) { SetPhysicalResourceId(value); return *this;}
212 
224  inline DescribeStackResourcesRequest& WithPhysicalResourceId(Aws::String&& value) { SetPhysicalResourceId(value); return *this;}
225 
237  inline DescribeStackResourcesRequest& WithPhysicalResourceId(const char* value) { SetPhysicalResourceId(value); return *this;}
238 
239  private:
240  Aws::String m_stackName;
241  bool m_stackNameHasBeenSet;
242  Aws::String m_logicalResourceId;
243  bool m_logicalResourceIdHasBeenSet;
244  Aws::String m_physicalResourceId;
245  bool m_physicalResourceIdHasBeenSet;
246  };
247 
248 } // namespace Model
249 } // namespace CloudFormation
250 } // 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)
JSON (JavaScript Object Notation).