AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeStackResourceRequest.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 DescribeStackResourceRequest() = 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 "DescribeStackResource"; }
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
50 inline const Aws::String& GetStackName() const { return m_stackName; }
51 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
52 template<typename StackNameT = Aws::String>
53 void SetStackName(StackNameT&& value) { m_stackNameHasBeenSet = true; m_stackName = std::forward<StackNameT>(value); }
54 template<typename StackNameT = Aws::String>
55 DescribeStackResourceRequest& WithStackName(StackNameT&& value) { SetStackName(std::forward<StackNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetLogicalResourceId() const { return m_logicalResourceId; }
63 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
64 template<typename LogicalResourceIdT = Aws::String>
65 void SetLogicalResourceId(LogicalResourceIdT&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::forward<LogicalResourceIdT>(value); }
66 template<typename LogicalResourceIdT = Aws::String>
67 DescribeStackResourceRequest& WithLogicalResourceId(LogicalResourceIdT&& value) { SetLogicalResourceId(std::forward<LogicalResourceIdT>(value)); return *this;}
69 private:
70
71 Aws::String m_stackName;
72 bool m_stackNameHasBeenSet = false;
73
74 Aws::String m_logicalResourceId;
75 bool m_logicalResourceIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CloudFormation
80} // 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