AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
DescribeAppVersionResourceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
10#include <aws/resiliencehub/model/LogicalResourceId.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ResilienceHub {
16namespace Model {
17
21 public:
22 AWS_RESILIENCEHUB_API DescribeAppVersionResourceRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeAppVersionResource"; }
29
30 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
31
33
42 inline const Aws::String& GetAppArn() const { return m_appArn; }
43 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
44 template <typename AppArnT = Aws::String>
45 void SetAppArn(AppArnT&& value) {
46 m_appArnHasBeenSet = true;
47 m_appArn = std::forward<AppArnT>(value);
48 }
49 template <typename AppArnT = Aws::String>
51 SetAppArn(std::forward<AppArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetAppVersion() const { return m_appVersion; }
61 inline bool AppVersionHasBeenSet() const { return m_appVersionHasBeenSet; }
62 template <typename AppVersionT = Aws::String>
63 void SetAppVersion(AppVersionT&& value) {
64 m_appVersionHasBeenSet = true;
65 m_appVersion = std::forward<AppVersionT>(value);
66 }
67 template <typename AppVersionT = Aws::String>
69 SetAppVersion(std::forward<AppVersionT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
79 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
80 template <typename AwsAccountIdT = Aws::String>
81 void SetAwsAccountId(AwsAccountIdT&& value) {
82 m_awsAccountIdHasBeenSet = true;
83 m_awsAccountId = std::forward<AwsAccountIdT>(value);
84 }
85 template <typename AwsAccountIdT = Aws::String>
87 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
97 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
98 template <typename AwsRegionT = Aws::String>
99 void SetAwsRegion(AwsRegionT&& value) {
100 m_awsRegionHasBeenSet = true;
101 m_awsRegion = std::forward<AwsRegionT>(value);
102 }
103 template <typename AwsRegionT = Aws::String>
105 SetAwsRegion(std::forward<AwsRegionT>(value));
106 return *this;
107 }
109
111
114 inline const LogicalResourceId& GetLogicalResourceId() const { return m_logicalResourceId; }
115 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
116 template <typename LogicalResourceIdT = LogicalResourceId>
117 void SetLogicalResourceId(LogicalResourceIdT&& value) {
118 m_logicalResourceIdHasBeenSet = true;
119 m_logicalResourceId = std::forward<LogicalResourceIdT>(value);
120 }
121 template <typename LogicalResourceIdT = LogicalResourceId>
123 SetLogicalResourceId(std::forward<LogicalResourceIdT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetPhysicalResourceId() const { return m_physicalResourceId; }
133 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
134 template <typename PhysicalResourceIdT = Aws::String>
135 void SetPhysicalResourceId(PhysicalResourceIdT&& value) {
136 m_physicalResourceIdHasBeenSet = true;
137 m_physicalResourceId = std::forward<PhysicalResourceIdT>(value);
138 }
139 template <typename PhysicalResourceIdT = Aws::String>
141 SetPhysicalResourceId(std::forward<PhysicalResourceIdT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::String& GetResourceName() const { return m_resourceName; }
151 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
152 template <typename ResourceNameT = Aws::String>
153 void SetResourceName(ResourceNameT&& value) {
154 m_resourceNameHasBeenSet = true;
155 m_resourceName = std::forward<ResourceNameT>(value);
156 }
157 template <typename ResourceNameT = Aws::String>
159 SetResourceName(std::forward<ResourceNameT>(value));
160 return *this;
161 }
163 private:
164 Aws::String m_appArn;
165
166 Aws::String m_appVersion;
167
168 Aws::String m_awsAccountId;
169
170 Aws::String m_awsRegion;
171
172 LogicalResourceId m_logicalResourceId;
173
174 Aws::String m_physicalResourceId;
175
176 Aws::String m_resourceName;
177 bool m_appArnHasBeenSet = false;
178 bool m_appVersionHasBeenSet = false;
179 bool m_awsAccountIdHasBeenSet = false;
180 bool m_awsRegionHasBeenSet = false;
181 bool m_logicalResourceIdHasBeenSet = false;
182 bool m_physicalResourceIdHasBeenSet = false;
183 bool m_resourceNameHasBeenSet = false;
184};
185
186} // namespace Model
187} // namespace ResilienceHub
188} // namespace Aws
DescribeAppVersionResourceRequest & WithAwsAccountId(AwsAccountIdT &&value)
DescribeAppVersionResourceRequest & WithLogicalResourceId(LogicalResourceIdT &&value)
DescribeAppVersionResourceRequest & WithAwsRegion(AwsRegionT &&value)
DescribeAppVersionResourceRequest & WithPhysicalResourceId(PhysicalResourceIdT &&value)
DescribeAppVersionResourceRequest & WithAppArn(AppArnT &&value)
AWS_RESILIENCEHUB_API DescribeAppVersionResourceRequest()=default
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
DescribeAppVersionResourceRequest & WithAppVersion(AppVersionT &&value)
DescribeAppVersionResourceRequest & WithResourceName(ResourceNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String