AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateLaunchConfigurationTemplateResult.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 CreateLaunchConfigurationTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline CreateLaunchConfigurationTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline CreateLaunchConfigurationTemplateResult& 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 CreateLaunchConfigurationTemplateResult& WithBootMode(const BootMode& value) { SetBootMode(value); return *this;}
72 inline CreateLaunchConfigurationTemplateResult& 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 CreateLaunchConfigurationTemplateResult& 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 CreateLaunchConfigurationTemplateResult& 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 CreateLaunchConfigurationTemplateResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
213 inline CreateLaunchConfigurationTemplateResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
214 inline CreateLaunchConfigurationTemplateResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
215 inline CreateLaunchConfigurationTemplateResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
216 inline CreateLaunchConfigurationTemplateResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
217 inline CreateLaunchConfigurationTemplateResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
218 inline CreateLaunchConfigurationTemplateResult& 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 CreateLaunchConfigurationTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
240 inline CreateLaunchConfigurationTemplateResult& 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
CreateLaunchConfigurationTemplateResult & WithEc2LaunchTemplateID(Aws::String &&value)
CreateLaunchConfigurationTemplateResult & WithPostLaunchActions(PostLaunchActions &&value)
CreateLaunchConfigurationTemplateResult & WithEc2LaunchTemplateID(const char *value)
CreateLaunchConfigurationTemplateResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLaunchConfigurationTemplateResult & WithLicensing(const Licensing &value)
CreateLaunchConfigurationTemplateResult & WithEc2LaunchTemplateID(const Aws::String &value)
CreateLaunchConfigurationTemplateResult & AddTags(Aws::String &&key, const char *value)
const TargetInstanceTypeRightSizingMethod & GetTargetInstanceTypeRightSizingMethod() const
CreateLaunchConfigurationTemplateResult & WithMapAutoTaggingMpeID(const Aws::String &value)
CreateLaunchConfigurationTemplateResult & WithMapAutoTaggingMpeID(Aws::String &&value)
CreateLaunchConfigurationTemplateResult & WithPostLaunchActions(const PostLaunchActions &value)
CreateLaunchConfigurationTemplateResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLaunchConfigurationTemplateResult & WithRequestId(const Aws::String &value)
CreateLaunchConfigurationTemplateResult & WithBootMode(BootMode &&value)
void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
CreateLaunchConfigurationTemplateResult & AddTags(Aws::String &&key, Aws::String &&value)
CreateLaunchConfigurationTemplateResult & WithSmallVolumeMaxSize(long long value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
CreateLaunchConfigurationTemplateResult & WithSmallVolumeConf(LaunchTemplateDiskConf &&value)
CreateLaunchConfigurationTemplateResult & AddTags(const char *key, Aws::String &&value)
CreateLaunchConfigurationTemplateResult & WithArn(Aws::String &&value)
AWS_MGN_API CreateLaunchConfigurationTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLaunchConfigurationTemplateResult & WithLaunchConfigurationTemplateID(Aws::String &&value)
CreateLaunchConfigurationTemplateResult & WithSmallVolumeConf(const LaunchTemplateDiskConf &value)
CreateLaunchConfigurationTemplateResult & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
CreateLaunchConfigurationTemplateResult & WithArn(const char *value)
CreateLaunchConfigurationTemplateResult & WithRequestId(const char *value)
AWS_MGN_API CreateLaunchConfigurationTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLaunchConfigurationTemplateResult & WithLaunchDisposition(LaunchDisposition &&value)
CreateLaunchConfigurationTemplateResult & WithAssociatePublicIpAddress(bool value)
CreateLaunchConfigurationTemplateResult & WithCopyPrivateIp(bool value)
CreateLaunchConfigurationTemplateResult & WithLaunchConfigurationTemplateID(const char *value)
CreateLaunchConfigurationTemplateResult & WithLaunchConfigurationTemplateID(const Aws::String &value)
CreateLaunchConfigurationTemplateResult & AddTags(const char *key, const char *value)
CreateLaunchConfigurationTemplateResult & WithRequestId(Aws::String &&value)
CreateLaunchConfigurationTemplateResult & WithArn(const Aws::String &value)
CreateLaunchConfigurationTemplateResult & WithMapAutoTaggingMpeID(const char *value)
CreateLaunchConfigurationTemplateResult & AddTags(const Aws::String &key, const Aws::String &value)
CreateLaunchConfigurationTemplateResult & WithTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
CreateLaunchConfigurationTemplateResult & WithEnableMapAutoTagging(bool value)
CreateLaunchConfigurationTemplateResult & WithCopyTags(bool value)
CreateLaunchConfigurationTemplateResult & AddTags(const Aws::String &key, Aws::String &&value)
CreateLaunchConfigurationTemplateResult & WithBootMode(const BootMode &value)
CreateLaunchConfigurationTemplateResult & WithLargeVolumeConf(LaunchTemplateDiskConf &&value)
CreateLaunchConfigurationTemplateResult & WithLargeVolumeConf(const LaunchTemplateDiskConf &value)
CreateLaunchConfigurationTemplateResult & AddTags(Aws::String &&key, const Aws::String &value)
CreateLaunchConfigurationTemplateResult & WithLicensing(Licensing &&value)
CreateLaunchConfigurationTemplateResult & WithLaunchDisposition(const LaunchDisposition &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