7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10#include <aws/mgn/model/BootMode.h>
11#include <aws/mgn/model/LaunchDisposition.h>
12#include <aws/mgn/model/LaunchTemplateDiskConf.h>
13#include <aws/mgn/model/Licensing.h>
14#include <aws/mgn/model/PostLaunchActions.h>
15#include <aws/mgn/model/TargetInstanceTypeRightSizingMethod.h>
20template <
typename RESULT_TYPE>
21class AmazonWebServiceResult;
41 template <
typename LaunchConfigurationTemplateIDT = Aws::String>
43 m_launchConfigurationTemplateIDHasBeenSet =
true;
44 m_launchConfigurationTemplateID = std::forward<LaunchConfigurationTemplateIDT>(value);
46 template <
typename LaunchConfigurationTemplateIDT = Aws::String>
58 template <
typename ArnT = Aws::String>
60 m_arnHasBeenSet =
true;
61 m_arn = std::forward<ArnT>(value);
63 template <
typename ArnT = Aws::String>
65 SetArn(std::forward<ArnT>(value));
75 template <
typename PostLaunchActionsT = PostLaunchActions>
77 m_postLaunchActionsHasBeenSet =
true;
78 m_postLaunchActions = std::forward<PostLaunchActionsT>(value);
80 template <
typename PostLaunchActionsT = PostLaunchActions>
93 m_enableMapAutoTaggingHasBeenSet =
true;
94 m_enableMapAutoTagging = value;
107 template <
typename MapAutoTaggingMpeIDT = Aws::String>
109 m_mapAutoTaggingMpeIDHasBeenSet =
true;
110 m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value);
112 template <
typename MapAutoTaggingMpeIDT = Aws::String>
124 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 m_tagsHasBeenSet =
true;
127 m_tags = std::forward<TagsT>(value);
129 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 SetTags(std::forward<TagsT>(value));
134 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
136 m_tagsHasBeenSet =
true;
137 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
147 template <
typename Ec2LaunchTemplateIDT = Aws::String>
149 m_ec2LaunchTemplateIDHasBeenSet =
true;
150 m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value);
152 template <
typename Ec2LaunchTemplateIDT = Aws::String>
165 m_launchDispositionHasBeenSet =
true;
166 m_launchDisposition = value;
179 return m_targetInstanceTypeRightSizingMethod;
182 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
183 m_targetInstanceTypeRightSizingMethod = value;
197 m_copyPrivateIpHasBeenSet =
true;
198 m_copyPrivateIp = value;
212 m_associatePublicIpAddressHasBeenSet =
true;
213 m_associatePublicIpAddress = value;
227 m_copyTagsHasBeenSet =
true;
239 template <
typename LicensingT = Licensing>
241 m_licensingHasBeenSet =
true;
242 m_licensing = std::forward<LicensingT>(value);
244 template <
typename LicensingT = Licensing>
257 m_bootModeHasBeenSet =
true;
272 m_smallVolumeMaxSizeHasBeenSet =
true;
273 m_smallVolumeMaxSize = value;
286 template <
typename SmallVolumeConfT = LaunchTemplateDiskConf>
288 m_smallVolumeConfHasBeenSet =
true;
289 m_smallVolumeConf = std::forward<SmallVolumeConfT>(value);
291 template <
typename SmallVolumeConfT = LaunchTemplateDiskConf>
303 template <
typename LargeVolumeConfT = LaunchTemplateDiskConf>
305 m_largeVolumeConfHasBeenSet =
true;
306 m_largeVolumeConf = std::forward<LargeVolumeConfT>(value);
308 template <
typename LargeVolumeConfT = LaunchTemplateDiskConf>
321 m_enableParametersEncryptionHasBeenSet =
true;
322 m_enableParametersEncryption = value;
335 template <
typename ParametersEncryptionKeyT = Aws::String>
337 m_parametersEncryptionKeyHasBeenSet =
true;
338 m_parametersEncryptionKey = std::forward<ParametersEncryptionKeyT>(value);
340 template <
typename ParametersEncryptionKeyT = Aws::String>
350 template <
typename RequestIdT = Aws::String>
352 m_requestIdHasBeenSet =
true;
353 m_requestId = std::forward<RequestIdT>(value);
355 template <
typename RequestIdT = Aws::String>
368 bool m_enableMapAutoTagging{
false};
380 bool m_copyPrivateIp{
false};
382 bool m_associatePublicIpAddress{
false};
384 bool m_copyTags{
false};
386 Licensing m_licensing;
390 long long m_smallVolumeMaxSize{0};
392 LaunchTemplateDiskConf m_smallVolumeConf;
394 LaunchTemplateDiskConf m_largeVolumeConf;
396 bool m_enableParametersEncryption{
false};
401 bool m_launchConfigurationTemplateIDHasBeenSet =
false;
402 bool m_arnHasBeenSet =
false;
403 bool m_postLaunchActionsHasBeenSet =
false;
404 bool m_enableMapAutoTaggingHasBeenSet =
false;
405 bool m_mapAutoTaggingMpeIDHasBeenSet =
false;
406 bool m_tagsHasBeenSet =
false;
407 bool m_ec2LaunchTemplateIDHasBeenSet =
false;
408 bool m_launchDispositionHasBeenSet =
false;
409 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
410 bool m_copyPrivateIpHasBeenSet =
false;
411 bool m_associatePublicIpAddressHasBeenSet =
false;
412 bool m_copyTagsHasBeenSet =
false;
413 bool m_licensingHasBeenSet =
false;
414 bool m_bootModeHasBeenSet =
false;
415 bool m_smallVolumeMaxSizeHasBeenSet =
false;
416 bool m_smallVolumeConfHasBeenSet =
false;
417 bool m_largeVolumeConfHasBeenSet =
false;
418 bool m_enableParametersEncryptionHasBeenSet =
false;
419 bool m_parametersEncryptionKeyHasBeenSet =
false;
420 bool m_requestIdHasBeenSet =
false;
void SetAssociatePublicIpAddress(bool value)
CreateLaunchConfigurationTemplateResult & WithRequestId(RequestIdT &&value)
LaunchDisposition GetLaunchDisposition() const
CreateLaunchConfigurationTemplateResult & WithLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
bool GetEnableMapAutoTagging() const
const Licensing & GetLicensing() const
long long GetSmallVolumeMaxSize() const
const PostLaunchActions & GetPostLaunchActions() const
void SetSmallVolumeConf(SmallVolumeConfT &&value)
CreateLaunchConfigurationTemplateResult & WithEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
bool GetCopyPrivateIp() const
CreateLaunchConfigurationTemplateResult & WithParametersEncryptionKey(ParametersEncryptionKeyT &&value)
const Aws::String & GetMapAutoTaggingMpeID() const
void SetEnableMapAutoTagging(bool value)
CreateLaunchConfigurationTemplateResult & WithLargeVolumeConf(LargeVolumeConfT &&value)
CreateLaunchConfigurationTemplateResult & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
void SetCopyPrivateIp(bool value)
void SetArn(ArnT &&value)
void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
CreateLaunchConfigurationTemplateResult & WithSmallVolumeMaxSize(long long value)
const Aws::String & GetRequestId() const
void SetCopyTags(bool value)
CreateLaunchConfigurationTemplateResult & WithEnableParametersEncryption(bool value)
const Aws::String & GetArn() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateLaunchConfigurationTemplateResult & WithPostLaunchActions(PostLaunchActionsT &&value)
AWS_MGN_API CreateLaunchConfigurationTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateLaunchConfigurationTemplateResult & WithBootMode(BootMode value)
bool GetAssociatePublicIpAddress() const
CreateLaunchConfigurationTemplateResult & WithLaunchDisposition(LaunchDisposition value)
BootMode GetBootMode() const
void SetSmallVolumeMaxSize(long long value)
CreateLaunchConfigurationTemplateResult & WithLicensing(LicensingT &&value)
CreateLaunchConfigurationTemplateResult & WithSmallVolumeConf(SmallVolumeConfT &&value)
AWS_MGN_API CreateLaunchConfigurationTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetParametersEncryptionKey() const
CreateLaunchConfigurationTemplateResult & WithAssociatePublicIpAddress(bool value)
CreateLaunchConfigurationTemplateResult & WithCopyPrivateIp(bool value)
AWS_MGN_API CreateLaunchConfigurationTemplateResult()=default
const Aws::String & GetEc2LaunchTemplateID() const
const LaunchTemplateDiskConf & GetLargeVolumeConf() const
void SetLaunchDisposition(LaunchDisposition value)
bool GetEnableParametersEncryption() const
void SetParametersEncryptionKey(ParametersEncryptionKeyT &&value)
void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
CreateLaunchConfigurationTemplateResult & WithTags(TagsT &&value)
const Aws::String & GetLaunchConfigurationTemplateID() const
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
void SetLicensing(LicensingT &&value)
CreateLaunchConfigurationTemplateResult & WithEnableMapAutoTagging(bool value)
CreateLaunchConfigurationTemplateResult & WithCopyTags(bool value)
CreateLaunchConfigurationTemplateResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetEnableParametersEncryption(bool value)
void SetLargeVolumeConf(LargeVolumeConfT &&value)
void SetPostLaunchActions(PostLaunchActionsT &&value)
void SetTags(TagsT &&value)
const LaunchTemplateDiskConf & GetSmallVolumeConf() const
void SetBootMode(BootMode value)
CreateLaunchConfigurationTemplateResult & WithArn(ArnT &&value)
CreateLaunchConfigurationTemplateResult & WithMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
void SetRequestId(RequestIdT &&value)
TargetInstanceTypeRightSizingMethod
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