AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
50 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
51 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
52 inline DeleteAppVersionResourceRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
53 inline DeleteAppVersionResourceRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
54 inline DeleteAppVersionResourceRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
56
58
61 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
62 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
63 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
64 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
65 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
66 inline DeleteAppVersionResourceRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
67 inline DeleteAppVersionResourceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
68 inline DeleteAppVersionResourceRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
70
72
75 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
76 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
77 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
78 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
79 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
80 inline DeleteAppVersionResourceRequest& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
81 inline DeleteAppVersionResourceRequest& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
82 inline DeleteAppVersionResourceRequest& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
84
86
91 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
92 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
93 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
94 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
95 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
96 inline DeleteAppVersionResourceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
97 inline DeleteAppVersionResourceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
98 inline DeleteAppVersionResourceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
100
102
105 inline const LogicalResourceId& GetLogicalResourceId() const{ return m_logicalResourceId; }
106 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
107 inline void SetLogicalResourceId(const LogicalResourceId& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
108 inline void SetLogicalResourceId(LogicalResourceId&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
112
114
117 inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; }
118 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
119 inline void SetPhysicalResourceId(const Aws::String& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
120 inline void SetPhysicalResourceId(Aws::String&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); }
121 inline void SetPhysicalResourceId(const char* value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId.assign(value); }
124 inline DeleteAppVersionResourceRequest& WithPhysicalResourceId(const char* value) { SetPhysicalResourceId(value); return *this;}
126
128
131 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
132 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
133 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
134 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
135 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
137 inline DeleteAppVersionResourceRequest& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
138 inline DeleteAppVersionResourceRequest& WithResourceName(const char* value) { SetResourceName(value); return *this;}
140 private:
141
142 Aws::String m_appArn;
143 bool m_appArnHasBeenSet = false;
144
145 Aws::String m_awsAccountId;
146 bool m_awsAccountIdHasBeenSet = false;
147
148 Aws::String m_awsRegion;
149 bool m_awsRegionHasBeenSet = false;
150
151 Aws::String m_clientToken;
152 bool m_clientTokenHasBeenSet = false;
153
154 LogicalResourceId m_logicalResourceId;
155 bool m_logicalResourceIdHasBeenSet = false;
156
157 Aws::String m_physicalResourceId;
158 bool m_physicalResourceIdHasBeenSet = false;
159
160 Aws::String m_resourceName;
161 bool m_resourceNameHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace ResilienceHub
166} // namespace Aws
DeleteAppVersionResourceRequest & WithAppArn(const Aws::String &value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
DeleteAppVersionResourceRequest & WithResourceName(const char *value)
DeleteAppVersionResourceRequest & WithAppArn(Aws::String &&value)
DeleteAppVersionResourceRequest & WithResourceName(Aws::String &&value)
DeleteAppVersionResourceRequest & WithAwsAccountId(const char *value)
DeleteAppVersionResourceRequest & WithClientToken(const char *value)
DeleteAppVersionResourceRequest & WithLogicalResourceId(LogicalResourceId &&value)
DeleteAppVersionResourceRequest & WithAwsAccountId(const Aws::String &value)
DeleteAppVersionResourceRequest & WithClientToken(Aws::String &&value)
DeleteAppVersionResourceRequest & WithAwsRegion(const char *value)
DeleteAppVersionResourceRequest & WithAppArn(const char *value)
DeleteAppVersionResourceRequest & WithPhysicalResourceId(Aws::String &&value)
DeleteAppVersionResourceRequest & WithAwsAccountId(Aws::String &&value)
DeleteAppVersionResourceRequest & WithPhysicalResourceId(const Aws::String &value)
DeleteAppVersionResourceRequest & WithClientToken(const Aws::String &value)
DeleteAppVersionResourceRequest & WithPhysicalResourceId(const char *value)
DeleteAppVersionResourceRequest & WithAwsRegion(const Aws::String &value)
DeleteAppVersionResourceRequest & WithAwsRegion(Aws::String &&value)
DeleteAppVersionResourceRequest & WithResourceName(const Aws::String &value)
DeleteAppVersionResourceRequest & WithLogicalResourceId(const LogicalResourceId &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String