AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DescribeStackResourcesRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormationRequest.h>
8#include <aws/cloudformation/CloudFormation_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CloudFormation {
15namespace Model {
16
24 public:
25 AWS_CLOUDFORMATION_API DescribeStackResourcesRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeStackResources"; }
32
33 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
48 inline const Aws::String& GetStackName() const { return m_stackName; }
49 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
50 template <typename StackNameT = Aws::String>
51 void SetStackName(StackNameT&& value) {
52 m_stackNameHasBeenSet = true;
53 m_stackName = std::forward<StackNameT>(value);
54 }
55 template <typename StackNameT = Aws::String>
57 SetStackName(std::forward<StackNameT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetLogicalResourceId() const { return m_logicalResourceId; }
67 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
68 template <typename LogicalResourceIdT = Aws::String>
69 void SetLogicalResourceId(LogicalResourceIdT&& value) {
70 m_logicalResourceIdHasBeenSet = true;
71 m_logicalResourceId = std::forward<LogicalResourceIdT>(value);
72 }
73 template <typename LogicalResourceIdT = Aws::String>
75 SetLogicalResourceId(std::forward<LogicalResourceIdT>(value));
76 return *this;
77 }
79
81
91 inline const Aws::String& GetPhysicalResourceId() const { return m_physicalResourceId; }
92 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
93 template <typename PhysicalResourceIdT = Aws::String>
94 void SetPhysicalResourceId(PhysicalResourceIdT&& value) {
95 m_physicalResourceIdHasBeenSet = true;
96 m_physicalResourceId = std::forward<PhysicalResourceIdT>(value);
97 }
98 template <typename PhysicalResourceIdT = Aws::String>
100 SetPhysicalResourceId(std::forward<PhysicalResourceIdT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_stackName;
106
107 Aws::String m_logicalResourceId;
108
109 Aws::String m_physicalResourceId;
110 bool m_stackNameHasBeenSet = false;
111 bool m_logicalResourceIdHasBeenSet = false;
112 bool m_physicalResourceIdHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace CloudFormation
117} // namespace Aws
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeStackResourcesRequest & WithPhysicalResourceId(PhysicalResourceIdT &&value)
DescribeStackResourcesRequest & WithLogicalResourceId(LogicalResourceIdT &&value)
DescribeStackResourcesRequest & WithStackName(StackNameT &&value)
AWS_CLOUDFORMATION_API DescribeStackResourcesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String