7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.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/core/utils/memory/stl/AWSString.h>
14#include <aws/mgn/model/PostLaunchActions.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/mgn/model/TargetInstanceTypeRightSizingMethod.h>
37 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateLaunchConfigurationTemplate"; }
59 inline void SetBootMode(
BootMode&& value) { m_bootModeHasBeenSet =
true; m_bootMode = std::move(value); }
70 inline void SetCopyPrivateIp(
bool value) { m_copyPrivateIpHasBeenSet =
true; m_copyPrivateIp = value; }
80 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
90 inline void SetEnableMapAutoTagging(
bool value) { m_enableMapAutoTaggingHasBeenSet =
true; m_enableMapAutoTagging = value; }
136 inline void SetMapAutoTaggingMpeID(
const char* value) { m_mapAutoTaggingMpeIDHasBeenSet =
true; m_mapAutoTaggingMpeID.assign(value); }
172 inline void SetSmallVolumeMaxSize(
long long value) { m_smallVolumeMaxSizeHasBeenSet =
true; m_smallVolumeMaxSize = value; }
209 bool m_associatePublicIpAddress;
210 bool m_associatePublicIpAddressHasBeenSet =
false;
213 bool m_bootModeHasBeenSet =
false;
215 bool m_copyPrivateIp;
216 bool m_copyPrivateIpHasBeenSet =
false;
219 bool m_copyTagsHasBeenSet =
false;
221 bool m_enableMapAutoTagging;
222 bool m_enableMapAutoTaggingHasBeenSet =
false;
225 bool m_largeVolumeConfHasBeenSet =
false;
228 bool m_launchDispositionHasBeenSet =
false;
231 bool m_licensingHasBeenSet =
false;
234 bool m_mapAutoTaggingMpeIDHasBeenSet =
false;
237 bool m_postLaunchActionsHasBeenSet =
false;
240 bool m_smallVolumeConfHasBeenSet =
false;
242 long long m_smallVolumeMaxSize;
243 bool m_smallVolumeMaxSizeHasBeenSet =
false;
246 bool m_tagsHasBeenSet =
false;
249 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
CreateLaunchConfigurationTemplateRequest & WithAssociatePublicIpAddress(bool value)
bool TagsHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLicensing(Licensing &&value)
CreateLaunchConfigurationTemplateRequest & WithLaunchDisposition(const LaunchDisposition &value)
CreateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
CreateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
const PostLaunchActions & GetPostLaunchActions() const
bool CopyTagsHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithLaunchDisposition(LaunchDisposition &&value)
void SetEnableMapAutoTagging(bool value)
CreateLaunchConfigurationTemplateRequest & WithLicensing(Licensing &&value)
CreateLaunchConfigurationTemplateRequest & WithSmallVolumeMaxSize(long long value)
const Licensing & GetLicensing() const
void SetSmallVolumeMaxSize(long long value)
bool GetAssociatePublicIpAddress() const
void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
void SetCopyTags(bool value)
AWS_MGN_API CreateLaunchConfigurationTemplateRequest()
const TargetInstanceTypeRightSizingMethod & GetTargetInstanceTypeRightSizingMethod() const
void SetLargeVolumeConf(LaunchTemplateDiskConf &&value)
bool LargeVolumeConfHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithPostLaunchActions(const PostLaunchActions &value)
bool AssociatePublicIpAddressHasBeenSet() const
void SetCopyPrivateIp(bool value)
CreateLaunchConfigurationTemplateRequest & AddTags(const char *key, const char *value)
virtual const char * GetServiceRequestName() const override
void SetBootMode(const BootMode &value)
CreateLaunchConfigurationTemplateRequest & WithCopyTags(bool value)
void SetAssociatePublicIpAddress(bool value)
const LaunchTemplateDiskConf & GetLargeVolumeConf() const
void SetMapAutoTaggingMpeID(const Aws::String &value)
void SetBootMode(BootMode &&value)
CreateLaunchConfigurationTemplateRequest & AddTags(const char *key, Aws::String &&value)
void SetLicensing(const Licensing &value)
CreateLaunchConfigurationTemplateRequest & WithSmallVolumeConf(LaunchTemplateDiskConf &&value)
bool GetEnableMapAutoTagging() const
void SetSmallVolumeConf(const LaunchTemplateDiskConf &value)
const LaunchTemplateDiskConf & GetSmallVolumeConf() const
bool BootModeHasBeenSet() const
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
CreateLaunchConfigurationTemplateRequest & WithBootMode(const BootMode &value)
bool GetCopyPrivateIp() const
void SetMapAutoTaggingMpeID(Aws::String &&value)
CreateLaunchConfigurationTemplateRequest & AddTags(Aws::String &&key, const char *value)
bool MapAutoTaggingMpeIDHasBeenSet() const
bool SmallVolumeMaxSizeHasBeenSet() const
AWS_MGN_API Aws::String SerializePayload() const override
CreateLaunchConfigurationTemplateRequest & WithLargeVolumeConf(LaunchTemplateDiskConf &&value)
CreateLaunchConfigurationTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLaunchConfigurationTemplateRequest & WithPostLaunchActions(PostLaunchActions &&value)
CreateLaunchConfigurationTemplateRequest & WithLicensing(const Licensing &value)
CreateLaunchConfigurationTemplateRequest & WithMapAutoTaggingMpeID(Aws::String &&value)
long long GetSmallVolumeMaxSize() const
CreateLaunchConfigurationTemplateRequest & WithBootMode(BootMode &&value)
CreateLaunchConfigurationTemplateRequest & WithMapAutoTaggingMpeID(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetMapAutoTaggingMpeID() const
void SetLargeVolumeConf(const LaunchTemplateDiskConf &value)
CreateLaunchConfigurationTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateLaunchConfigurationTemplateRequest & WithSmallVolumeConf(const LaunchTemplateDiskConf &value)
bool PostLaunchActionsHasBeenSet() const
bool SmallVolumeConfHasBeenSet() const
bool LaunchDispositionHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
CreateLaunchConfigurationTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateLaunchConfigurationTemplateRequest & AddTags(const Aws::String &key, const Aws::String &value)
bool LicensingHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateLaunchConfigurationTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateLaunchConfigurationTemplateRequest & WithMapAutoTaggingMpeID(const char *value)
void SetLaunchDisposition(const LaunchDisposition &value)
const BootMode & GetBootMode() const
void SetLaunchDisposition(LaunchDisposition &&value)
const LaunchDisposition & GetLaunchDisposition() const
void SetMapAutoTaggingMpeID(const char *value)
void SetSmallVolumeConf(LaunchTemplateDiskConf &&value)
CreateLaunchConfigurationTemplateRequest & WithLargeVolumeConf(const LaunchTemplateDiskConf &value)
bool EnableMapAutoTaggingHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithEnableMapAutoTagging(bool value)
void SetPostLaunchActions(PostLaunchActions &&value)
void SetPostLaunchActions(const PostLaunchActions &value)
bool CopyPrivateIpHasBeenSet() const
bool TargetInstanceTypeRightSizingMethodHasBeenSet() const
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