AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename StackNameT = Aws::String>
55 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
56 template<typename StackNameT = Aws::String>
57 DescribeStackResourcesRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetLogicalResourceId() const { return m_logicalResourceId; }
65 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
66 template<typename LogicalResourceIdT = Aws::String>
67 void SetLogicalResourceId(LogicalResourceIdT&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::forward<LogicalResourceIdT>(value); }
68 template<typename LogicalResourceIdT = Aws::String>
69 DescribeStackResourcesRequest& WithLogicalResourceId(LogicalResourceIdT&& value) { SetLogicalResourceId(std::forward<LogicalResourceIdT>(value)); return *this;}
71
73
83 inline const Aws::String& GetPhysicalResourceId() const { return m_physicalResourceId; }
84 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
85 template<typename PhysicalResourceIdT = Aws::String>
86 void SetPhysicalResourceId(PhysicalResourceIdT&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::forward<PhysicalResourceIdT>(value); }
87 template<typename PhysicalResourceIdT = Aws::String>
88 DescribeStackResourcesRequest& WithPhysicalResourceId(PhysicalResourceIdT&& value) { SetPhysicalResourceId(std::forward<PhysicalResourceIdT>(value)); return *this;}
90 private:
91
92 Aws::String m_stackName;
93 bool m_stackNameHasBeenSet = false;
94
95 Aws::String m_logicalResourceId;
96 bool m_logicalResourceIdHasBeenSet = false;
97
98 Aws::String m_physicalResourceId;
99 bool m_physicalResourceIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace CloudFormation
104} // 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