AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLaunchConfigurationTemplateResult.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/BootMode.h>
10#include <aws/mgn/model/LaunchTemplateDiskConf.h>
11#include <aws/mgn/model/LaunchDisposition.h>
12#include <aws/mgn/model/Licensing.h>
13#include <aws/mgn/model/PostLaunchActions.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/mgn/model/TargetInstanceTypeRightSizingMethod.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace mgn
31{
32namespace Model
33{
35 {
36 public:
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline void SetArn(const Aws::String& value) { m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arn.assign(value); }
50 inline UpdateLaunchConfigurationTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline UpdateLaunchConfigurationTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline UpdateLaunchConfigurationTemplateResult& WithArn(const char* value) { SetArn(value); return *this;}
54
56
59 inline bool GetAssociatePublicIpAddress() const{ return m_associatePublicIpAddress; }
60 inline void SetAssociatePublicIpAddress(bool value) { m_associatePublicIpAddress = value; }
63
65
68 inline const BootMode& GetBootMode() const{ return m_bootMode; }
69 inline void SetBootMode(const BootMode& value) { m_bootMode = value; }
70 inline void SetBootMode(BootMode&& value) { m_bootMode = std::move(value); }
71 inline UpdateLaunchConfigurationTemplateResult& WithBootMode(const BootMode& value) { SetBootMode(value); return *this;}
72 inline UpdateLaunchConfigurationTemplateResult& WithBootMode(BootMode&& value) { SetBootMode(std::move(value)); return *this;}
74
76
79 inline bool GetCopyPrivateIp() const{ return m_copyPrivateIp; }
80 inline void SetCopyPrivateIp(bool value) { m_copyPrivateIp = value; }
83
85
88 inline bool GetCopyTags() const{ return m_copyTags; }
89 inline void SetCopyTags(bool value) { m_copyTags = value; }
90 inline UpdateLaunchConfigurationTemplateResult& WithCopyTags(bool value) { SetCopyTags(value); return *this;}
92
94
97 inline const Aws::String& GetEc2LaunchTemplateID() const{ return m_ec2LaunchTemplateID; }
98 inline void SetEc2LaunchTemplateID(const Aws::String& value) { m_ec2LaunchTemplateID = value; }
99 inline void SetEc2LaunchTemplateID(Aws::String&& value) { m_ec2LaunchTemplateID = std::move(value); }
100 inline void SetEc2LaunchTemplateID(const char* value) { m_ec2LaunchTemplateID.assign(value); }
105
107
110 inline bool GetEnableMapAutoTagging() const{ return m_enableMapAutoTagging; }
111 inline void SetEnableMapAutoTagging(bool value) { m_enableMapAutoTagging = value; }
114
116
119 inline const LaunchTemplateDiskConf& GetLargeVolumeConf() const{ return m_largeVolumeConf; }
120 inline void SetLargeVolumeConf(const LaunchTemplateDiskConf& value) { m_largeVolumeConf = value; }
121 inline void SetLargeVolumeConf(LaunchTemplateDiskConf&& value) { m_largeVolumeConf = std::move(value); }
125
127
130 inline const Aws::String& GetLaunchConfigurationTemplateID() const{ return m_launchConfigurationTemplateID; }
131 inline void SetLaunchConfigurationTemplateID(const Aws::String& value) { m_launchConfigurationTemplateID = value; }
132 inline void SetLaunchConfigurationTemplateID(Aws::String&& value) { m_launchConfigurationTemplateID = std::move(value); }
133 inline void SetLaunchConfigurationTemplateID(const char* value) { m_launchConfigurationTemplateID.assign(value); }
138
140
143 inline const LaunchDisposition& GetLaunchDisposition() const{ return m_launchDisposition; }
144 inline void SetLaunchDisposition(const LaunchDisposition& value) { m_launchDisposition = value; }
145 inline void SetLaunchDisposition(LaunchDisposition&& value) { m_launchDisposition = std::move(value); }
149
151
152 inline const Licensing& GetLicensing() const{ return m_licensing; }
153 inline void SetLicensing(const Licensing& value) { m_licensing = value; }
154 inline void SetLicensing(Licensing&& value) { m_licensing = std::move(value); }
156 inline UpdateLaunchConfigurationTemplateResult& WithLicensing(Licensing&& value) { SetLicensing(std::move(value)); return *this;}
158
160
163 inline const Aws::String& GetMapAutoTaggingMpeID() const{ return m_mapAutoTaggingMpeID; }
164 inline void SetMapAutoTaggingMpeID(const Aws::String& value) { m_mapAutoTaggingMpeID = value; }
165 inline void SetMapAutoTaggingMpeID(Aws::String&& value) { m_mapAutoTaggingMpeID = std::move(value); }
166 inline void SetMapAutoTaggingMpeID(const char* value) { m_mapAutoTaggingMpeID.assign(value); }
171
173
176 inline const PostLaunchActions& GetPostLaunchActions() const{ return m_postLaunchActions; }
177 inline void SetPostLaunchActions(const PostLaunchActions& value) { m_postLaunchActions = value; }
178 inline void SetPostLaunchActions(PostLaunchActions&& value) { m_postLaunchActions = std::move(value); }
182
184
187 inline const LaunchTemplateDiskConf& GetSmallVolumeConf() const{ return m_smallVolumeConf; }
188 inline void SetSmallVolumeConf(const LaunchTemplateDiskConf& value) { m_smallVolumeConf = value; }
189 inline void SetSmallVolumeConf(LaunchTemplateDiskConf&& value) { m_smallVolumeConf = std::move(value); }
193
195
198 inline long long GetSmallVolumeMaxSize() const{ return m_smallVolumeMaxSize; }
199 inline void SetSmallVolumeMaxSize(long long value) { m_smallVolumeMaxSize = value; }
202
204
207 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
208 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
209 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
212 inline UpdateLaunchConfigurationTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
213 inline UpdateLaunchConfigurationTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
214 inline UpdateLaunchConfigurationTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
215 inline UpdateLaunchConfigurationTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
216 inline UpdateLaunchConfigurationTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
217 inline UpdateLaunchConfigurationTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
218 inline UpdateLaunchConfigurationTemplateResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
220
222
225 inline const TargetInstanceTypeRightSizingMethod& GetTargetInstanceTypeRightSizingMethod() const{ return m_targetInstanceTypeRightSizingMethod; }
226 inline void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod& value) { m_targetInstanceTypeRightSizingMethod = value; }
227 inline void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod&& value) { m_targetInstanceTypeRightSizingMethod = std::move(value); }
231
233
234 inline const Aws::String& GetRequestId() const{ return m_requestId; }
235 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
236 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
237 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
239 inline UpdateLaunchConfigurationTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
240 inline UpdateLaunchConfigurationTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
242 private:
243
244 Aws::String m_arn;
245
246 bool m_associatePublicIpAddress;
247
248 BootMode m_bootMode;
249
250 bool m_copyPrivateIp;
251
252 bool m_copyTags;
253
254 Aws::String m_ec2LaunchTemplateID;
255
256 bool m_enableMapAutoTagging;
257
258 LaunchTemplateDiskConf m_largeVolumeConf;
259
260 Aws::String m_launchConfigurationTemplateID;
261
262 LaunchDisposition m_launchDisposition;
263
264 Licensing m_licensing;
265
266 Aws::String m_mapAutoTaggingMpeID;
267
268 PostLaunchActions m_postLaunchActions;
269
270 LaunchTemplateDiskConf m_smallVolumeConf;
271
272 long long m_smallVolumeMaxSize;
273
275
276 TargetInstanceTypeRightSizingMethod m_targetInstanceTypeRightSizingMethod;
277
278 Aws::String m_requestId;
279 };
280
281} // namespace Model
282} // namespace mgn
283} // namespace Aws
UpdateLaunchConfigurationTemplateResult & WithArn(const Aws::String &value)
UpdateLaunchConfigurationTemplateResult & WithAssociatePublicIpAddress(bool value)
UpdateLaunchConfigurationTemplateResult & AddTags(const char *key, Aws::String &&value)
UpdateLaunchConfigurationTemplateResult & WithEc2LaunchTemplateID(const char *value)
UpdateLaunchConfigurationTemplateResult & WithMapAutoTaggingMpeID(const char *value)
void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
UpdateLaunchConfigurationTemplateResult & WithBootMode(const BootMode &value)
UpdateLaunchConfigurationTemplateResult & WithRequestId(const char *value)
UpdateLaunchConfigurationTemplateResult & WithLaunchDisposition(LaunchDisposition &&value)
UpdateLaunchConfigurationTemplateResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateLaunchConfigurationTemplateResult & WithEc2LaunchTemplateID(Aws::String &&value)
UpdateLaunchConfigurationTemplateResult & WithSmallVolumeConf(const LaunchTemplateDiskConf &value)
UpdateLaunchConfigurationTemplateResult & WithLaunchConfigurationTemplateID(const char *value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
UpdateLaunchConfigurationTemplateResult & WithCopyPrivateIp(bool value)
UpdateLaunchConfigurationTemplateResult & WithPostLaunchActions(const PostLaunchActions &value)
UpdateLaunchConfigurationTemplateResult & WithLaunchConfigurationTemplateID(const Aws::String &value)
UpdateLaunchConfigurationTemplateResult & AddTags(Aws::String &&key, const char *value)
UpdateLaunchConfigurationTemplateResult & WithTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
UpdateLaunchConfigurationTemplateResult & AddTags(const Aws::String &key, const Aws::String &value)
UpdateLaunchConfigurationTemplateResult & AddTags(Aws::String &&key, const Aws::String &value)
const TargetInstanceTypeRightSizingMethod & GetTargetInstanceTypeRightSizingMethod() const
UpdateLaunchConfigurationTemplateResult & WithLicensing(Licensing &&value)
UpdateLaunchConfigurationTemplateResult & WithCopyTags(bool value)
UpdateLaunchConfigurationTemplateResult & WithArn(Aws::String &&value)
UpdateLaunchConfigurationTemplateResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateLaunchConfigurationTemplateResult & WithLicensing(const Licensing &value)
UpdateLaunchConfigurationTemplateResult & AddTags(const char *key, const char *value)
UpdateLaunchConfigurationTemplateResult & WithEc2LaunchTemplateID(const Aws::String &value)
UpdateLaunchConfigurationTemplateResult & WithEnableMapAutoTagging(bool value)
UpdateLaunchConfigurationTemplateResult & WithLargeVolumeConf(const LaunchTemplateDiskConf &value)
AWS_MGN_API UpdateLaunchConfigurationTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLaunchConfigurationTemplateResult & WithLaunchConfigurationTemplateID(Aws::String &&value)
AWS_MGN_API UpdateLaunchConfigurationTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLaunchConfigurationTemplateResult & WithRequestId(const Aws::String &value)
UpdateLaunchConfigurationTemplateResult & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
UpdateLaunchConfigurationTemplateResult & AddTags(Aws::String &&key, Aws::String &&value)
UpdateLaunchConfigurationTemplateResult & WithBootMode(BootMode &&value)
UpdateLaunchConfigurationTemplateResult & WithLaunchDisposition(const LaunchDisposition &value)
UpdateLaunchConfigurationTemplateResult & WithArn(const char *value)
UpdateLaunchConfigurationTemplateResult & WithSmallVolumeConf(LaunchTemplateDiskConf &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateLaunchConfigurationTemplateResult & WithPostLaunchActions(PostLaunchActions &&value)
UpdateLaunchConfigurationTemplateResult & WithSmallVolumeMaxSize(long long value)
UpdateLaunchConfigurationTemplateResult & WithMapAutoTaggingMpeID(const Aws::String &value)
UpdateLaunchConfigurationTemplateResult & WithRequestId(Aws::String &&value)
UpdateLaunchConfigurationTemplateResult & WithLargeVolumeConf(LaunchTemplateDiskConf &&value)
UpdateLaunchConfigurationTemplateResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateLaunchConfigurationTemplateResult & WithMapAutoTaggingMpeID(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
Aws::Utils::Json::JsonValue JsonValue