AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
DeleteAppVersionResourceRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/ResilienceHubRequest.h>
10#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
11#include <aws/resiliencehub/model/LogicalResourceId.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ResilienceHub {
17namespace Model {
18
22 public:
23 AWS_RESILIENCEHUB_API DeleteAppVersionResourceRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DeleteAppVersionResource"; }
30
31 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
32
34
43 inline const Aws::String& GetAppArn() const { return m_appArn; }
44 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
45 template <typename AppArnT = Aws::String>
46 void SetAppArn(AppArnT&& value) {
47 m_appArnHasBeenSet = true;
48 m_appArn = std::forward<AppArnT>(value);
49 }
50 template <typename AppArnT = Aws::String>
52 SetAppArn(std::forward<AppArnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
62 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
63 template <typename AwsAccountIdT = Aws::String>
64 void SetAwsAccountId(AwsAccountIdT&& value) {
65 m_awsAccountIdHasBeenSet = true;
66 m_awsAccountId = std::forward<AwsAccountIdT>(value);
67 }
68 template <typename AwsAccountIdT = Aws::String>
70 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
80 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
81 template <typename AwsRegionT = Aws::String>
82 void SetAwsRegion(AwsRegionT&& value) {
83 m_awsRegionHasBeenSet = true;
84 m_awsRegion = std::forward<AwsRegionT>(value);
85 }
86 template <typename AwsRegionT = Aws::String>
88 SetAwsRegion(std::forward<AwsRegionT>(value));
89 return *this;
90 }
92
94
99 inline const Aws::String& GetClientToken() const { return m_clientToken; }
100 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
101 template <typename ClientTokenT = Aws::String>
102 void SetClientToken(ClientTokenT&& value) {
103 m_clientTokenHasBeenSet = true;
104 m_clientToken = std::forward<ClientTokenT>(value);
105 }
106 template <typename ClientTokenT = Aws::String>
108 SetClientToken(std::forward<ClientTokenT>(value));
109 return *this;
110 }
112
114
117 inline const LogicalResourceId& GetLogicalResourceId() const { return m_logicalResourceId; }
118 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
119 template <typename LogicalResourceIdT = LogicalResourceId>
120 void SetLogicalResourceId(LogicalResourceIdT&& value) {
121 m_logicalResourceIdHasBeenSet = true;
122 m_logicalResourceId = std::forward<LogicalResourceIdT>(value);
123 }
124 template <typename LogicalResourceIdT = LogicalResourceId>
126 SetLogicalResourceId(std::forward<LogicalResourceIdT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetPhysicalResourceId() const { return m_physicalResourceId; }
136 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
137 template <typename PhysicalResourceIdT = Aws::String>
138 void SetPhysicalResourceId(PhysicalResourceIdT&& value) {
139 m_physicalResourceIdHasBeenSet = true;
140 m_physicalResourceId = std::forward<PhysicalResourceIdT>(value);
141 }
142 template <typename PhysicalResourceIdT = Aws::String>
144 SetPhysicalResourceId(std::forward<PhysicalResourceIdT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetResourceName() const { return m_resourceName; }
154 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
155 template <typename ResourceNameT = Aws::String>
156 void SetResourceName(ResourceNameT&& value) {
157 m_resourceNameHasBeenSet = true;
158 m_resourceName = std::forward<ResourceNameT>(value);
159 }
160 template <typename ResourceNameT = Aws::String>
162 SetResourceName(std::forward<ResourceNameT>(value));
163 return *this;
164 }
166 private:
167 Aws::String m_appArn;
168
169 Aws::String m_awsAccountId;
170
171 Aws::String m_awsRegion;
172
174
175 LogicalResourceId m_logicalResourceId;
176
177 Aws::String m_physicalResourceId;
178
179 Aws::String m_resourceName;
180 bool m_appArnHasBeenSet = false;
181 bool m_awsAccountIdHasBeenSet = false;
182 bool m_awsRegionHasBeenSet = false;
183 bool m_clientTokenHasBeenSet = true;
184 bool m_logicalResourceIdHasBeenSet = false;
185 bool m_physicalResourceIdHasBeenSet = false;
186 bool m_resourceNameHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace ResilienceHub
191} // namespace Aws
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
DeleteAppVersionResourceRequest & WithAwsAccountId(AwsAccountIdT &&value)
DeleteAppVersionResourceRequest & WithResourceName(ResourceNameT &&value)
DeleteAppVersionResourceRequest & WithAppArn(AppArnT &&value)
DeleteAppVersionResourceRequest & WithPhysicalResourceId(PhysicalResourceIdT &&value)
DeleteAppVersionResourceRequest & WithLogicalResourceId(LogicalResourceIdT &&value)
DeleteAppVersionResourceRequest & WithAwsRegion(AwsRegionT &&value)
DeleteAppVersionResourceRequest & WithClientToken(ClientTokenT &&value)
AWS_RESILIENCEHUB_API DeleteAppVersionResourceRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String