AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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
51 inline const Aws::String& GetStackName() const{ return m_stackName; }
52 inline bool StackNameHasBeenSet() const { return m_stackNameHasBeenSet; }
53 inline void SetStackName(const Aws::String& value) { m_stackNameHasBeenSet = true; m_stackName = value; }
54 inline void SetStackName(Aws::String&& value) { m_stackNameHasBeenSet = true; m_stackName = std::move(value); }
55 inline void SetStackName(const char* value) { m_stackNameHasBeenSet = true; m_stackName.assign(value); }
56 inline DescribeStackResourceRequest& WithStackName(const Aws::String& value) { SetStackName(value); return *this;}
57 inline DescribeStackResourceRequest& WithStackName(Aws::String&& value) { SetStackName(std::move(value)); return *this;}
58 inline DescribeStackResourceRequest& WithStackName(const char* value) { SetStackName(value); return *this;}
60
62
66 inline const Aws::String& GetLogicalResourceId() const{ return m_logicalResourceId; }
67 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
68 inline void SetLogicalResourceId(const Aws::String& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
69 inline void SetLogicalResourceId(Aws::String&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
70 inline void SetLogicalResourceId(const char* value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId.assign(value); }
72 inline DescribeStackResourceRequest& WithLogicalResourceId(Aws::String&& value) { SetLogicalResourceId(std::move(value)); return *this;}
73 inline DescribeStackResourceRequest& WithLogicalResourceId(const char* value) { SetLogicalResourceId(value); return *this;}
75 private:
76
77 Aws::String m_stackName;
78 bool m_stackNameHasBeenSet = false;
79
80 Aws::String m_logicalResourceId;
81 bool m_logicalResourceIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace CloudFormation
86} // namespace Aws
DescribeStackResourceRequest & WithStackName(const Aws::String &value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeStackResourceRequest & WithStackName(Aws::String &&value)
DescribeStackResourceRequest & WithStackName(const char *value)
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
DescribeStackResourceRequest & WithLogicalResourceId(const char *value)
DescribeStackResourceRequest & WithLogicalResourceId(const Aws::String &value)
DescribeStackResourceRequest & WithLogicalResourceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String