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"; }
68 inline void SetCopyPrivateIp(
bool value) { m_copyPrivateIpHasBeenSet =
true; m_copyPrivateIp = value; }
78 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
88 inline void SetEnableMapAutoTagging(
bool value) { m_enableMapAutoTaggingHasBeenSet =
true; m_enableMapAutoTagging = value; }
98 template<
typename LargeVolumeConfT = LaunchTemplateDiskConf>
99 void SetLargeVolumeConf(LargeVolumeConfT&& value) { m_largeVolumeConfHasBeenSet =
true; m_largeVolumeConf = std::forward<LargeVolumeConfT>(value); }
100 template<
typename LargeVolumeConfT = LaunchTemplateDiskConf>
118 template<
typename LicensingT = Licensing>
119 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet =
true; m_licensing = std::forward<LicensingT>(value); }
120 template<
typename LicensingT = Licensing>
130 template<
typename MapAutoTaggingMpeIDT = Aws::String>
131 void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT&& value) { m_mapAutoTaggingMpeIDHasBeenSet =
true; m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value); }
132 template<
typename MapAutoTaggingMpeIDT = Aws::String>
142 template<
typename PostLaunchActionsT = PostLaunchActions>
143 void SetPostLaunchActions(PostLaunchActionsT&& value) { m_postLaunchActionsHasBeenSet =
true; m_postLaunchActions = std::forward<PostLaunchActionsT>(value); }
144 template<
typename PostLaunchActionsT = PostLaunchActions>
154 template<
typename SmallVolumeConfT = LaunchTemplateDiskConf>
155 void SetSmallVolumeConf(SmallVolumeConfT&& value) { m_smallVolumeConfHasBeenSet =
true; m_smallVolumeConf = std::forward<SmallVolumeConfT>(value); }
156 template<
typename SmallVolumeConfT = LaunchTemplateDiskConf>
166 inline void SetSmallVolumeMaxSize(
long long value) { m_smallVolumeMaxSizeHasBeenSet =
true; m_smallVolumeMaxSize = value; }
177 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
178 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
179 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
181 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
183 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
198 bool m_associatePublicIpAddress{
false};
199 bool m_associatePublicIpAddressHasBeenSet =
false;
202 bool m_bootModeHasBeenSet =
false;
204 bool m_copyPrivateIp{
false};
205 bool m_copyPrivateIpHasBeenSet =
false;
207 bool m_copyTags{
false};
208 bool m_copyTagsHasBeenSet =
false;
210 bool m_enableMapAutoTagging{
false};
211 bool m_enableMapAutoTaggingHasBeenSet =
false;
213 LaunchTemplateDiskConf m_largeVolumeConf;
214 bool m_largeVolumeConfHasBeenSet =
false;
217 bool m_launchDispositionHasBeenSet =
false;
219 Licensing m_licensing;
220 bool m_licensingHasBeenSet =
false;
223 bool m_mapAutoTaggingMpeIDHasBeenSet =
false;
225 PostLaunchActions m_postLaunchActions;
226 bool m_postLaunchActionsHasBeenSet =
false;
228 LaunchTemplateDiskConf m_smallVolumeConf;
229 bool m_smallVolumeConfHasBeenSet =
false;
231 long long m_smallVolumeMaxSize{0};
232 bool m_smallVolumeMaxSizeHasBeenSet =
false;
235 bool m_tagsHasBeenSet =
false;
238 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
CreateLaunchConfigurationTemplateRequest & WithAssociatePublicIpAddress(bool value)
CreateLaunchConfigurationTemplateRequest & WithMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
bool TagsHasBeenSet() const
const PostLaunchActions & GetPostLaunchActions() const
CreateLaunchConfigurationTemplateRequest & WithSmallVolumeConf(SmallVolumeConfT &&value)
bool CopyTagsHasBeenSet() const
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
void SetEnableMapAutoTagging(bool value)
void SetLicensing(LicensingT &&value)
CreateLaunchConfigurationTemplateRequest & WithSmallVolumeMaxSize(long long value)
const Licensing & GetLicensing() const
CreateLaunchConfigurationTemplateRequest & WithBootMode(BootMode value)
void SetSmallVolumeMaxSize(long long value)
bool GetAssociatePublicIpAddress() const
BootMode GetBootMode() const
void SetCopyTags(bool value)
void SetPostLaunchActions(PostLaunchActionsT &&value)
bool LargeVolumeConfHasBeenSet() const
bool AssociatePublicIpAddressHasBeenSet() const
void SetCopyPrivateIp(bool value)
virtual const char * GetServiceRequestName() const override
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
CreateLaunchConfigurationTemplateRequest & WithCopyTags(bool value)
void SetAssociatePublicIpAddress(bool value)
const LaunchTemplateDiskConf & GetLargeVolumeConf() const
AWS_MGN_API CreateLaunchConfigurationTemplateRequest()=default
bool GetEnableMapAutoTagging() const
const LaunchTemplateDiskConf & GetSmallVolumeConf() const
bool BootModeHasBeenSet() const
void SetTags(TagsT &&value)
bool GetCopyPrivateIp() const
CreateLaunchConfigurationTemplateRequest & WithTags(TagsT &&value)
void SetBootMode(BootMode value)
bool MapAutoTaggingMpeIDHasBeenSet() const
bool SmallVolumeMaxSizeHasBeenSet() const
AWS_MGN_API Aws::String SerializePayload() const override
void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
CreateLaunchConfigurationTemplateRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
long long GetSmallVolumeMaxSize() const
void SetLargeVolumeConf(LargeVolumeConfT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetMapAutoTaggingMpeID() const
void SetSmallVolumeConf(SmallVolumeConfT &&value)
CreateLaunchConfigurationTemplateRequest & WithLargeVolumeConf(LargeVolumeConfT &&value)
bool PostLaunchActionsHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithLaunchDisposition(LaunchDisposition value)
CreateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
CreateLaunchConfigurationTemplateRequest & WithPostLaunchActions(PostLaunchActionsT &&value)
bool SmallVolumeConfHasBeenSet() const
bool LaunchDispositionHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
CreateLaunchConfigurationTemplateRequest & WithLicensing(LicensingT &&value)
bool LicensingHasBeenSet() const
void SetLaunchDisposition(LaunchDisposition value)
bool EnableMapAutoTaggingHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithEnableMapAutoTagging(bool value)
LaunchDisposition GetLaunchDisposition() const
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