7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/drs/model/LaunchDisposition.h>
11#include <aws/drs/model/Licensing.h>
12#include <aws/drs/model/TargetInstanceTypeRightSizingMethod.h>
33 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateLaunchConfigurationTemplate"; }
44 inline void SetCopyPrivateIp(
bool value) { m_copyPrivateIpHasBeenSet =
true; m_copyPrivateIp = value; }
54 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
64 template<
typename ExportBucketArnT = Aws::String>
65 void SetExportBucketArn(ExportBucketArnT&& value) { m_exportBucketArnHasBeenSet =
true; m_exportBucketArn = std::forward<ExportBucketArnT>(value); }
66 template<
typename ExportBucketArnT = Aws::String>
76 template<
typename LaunchConfigurationTemplateIDT = Aws::String>
77 void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT&& value) { m_launchConfigurationTemplateIDHasBeenSet =
true; m_launchConfigurationTemplateID = std::forward<LaunchConfigurationTemplateIDT>(value); }
78 template<
typename LaunchConfigurationTemplateIDT = Aws::String>
110 template<
typename LicensingT = Licensing>
111 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet =
true; m_licensing = std::forward<LicensingT>(value); }
112 template<
typename LicensingT = Licensing>
122 inline void SetPostLaunchEnabled(
bool value) { m_postLaunchEnabledHasBeenSet =
true; m_postLaunchEnabled = value; }
137 bool m_copyPrivateIp{
false};
138 bool m_copyPrivateIpHasBeenSet =
false;
140 bool m_copyTags{
false};
141 bool m_copyTagsHasBeenSet =
false;
144 bool m_exportBucketArnHasBeenSet =
false;
147 bool m_launchConfigurationTemplateIDHasBeenSet =
false;
150 bool m_launchDispositionHasBeenSet =
false;
152 bool m_launchIntoSourceInstance{
false};
153 bool m_launchIntoSourceInstanceHasBeenSet =
false;
155 Licensing m_licensing;
156 bool m_licensingHasBeenSet =
false;
158 bool m_postLaunchEnabled{
false};
159 bool m_postLaunchEnabledHasBeenSet =
false;
162 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
void SetPostLaunchEnabled(bool value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchDisposition(LaunchDisposition value)
bool LicensingHasBeenSet() const
void SetExportBucketArn(ExportBucketArnT &&value)
void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
const Aws::String & GetLaunchConfigurationTemplateID() const
const Licensing & GetLicensing() const
void SetLicensing(LicensingT &&value)
AWS_DRS_API UpdateLaunchConfigurationTemplateRequest()=default
bool ExportBucketArnHasBeenSet() const
UpdateLaunchConfigurationTemplateRequest & WithPostLaunchEnabled(bool value)
void SetLaunchDisposition(LaunchDisposition value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchIntoSourceInstance(bool value)
UpdateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
void SetCopyPrivateIp(bool value)
bool TargetInstanceTypeRightSizingMethodHasBeenSet() const
bool LaunchConfigurationTemplateIDHasBeenSet() const
void SetCopyTags(bool value)
bool LaunchDispositionHasBeenSet() const
bool LaunchIntoSourceInstanceHasBeenSet() const
bool GetPostLaunchEnabled() const
UpdateLaunchConfigurationTemplateRequest & WithExportBucketArn(ExportBucketArnT &&value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
UpdateLaunchConfigurationTemplateRequest & WithCopyTags(bool value)
UpdateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
bool CopyTagsHasBeenSet() const
AWS_DRS_API Aws::String SerializePayload() const override
void SetLaunchIntoSourceInstance(bool value)
bool GetCopyPrivateIp() const
LaunchDisposition GetLaunchDisposition() const
UpdateLaunchConfigurationTemplateRequest & WithLicensing(LicensingT &&value)
bool CopyPrivateIpHasBeenSet() const
bool GetLaunchIntoSourceInstance() const
const Aws::String & GetExportBucketArn() const
bool PostLaunchEnabledHasBeenSet() const
virtual const char * GetServiceRequestName() const override
TargetInstanceTypeRightSizingMethod
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String