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/RecoveryMode.h>
13#include <aws/drs/model/TargetInstanceTypeRightSizingMethod.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "UpdateLaunchConfigurationTemplate"; }
41 template <
typename LaunchConfigurationTemplateIDT = Aws::String>
43 m_launchConfigurationTemplateIDHasBeenSet =
true;
44 m_launchConfigurationTemplateID = std::forward<LaunchConfigurationTemplateIDT>(value);
46 template <
typename LaunchConfigurationTemplateIDT = Aws::String>
60 m_launchDispositionHasBeenSet =
true;
61 m_launchDisposition = value;
74 return m_targetInstanceTypeRightSizingMethod;
78 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
79 m_targetInstanceTypeRightSizingMethod = value;
94 m_copyPrivateIpHasBeenSet =
true;
95 m_copyPrivateIp = value;
110 m_copyTagsHasBeenSet =
true;
125 template <
typename LicensingT = Licensing>
127 m_licensingHasBeenSet =
true;
128 m_licensing = std::forward<LicensingT>(value);
130 template <
typename LicensingT = Licensing>
143 template <
typename ExportBucketArnT = Aws::String>
145 m_exportBucketArnHasBeenSet =
true;
146 m_exportBucketArn = std::forward<ExportBucketArnT>(value);
148 template <
typename ExportBucketArnT = Aws::String>
162 m_postLaunchEnabledHasBeenSet =
true;
163 m_postLaunchEnabled = value;
180 m_launchIntoSourceInstanceHasBeenSet =
true;
181 m_launchIntoSourceInstance = value;
196 m_recoveryModeHasBeenSet =
true;
197 m_recoveryMode = value;
211 bool m_copyPrivateIp{
false};
213 bool m_copyTags{
false};
215 Licensing m_licensing;
219 bool m_postLaunchEnabled{
false};
221 bool m_launchIntoSourceInstance{
false};
224 bool m_launchConfigurationTemplateIDHasBeenSet =
false;
225 bool m_launchDispositionHasBeenSet =
false;
226 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
227 bool m_copyPrivateIpHasBeenSet =
false;
228 bool m_copyTagsHasBeenSet =
false;
229 bool m_licensingHasBeenSet =
false;
230 bool m_exportBucketArnHasBeenSet =
false;
231 bool m_postLaunchEnabledHasBeenSet =
false;
232 bool m_launchIntoSourceInstanceHasBeenSet =
false;
233 bool m_recoveryModeHasBeenSet =
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)
RecoveryMode GetRecoveryMode() const
UpdateLaunchConfigurationTemplateRequest & WithRecoveryMode(RecoveryMode value)
void SetLaunchDisposition(LaunchDisposition value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchIntoSourceInstance(bool value)
UpdateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
void SetCopyPrivateIp(bool value)
bool TargetInstanceTypeRightSizingMethodHasBeenSet() const
bool LaunchConfigurationTemplateIDHasBeenSet() const
void SetRecoveryMode(RecoveryMode value)
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 RecoveryModeHasBeenSet() 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