7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/LaunchDisposition.h>
11#include <aws/drs/model/Licensing.h>
12#include <aws/drs/model/TargetInstanceTypeRightSizingMethod.h>
30 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateLaunchConfigurationTemplate"; }
41 m_copyPrivateIpHasBeenSet =
true;
42 m_copyPrivateIp = value;
57 m_copyTagsHasBeenSet =
true;
72 template <
typename ExportBucketArnT = Aws::String>
74 m_exportBucketArnHasBeenSet =
true;
75 m_exportBucketArn = std::forward<ExportBucketArnT>(value);
77 template <
typename ExportBucketArnT = Aws::String>
90 template <
typename LaunchConfigurationTemplateIDT = Aws::String>
92 m_launchConfigurationTemplateIDHasBeenSet =
true;
93 m_launchConfigurationTemplateID = std::forward<LaunchConfigurationTemplateIDT>(value);
95 template <
typename LaunchConfigurationTemplateIDT = Aws::String>
109 m_launchDispositionHasBeenSet =
true;
110 m_launchDisposition = value;
127 m_launchIntoSourceInstanceHasBeenSet =
true;
128 m_launchIntoSourceInstance = value;
142 template <
typename LicensingT = Licensing>
144 m_licensingHasBeenSet =
true;
145 m_licensing = std::forward<LicensingT>(value);
147 template <
typename LicensingT = Licensing>
161 m_postLaunchEnabledHasBeenSet =
true;
162 m_postLaunchEnabled = value;
175 return m_targetInstanceTypeRightSizingMethod;
179 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
180 m_targetInstanceTypeRightSizingMethod = value;
188 bool m_copyPrivateIp{
false};
190 bool m_copyTags{
false};
198 bool m_launchIntoSourceInstance{
false};
200 Licensing m_licensing;
202 bool m_postLaunchEnabled{
false};
205 bool m_copyPrivateIpHasBeenSet =
false;
206 bool m_copyTagsHasBeenSet =
false;
207 bool m_exportBucketArnHasBeenSet =
false;
208 bool m_launchConfigurationTemplateIDHasBeenSet =
false;
209 bool m_launchDispositionHasBeenSet =
false;
210 bool m_launchIntoSourceInstanceHasBeenSet =
false;
211 bool m_licensingHasBeenSet =
false;
212 bool m_postLaunchEnabledHasBeenSet =
false;
213 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