AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeStackResourcesRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/CloudFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CloudFormation
15{
16namespace Model
17{
18
26 {
27 public:
28 AWS_CLOUDFORMATION_API DescribeStackResourcesRequest();
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_CLOUDFORMATION_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
52 inline const Aws::String& GetStackName() const{ return m_stackName; }
53 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
54 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
55 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
56 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
57 inline DescribeStackResourcesRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
58 inline DescribeStackResourcesRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
59 inline DescribeStackResourcesRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
61
63
67 inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; }
68 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
69 inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
70 inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
71 inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); }
73 inline DescribeStackResourcesRequest& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;}
74 inline DescribeStackResourcesRequest& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;}
76
78
88 inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; }
89 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
90 inline void SetPhysicalResourceId(const Aws::String& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
91 inline void SetPhysicalResourceId(Aws::String&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); }
92 inline void SetPhysicalResourceId(const char* value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId.assign(value); }
95 inline DescribeStackResourcesRequest& WithPhysicalResourceId(const char* value) { SetPhysicalResourceId(value); return *this;}
97 private:
98
99 Aws::String m_stackName;
100 bool m_stackNameHasBeenSet = false;
101
102 Aws::String m_logicalResourceId;
103 bool m_logicalResourceIdHasBeenSet = false;
104
105 Aws::String m_physicalResourceId;
106 bool m_physicalResourceIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CloudFormation
111} // namespace Aws
DescribeStackResourcesRequest & WithStackName(const Aws::String &value)
DescribeStackResourcesRequest & WithPhysicalResourceId(const char *value)
DescribeStackResourcesRequest & WithLogicalResourceId(const char *value)
DescribeStackResourcesRequest & WithLogicalResourceId(const Aws::String &value)
DescribeStackResourcesRequest & WithPhysicalResourceId(Aws::String &&value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeStackResourcesRequest & WithPhysicalResourceId(const Aws::String &value)
DescribeStackResourcesRequest & WithStackName(Aws::String &&value)
DescribeStackResourcesRequest & WithLogicalResourceId(Aws::String &&value)
DescribeStackResourcesRequest & WithStackName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String