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>
42 template <
typename LaunchConfigurationTemplateIDT = Aws::String>
44 m_launchConfigurationTemplateIDHasBeenSet =
true;
45 m_launchConfigurationTemplateID = std::forward<LaunchConfigurationTemplateIDT>(value);
47 template <
typename LaunchConfigurationTemplateIDT = Aws::String>
60 template <
typename ArnT = Aws::String>
62 m_arnHasBeenSet =
true;
63 m_arn = std::forward<ArnT>(value);
65 template <
typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
78 template <
typename PostLaunchActionsT = PostLaunchActions>
80 m_postLaunchActionsHasBeenSet =
true;
81 m_postLaunchActions = std::forward<PostLaunchActionsT>(value);
83 template <
typename PostLaunchActionsT = PostLaunchActions>
97 m_enableMapAutoTaggingHasBeenSet =
true;
98 m_enableMapAutoTagging = value;
112 template <
typename MapAutoTaggingMpeIDT = Aws::String>
114 m_mapAutoTaggingMpeIDHasBeenSet =
true;
115 m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value);
117 template <
typename MapAutoTaggingMpeIDT = Aws::String>
130 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 m_tagsHasBeenSet =
true;
133 m_tags = std::forward<TagsT>(value);
135 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 SetTags(std::forward<TagsT>(value));
140 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
142 m_tagsHasBeenSet =
true;
143 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
154 template <
typename Ec2LaunchTemplateIDT = Aws::String>
156 m_ec2LaunchTemplateIDHasBeenSet =
true;
157 m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value);
159 template <
typename Ec2LaunchTemplateIDT = Aws::String>
173 m_launchDispositionHasBeenSet =
true;
174 m_launchDisposition = value;
187 return m_targetInstanceTypeRightSizingMethod;
191 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
192 m_targetInstanceTypeRightSizingMethod = value;
207 m_copyPrivateIpHasBeenSet =
true;
208 m_copyPrivateIp = value;
223 m_associatePublicIpAddressHasBeenSet =
true;
224 m_associatePublicIpAddress = value;
239 m_copyTagsHasBeenSet =
true;
252 template <
typename LicensingT = Licensing>
254 m_licensingHasBeenSet =
true;
255 m_licensing = std::forward<LicensingT>(value);
257 template <
typename LicensingT = Licensing>
271 m_bootModeHasBeenSet =
true;
287 m_smallVolumeMaxSizeHasBeenSet =
true;
288 m_smallVolumeMaxSize = value;
302 template <
typename SmallVolumeConfT = LaunchTemplateDiskConf>
304 m_smallVolumeConfHasBeenSet =
true;
305 m_smallVolumeConf = std::forward<SmallVolumeConfT>(value);
307 template <
typename SmallVolumeConfT = LaunchTemplateDiskConf>
320 template <
typename LargeVolumeConfT = LaunchTemplateDiskConf>
322 m_largeVolumeConfHasBeenSet =
true;
323 m_largeVolumeConf = std::forward<LargeVolumeConfT>(value);
325 template <
typename LargeVolumeConfT = LaunchTemplateDiskConf>
339 m_enableParametersEncryptionHasBeenSet =
true;
340 m_enableParametersEncryption = value;
354 template <
typename ParametersEncryptionKeyT = Aws::String>
356 m_parametersEncryptionKeyHasBeenSet =
true;
357 m_parametersEncryptionKey = std::forward<ParametersEncryptionKeyT>(value);
359 template <
typename ParametersEncryptionKeyT = Aws::String>
370 template <
typename RequestIdT = Aws::String>
372 m_requestIdHasBeenSet =
true;
373 m_requestId = std::forward<RequestIdT>(value);
375 template <
typename RequestIdT = Aws::String>
388 bool m_enableMapAutoTagging{
false};
400 bool m_copyPrivateIp{
false};
402 bool m_associatePublicIpAddress{
false};
404 bool m_copyTags{
false};
406 Licensing m_licensing;
410 long long m_smallVolumeMaxSize{0};
412 LaunchTemplateDiskConf m_smallVolumeConf;
414 LaunchTemplateDiskConf m_largeVolumeConf;
416 bool m_enableParametersEncryption{
false};
421 bool m_launchConfigurationTemplateIDHasBeenSet =
false;
422 bool m_arnHasBeenSet =
false;
423 bool m_postLaunchActionsHasBeenSet =
false;
424 bool m_enableMapAutoTaggingHasBeenSet =
false;
425 bool m_mapAutoTaggingMpeIDHasBeenSet =
false;
426 bool m_tagsHasBeenSet =
false;
427 bool m_ec2LaunchTemplateIDHasBeenSet =
false;
428 bool m_launchDispositionHasBeenSet =
false;
429 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
430 bool m_copyPrivateIpHasBeenSet =
false;
431 bool m_associatePublicIpAddressHasBeenSet =
false;
432 bool m_copyTagsHasBeenSet =
false;
433 bool m_licensingHasBeenSet =
false;
434 bool m_bootModeHasBeenSet =
false;
435 bool m_smallVolumeMaxSizeHasBeenSet =
false;
436 bool m_smallVolumeConfHasBeenSet =
false;
437 bool m_largeVolumeConfHasBeenSet =
false;
438 bool m_enableParametersEncryptionHasBeenSet =
false;
439 bool m_parametersEncryptionKeyHasBeenSet =
false;
440 bool m_requestIdHasBeenSet =
false;
bool Ec2LaunchTemplateIDHasBeenSet() const
const Aws::String & GetEc2LaunchTemplateID() const
LaunchConfigurationTemplate & WithLicensing(LicensingT &&value)
const Aws::String & GetLaunchConfigurationTemplateID() const
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRequestId(RequestIdT &&value)
bool LaunchDispositionHasBeenSet() const
LaunchConfigurationTemplate & WithRequestId(RequestIdT &&value)
LaunchConfigurationTemplate & WithLaunchDisposition(LaunchDisposition value)
bool CopyPrivateIpHasBeenSet() const
LaunchConfigurationTemplate & WithCopyPrivateIp(bool value)
void SetArn(ArnT &&value)
LaunchConfigurationTemplate & WithEnableParametersEncryption(bool value)
void SetLicensing(LicensingT &&value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
bool LaunchConfigurationTemplateIDHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool LicensingHasBeenSet() const
void SetCopyTags(bool value)
AWS_MGN_API LaunchConfigurationTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ArnHasBeenSet() const
LaunchConfigurationTemplate & WithSmallVolumeMaxSize(long long value)
const LaunchTemplateDiskConf & GetLargeVolumeConf() const
bool GetAssociatePublicIpAddress() const
LaunchConfigurationTemplate & WithLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
LaunchConfigurationTemplate & WithEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
bool MapAutoTaggingMpeIDHasBeenSet() const
void SetSmallVolumeConf(SmallVolumeConfT &&value)
bool EnableMapAutoTaggingHasBeenSet() const
BootMode GetBootMode() const
void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
bool GetEnableParametersEncryption() const
const LaunchTemplateDiskConf & GetSmallVolumeConf() const
LaunchConfigurationTemplate & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TagsHasBeenSet() const
void SetEnableParametersEncryption(bool value)
void SetLaunchDisposition(LaunchDisposition value)
void SetLargeVolumeConf(LargeVolumeConfT &&value)
const Aws::String & GetArn() const
void SetSmallVolumeMaxSize(long long value)
LaunchConfigurationTemplate & WithLargeVolumeConf(LargeVolumeConfT &&value)
LaunchConfigurationTemplate & WithSmallVolumeConf(SmallVolumeConfT &&value)
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
bool PostLaunchActionsHasBeenSet() const
LaunchConfigurationTemplate & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
const Aws::String & GetMapAutoTaggingMpeID() const
const Licensing & GetLicensing() const
bool TargetInstanceTypeRightSizingMethodHasBeenSet() const
const PostLaunchActions & GetPostLaunchActions() const
const Aws::String & GetRequestId() const
LaunchConfigurationTemplate & WithMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
bool LargeVolumeConfHasBeenSet() const
LaunchConfigurationTemplate & WithPostLaunchActions(PostLaunchActionsT &&value)
bool AssociatePublicIpAddressHasBeenSet() const
LaunchConfigurationTemplate & WithEnableMapAutoTagging(bool value)
AWS_MGN_API LaunchConfigurationTemplate()=default
bool SmallVolumeConfHasBeenSet() const
LaunchConfigurationTemplate & WithArn(ArnT &&value)
bool BootModeHasBeenSet() const
LaunchConfigurationTemplate & WithTags(TagsT &&value)
bool CopyTagsHasBeenSet() const
const Aws::String & GetParametersEncryptionKey() const
void SetBootMode(BootMode value)
AWS_MGN_API LaunchConfigurationTemplate(Aws::Utils::Json::JsonView jsonValue)
void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
LaunchConfigurationTemplate & WithCopyTags(bool value)
void SetEnableMapAutoTagging(bool value)
bool ParametersEncryptionKeyHasBeenSet() const
bool SmallVolumeMaxSizeHasBeenSet() const
LaunchConfigurationTemplate & WithBootMode(BootMode value)
LaunchDisposition GetLaunchDisposition() const
void SetParametersEncryptionKey(ParametersEncryptionKeyT &&value)
void SetAssociatePublicIpAddress(bool value)
long long GetSmallVolumeMaxSize() const
bool EnableParametersEncryptionHasBeenSet() const
bool GetCopyPrivateIp() const
void SetPostLaunchActions(PostLaunchActionsT &&value)
bool RequestIdHasBeenSet() const
LaunchConfigurationTemplate & WithParametersEncryptionKey(ParametersEncryptionKeyT &&value)
bool GetEnableMapAutoTagging() const
void SetCopyPrivateIp(bool value)
void SetTags(TagsT &&value)
LaunchConfigurationTemplate & WithAssociatePublicIpAddress(bool 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