AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DescribeStackResourceRequest.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 DescribeStackResourceRequest() = 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 "DescribeStackResource"; }
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
46 inline const Aws::String& GetStackName() const { return m_stackName; }
47 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
48 template <typename StackNameT = Aws::String>
49 void SetStackName(StackNameT&& value) {
50 m_stackNameHasBeenSet = true;
51 m_stackName = std::forward<StackNameT>(value);
52 }
53 template <typename StackNameT = Aws::String>
55 SetStackName(std::forward<StackNameT>(value));
56 return *this;
57 }
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) {
68 m_logicalResourceIdHasBeenSet = true;
69 m_logicalResourceId = std::forward<LogicalResourceIdT>(value);
70 }
71 template <typename LogicalResourceIdT = Aws::String>
73 SetLogicalResourceId(std::forward<LogicalResourceIdT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_stackName;
79
80 Aws::String m_logicalResourceId;
81 bool m_stackNameHasBeenSet = false;
82 bool m_logicalResourceIdHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace CloudFormation
87} // namespace Aws
AWS_CLOUDFORMATION_API DescribeStackResourceRequest()=default
DescribeStackResourceRequest & WithStackName(StackNameT &&value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
DescribeStackResourceRequest & WithLogicalResourceId(LogicalResourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String