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/core/utils/memory/stl/AWSString.h>
12#include <aws/mgn/model/LaunchDisposition.h>
13#include <aws/mgn/model/Licensing.h>
14#include <aws/mgn/model/PostLaunchActions.h>
15#include <aws/mgn/model/TargetInstanceTypeRightSizingMethod.h>
36 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateLaunchConfigurationTemplate"; }
67 inline void SetCopyPrivateIp(
bool value) { m_copyPrivateIpHasBeenSet =
true; m_copyPrivateIp = value; }
77 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
87 inline void SetEnableMapAutoTagging(
bool value) { m_enableMapAutoTaggingHasBeenSet =
true; m_enableMapAutoTagging = value; }
97 template<
typename LargeVolumeConfT = LaunchTemplateDiskConf>
98 void SetLargeVolumeConf(LargeVolumeConfT&& value) { m_largeVolumeConfHasBeenSet =
true; m_largeVolumeConf = std::forward<LargeVolumeConfT>(value); }
99 template<
typename LargeVolumeConfT = LaunchTemplateDiskConf>
109 template<
typename LaunchConfigurationTemplateIDT = Aws::String>
110 void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT&& value) { m_launchConfigurationTemplateIDHasBeenSet =
true; m_launchConfigurationTemplateID = std::forward<LaunchConfigurationTemplateIDT>(value); }
111 template<
typename LaunchConfigurationTemplateIDT = Aws::String>
129 template<
typename LicensingT = Licensing>
130 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet =
true; m_licensing = std::forward<LicensingT>(value); }
131 template<
typename LicensingT = Licensing>
141 template<
typename MapAutoTaggingMpeIDT = Aws::String>
142 void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT&& value) { m_mapAutoTaggingMpeIDHasBeenSet =
true; m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value); }
143 template<
typename MapAutoTaggingMpeIDT = Aws::String>
153 template<
typename PostLaunchActionsT = PostLaunchActions>
154 void SetPostLaunchActions(PostLaunchActionsT&& value) { m_postLaunchActionsHasBeenSet =
true; m_postLaunchActions = std::forward<PostLaunchActionsT>(value); }
155 template<
typename PostLaunchActionsT = PostLaunchActions>
165 template<
typename SmallVolumeConfT = LaunchTemplateDiskConf>
166 void SetSmallVolumeConf(SmallVolumeConfT&& value) { m_smallVolumeConfHasBeenSet =
true; m_smallVolumeConf = std::forward<SmallVolumeConfT>(value); }
167 template<
typename SmallVolumeConfT = LaunchTemplateDiskConf>
177 inline void SetSmallVolumeMaxSize(
long long value) { m_smallVolumeMaxSizeHasBeenSet =
true; m_smallVolumeMaxSize = value; }
192 bool m_associatePublicIpAddress{
false};
193 bool m_associatePublicIpAddressHasBeenSet =
false;
196 bool m_bootModeHasBeenSet =
false;
198 bool m_copyPrivateIp{
false};
199 bool m_copyPrivateIpHasBeenSet =
false;
201 bool m_copyTags{
false};
202 bool m_copyTagsHasBeenSet =
false;
204 bool m_enableMapAutoTagging{
false};
205 bool m_enableMapAutoTaggingHasBeenSet =
false;
207 LaunchTemplateDiskConf m_largeVolumeConf;
208 bool m_largeVolumeConfHasBeenSet =
false;
211 bool m_launchConfigurationTemplateIDHasBeenSet =
false;
214 bool m_launchDispositionHasBeenSet =
false;
216 Licensing m_licensing;
217 bool m_licensingHasBeenSet =
false;
220 bool m_mapAutoTaggingMpeIDHasBeenSet =
false;
222 PostLaunchActions m_postLaunchActions;
223 bool m_postLaunchActionsHasBeenSet =
false;
225 LaunchTemplateDiskConf m_smallVolumeConf;
226 bool m_smallVolumeConfHasBeenSet =
false;
228 long long m_smallVolumeMaxSize{0};
229 bool m_smallVolumeMaxSizeHasBeenSet =
false;
232 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
UpdateLaunchConfigurationTemplateRequest & WithLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
void SetLargeVolumeConf(LargeVolumeConfT &&value)
void SetLaunchDisposition(LaunchDisposition value)
bool SmallVolumeMaxSizeHasBeenSet() const
void SetSmallVolumeConf(SmallVolumeConfT &&value)
void SetAssociatePublicIpAddress(bool value)
void SetPostLaunchActions(PostLaunchActionsT &&value)
void SetLicensing(LicensingT &&value)
bool MapAutoTaggingMpeIDHasBeenSet() const
long long GetSmallVolumeMaxSize() const
UpdateLaunchConfigurationTemplateRequest & WithAssociatePublicIpAddress(bool value)
UpdateLaunchConfigurationTemplateRequest & WithBootMode(BootMode value)
bool SmallVolumeConfHasBeenSet() const
bool GetCopyPrivateIp() const
bool LicensingHasBeenSet() const
bool BootModeHasBeenSet() const
UpdateLaunchConfigurationTemplateRequest & WithSmallVolumeConf(SmallVolumeConfT &&value)
AWS_MGN_API UpdateLaunchConfigurationTemplateRequest()=default
UpdateLaunchConfigurationTemplateRequest & WithLicensing(LicensingT &&value)
void SetSmallVolumeMaxSize(long long value)
bool CopyTagsHasBeenSet() const
const LaunchTemplateDiskConf & GetSmallVolumeConf() const
AWS_MGN_API Aws::String SerializePayload() const override
UpdateLaunchConfigurationTemplateRequest & WithLaunchDisposition(LaunchDisposition value)
bool EnableMapAutoTaggingHasBeenSet() const
UpdateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
UpdateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
const Aws::String & GetLaunchConfigurationTemplateID() const
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
bool LargeVolumeConfHasBeenSet() const
UpdateLaunchConfigurationTemplateRequest & WithLargeVolumeConf(LargeVolumeConfT &&value)
bool AssociatePublicIpAddressHasBeenSet() const
LaunchDisposition GetLaunchDisposition() const
bool LaunchConfigurationTemplateIDHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
bool LaunchDispositionHasBeenSet() const
bool CopyPrivateIpHasBeenSet() const
const Aws::String & GetMapAutoTaggingMpeID() const
UpdateLaunchConfigurationTemplateRequest & WithCopyTags(bool value)
const PostLaunchActions & GetPostLaunchActions() const
bool GetEnableMapAutoTagging() const
BootMode GetBootMode() const
const Licensing & GetLicensing() const
bool PostLaunchActionsHasBeenSet() const
UpdateLaunchConfigurationTemplateRequest & WithPostLaunchActions(PostLaunchActionsT &&value)
void SetCopyTags(bool value)
UpdateLaunchConfigurationTemplateRequest & WithMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
bool GetAssociatePublicIpAddress() const
UpdateLaunchConfigurationTemplateRequest & WithSmallVolumeMaxSize(long long value)
void SetEnableMapAutoTagging(bool value)
void SetBootMode(BootMode value)
void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
void SetCopyPrivateIp(bool value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
UpdateLaunchConfigurationTemplateRequest & WithEnableMapAutoTagging(bool value)
const LaunchTemplateDiskConf & GetLargeVolumeConf() const
bool TargetInstanceTypeRightSizingMethodHasBeenSet() const
TargetInstanceTypeRightSizingMethod
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String