AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteAppVersionResourceRequest.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/resiliencehub/model/LogicalResourceId.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace ResilienceHub
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_RESILIENCEHUB_API DeleteAppVersionResourceRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DeleteAppVersionResource"; }
33
34 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
35
36
38
47 inline const Aws::String& GetAppArn() const { return m_appArn; }
48 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
49 template<typename AppArnT = Aws::String>
50 void SetAppArn(AppArnT&& value) { m_appArnHasBeenSet = true; m_appArn = std::forward<AppArnT>(value); }
51 template<typename AppArnT = Aws::String>
52 DeleteAppVersionResourceRequest& WithAppArn(AppArnT&& value) { SetAppArn(std::forward<AppArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
60 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
61 template<typename AwsAccountIdT = Aws::String>
62 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
63 template<typename AwsAccountIdT = Aws::String>
64 DeleteAppVersionResourceRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
72 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
73 template<typename AwsRegionT = Aws::String>
74 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::forward<AwsRegionT>(value); }
75 template<typename AwsRegionT = Aws::String>
76 DeleteAppVersionResourceRequest& WithAwsRegion(AwsRegionT&& value) { SetAwsRegion(std::forward<AwsRegionT>(value)); return *this;}
78
80
85 inline const Aws::String& GetClientToken() const { return m_clientToken; }
86 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
87 template<typename ClientTokenT = Aws::String>
88 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
89 template<typename ClientTokenT = Aws::String>
90 DeleteAppVersionResourceRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
92
94
97 inline const LogicalResourceId& GetLogicalResourceId() const { return m_logicalResourceId; }
98 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
99 template<typename LogicalResourceIdT = LogicalResourceId>
100 void SetLogicalResourceId(LogicalResourceIdT&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::forward<LogicalResourceIdT>(value); }
101 template<typename LogicalResourceIdT = LogicalResourceId>
102 DeleteAppVersionResourceRequest& WithLogicalResourceId(LogicalResourceIdT&& value) { SetLogicalResourceId(std::forward<LogicalResourceIdT>(value)); return *this;}
104
106
109 inline const Aws::String& GetPhysicalResourceId() const { return m_physicalResourceId; }
110 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
111 template<typename PhysicalResourceIdT = Aws::String>
112 void SetPhysicalResourceId(PhysicalResourceIdT&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::forward<PhysicalResourceIdT>(value); }
113 template<typename PhysicalResourceIdT = Aws::String>
114 DeleteAppVersionResourceRequest& WithPhysicalResourceId(PhysicalResourceIdT&& value) { SetPhysicalResourceId(std::forward<PhysicalResourceIdT>(value)); return *this;}
116
118
121 inline const Aws::String& GetResourceName() const { return m_resourceName; }
122 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
123 template<typename ResourceNameT = Aws::String>
124 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::forward<ResourceNameT>(value); }
125 template<typename ResourceNameT = Aws::String>
126 DeleteAppVersionResourceRequest& WithResourceName(ResourceNameT&& value) { SetResourceName(std::forward<ResourceNameT>(value)); return *this;}
128 private:
129
130 Aws::String m_appArn;
131 bool m_appArnHasBeenSet = false;
132
133 Aws::String m_awsAccountId;
134 bool m_awsAccountIdHasBeenSet = false;
135
136 Aws::String m_awsRegion;
137 bool m_awsRegionHasBeenSet = false;
138
140 bool m_clientTokenHasBeenSet = true;
141
142 LogicalResourceId m_logicalResourceId;
143 bool m_logicalResourceIdHasBeenSet = false;
144
145 Aws::String m_physicalResourceId;
146 bool m_physicalResourceIdHasBeenSet = false;
147
148 Aws::String m_resourceName;
149 bool m_resourceNameHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace ResilienceHub
154} // 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