AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAppVersionResourceRequest.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/resiliencehub/model/LogicalResourceId.h>
13#include <utility>
14
15namespace Aws
16{
17namespace ResilienceHub
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_RESILIENCEHUB_API UpdateAppVersionResourceRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateAppVersionResource"; }
34
35 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetAdditionalInfo() const{ return m_additionalInfo; }
43 inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
44 inline void SetAdditionalInfo(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
45 inline void SetAdditionalInfo(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
48 inline UpdateAppVersionResourceRequest& AddAdditionalInfo(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
49 inline UpdateAppVersionResourceRequest& AddAdditionalInfo(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), value); return *this; }
50 inline UpdateAppVersionResourceRequest& AddAdditionalInfo(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
51 inline UpdateAppVersionResourceRequest& AddAdditionalInfo(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(std::move(key), std::move(value)); return *this; }
52 inline UpdateAppVersionResourceRequest& AddAdditionalInfo(const char* key, Aws::Vector<Aws::String>&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, std::move(value)); return *this; }
53 inline UpdateAppVersionResourceRequest& AddAdditionalInfo(const char* key, const Aws::Vector<Aws::String>& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.emplace(key, value); return *this; }
55
57
66 inline const Aws::String& GetAppArn() const{ return m_appArn; }
67 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
68 inline void SetAppArn(const Aws::String& value) { m_appArnHasBeenSet = true; m_appArn = value; }
69 inline void SetAppArn(Aws::String&& value) { m_appArnHasBeenSet = true; m_appArn = std::move(value); }
70 inline void SetAppArn(const char* value) { m_appArnHasBeenSet = true; m_appArn.assign(value); }
71 inline UpdateAppVersionResourceRequest& WithAppArn(const Aws::String& value) { SetAppArn(value); return *this;}
72 inline UpdateAppVersionResourceRequest& WithAppArn(Aws::String&& value) { SetAppArn(std::move(value)); return *this;}
73 inline UpdateAppVersionResourceRequest& WithAppArn(const char* value) { SetAppArn(value); return *this;}
75
77
82 inline const Aws::Vector<Aws::String>& GetAppComponents() const{ return m_appComponents; }
83 inline bool AppComponentsHasBeenSet() const { return m_appComponentsHasBeenSet; }
84 inline void SetAppComponents(const Aws::Vector<Aws::String>& value) { m_appComponentsHasBeenSet = true; m_appComponents = value; }
85 inline void SetAppComponents(Aws::Vector<Aws::String>&& value) { m_appComponentsHasBeenSet = true; m_appComponents = std::move(value); }
88 inline UpdateAppVersionResourceRequest& AddAppComponents(const Aws::String& value) { m_appComponentsHasBeenSet = true; m_appComponents.push_back(value); return *this; }
89 inline UpdateAppVersionResourceRequest& AddAppComponents(Aws::String&& value) { m_appComponentsHasBeenSet = true; m_appComponents.push_back(std::move(value)); return *this; }
90 inline UpdateAppVersionResourceRequest& AddAppComponents(const char* value) { m_appComponentsHasBeenSet = true; m_appComponents.push_back(value); return *this; }
92
94
97 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
98 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
99 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
100 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
101 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
103 inline UpdateAppVersionResourceRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
104 inline UpdateAppVersionResourceRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
106
108
111 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
112 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
113 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
114 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
115 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
116 inline UpdateAppVersionResourceRequest& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
117 inline UpdateAppVersionResourceRequest& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
118 inline UpdateAppVersionResourceRequest& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
120
122
127 inline bool GetExcluded() const{ return m_excluded; }
128 inline bool ExcludedHasBeenSet() const { return m_excludedHasBeenSet; }
129 inline void SetExcluded(bool value) { m_excludedHasBeenSet = true; m_excluded = value; }
130 inline UpdateAppVersionResourceRequest& WithExcluded(bool value) { SetExcluded(value); return *this;}
132
134
137 inline const LogicalResourceId& GetLogicalResourceId() const{ return m_logicalResourceId; }
138 inline bool LogicalResourceIdHasBeenSet() const { return m_logicalResourceIdHasBeenSet; }
139 inline void SetLogicalResourceId(const LogicalResourceId& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = value; }
140 inline void SetLogicalResourceId(LogicalResourceId&& value) { m_logicalResourceIdHasBeenSet = true; m_logicalResourceId = std::move(value); }
144
146
149 inline const Aws::String& GetPhysicalResourceId() const{ return m_physicalResourceId; }
150 inline bool PhysicalResourceIdHasBeenSet() const { return m_physicalResourceIdHasBeenSet; }
151 inline void SetPhysicalResourceId(const Aws::String& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = value; }
152 inline void SetPhysicalResourceId(Aws::String&& value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId = std::move(value); }
153 inline void SetPhysicalResourceId(const char* value) { m_physicalResourceIdHasBeenSet = true; m_physicalResourceId.assign(value); }
156 inline UpdateAppVersionResourceRequest& WithPhysicalResourceId(const char* value) { SetPhysicalResourceId(value); return *this;}
158
160
163 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
164 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
165 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
166 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
167 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
169 inline UpdateAppVersionResourceRequest& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
170 inline UpdateAppVersionResourceRequest& WithResourceName(const char* value) { SetResourceName(value); return *this;}
172
174
177 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
178 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
179 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
180 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
181 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
183 inline UpdateAppVersionResourceRequest& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
184 inline UpdateAppVersionResourceRequest& WithResourceType(const char* value) { SetResourceType(value); return *this;}
186 private:
187
189 bool m_additionalInfoHasBeenSet = false;
190
191 Aws::String m_appArn;
192 bool m_appArnHasBeenSet = false;
193
194 Aws::Vector<Aws::String> m_appComponents;
195 bool m_appComponentsHasBeenSet = false;
196
197 Aws::String m_awsAccountId;
198 bool m_awsAccountIdHasBeenSet = false;
199
200 Aws::String m_awsRegion;
201 bool m_awsRegionHasBeenSet = false;
202
203 bool m_excluded;
204 bool m_excludedHasBeenSet = false;
205
206 LogicalResourceId m_logicalResourceId;
207 bool m_logicalResourceIdHasBeenSet = false;
208
209 Aws::String m_physicalResourceId;
210 bool m_physicalResourceIdHasBeenSet = false;
211
212 Aws::String m_resourceName;
213 bool m_resourceNameHasBeenSet = false;
214
215 Aws::String m_resourceType;
216 bool m_resourceTypeHasBeenSet = false;
217 };
218
219} // namespace Model
220} // namespace ResilienceHub
221} // namespace Aws
UpdateAppVersionResourceRequest & WithResourceType(const Aws::String &value)
UpdateAppVersionResourceRequest & WithAwsAccountId(const Aws::String &value)
UpdateAppVersionResourceRequest & AddAppComponents(Aws::String &&value)
void SetAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
UpdateAppVersionResourceRequest & WithLogicalResourceId(const LogicalResourceId &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetAdditionalInfo() const
UpdateAppVersionResourceRequest & WithAppArn(const Aws::String &value)
UpdateAppVersionResourceRequest & WithAwsRegion(Aws::String &&value)
UpdateAppVersionResourceRequest & WithAppComponents(const Aws::Vector< Aws::String > &value)
UpdateAppVersionResourceRequest & WithPhysicalResourceId(Aws::String &&value)
UpdateAppVersionResourceRequest & WithAwsAccountId(const char *value)
UpdateAppVersionResourceRequest & AddAdditionalInfo(const char *key, const Aws::Vector< Aws::String > &value)
UpdateAppVersionResourceRequest & WithAppArn(const char *value)
UpdateAppVersionResourceRequest & AddAdditionalInfo(const char *key, Aws::Vector< Aws::String > &&value)
UpdateAppVersionResourceRequest & AddAppComponents(const Aws::String &value)
UpdateAppVersionResourceRequest & WithAwsRegion(const Aws::String &value)
UpdateAppVersionResourceRequest & WithResourceName(const Aws::String &value)
UpdateAppVersionResourceRequest & AddAdditionalInfo(Aws::String &&key, Aws::Vector< Aws::String > &&value)
UpdateAppVersionResourceRequest & WithResourceName(const char *value)
UpdateAppVersionResourceRequest & WithLogicalResourceId(LogicalResourceId &&value)
void SetAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
UpdateAppVersionResourceRequest & WithAppArn(Aws::String &&value)
UpdateAppVersionResourceRequest & WithResourceName(Aws::String &&value)
UpdateAppVersionResourceRequest & WithPhysicalResourceId(const char *value)
UpdateAppVersionResourceRequest & AddAppComponents(const char *value)
UpdateAppVersionResourceRequest & WithPhysicalResourceId(const Aws::String &value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
UpdateAppVersionResourceRequest & WithAwsAccountId(Aws::String &&value)
UpdateAppVersionResourceRequest & AddAdditionalInfo(const Aws::String &key, Aws::Vector< Aws::String > &&value)
UpdateAppVersionResourceRequest & AddAdditionalInfo(const Aws::String &key, const Aws::Vector< Aws::String > &value)
UpdateAppVersionResourceRequest & WithAwsRegion(const char *value)
UpdateAppVersionResourceRequest & AddAdditionalInfo(Aws::String &&key, const Aws::Vector< Aws::String > &value)
UpdateAppVersionResourceRequest & WithAdditionalInfo(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
UpdateAppVersionResourceRequest & WithAppComponents(Aws::Vector< Aws::String > &&value)
UpdateAppVersionResourceRequest & WithResourceType(const char *value)
UpdateAppVersionResourceRequest & WithResourceType(Aws::String &&value)
UpdateAppVersionResourceRequest & WithAdditionalInfo(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector