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/core/utils/memory/stl/AWSMap.h>
13#include <aws/drs/model/TargetInstanceTypeRightSizingMethod.h>
34 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateLaunchConfigurationTemplate"; }
45 inline void SetCopyPrivateIp(
bool value) { m_copyPrivateIpHasBeenSet =
true; m_copyPrivateIp = value; }
55 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
67 inline void SetExportBucketArn(
const char* value) { m_exportBucketArnHasBeenSet =
true; m_exportBucketArn.assign(value); }
115 inline void SetPostLaunchEnabled(
bool value) { m_postLaunchEnabledHasBeenSet =
true; m_postLaunchEnabled = value; }
152 bool m_copyPrivateIp;
153 bool m_copyPrivateIpHasBeenSet =
false;
156 bool m_copyTagsHasBeenSet =
false;
159 bool m_exportBucketArnHasBeenSet =
false;
162 bool m_launchDispositionHasBeenSet =
false;
164 bool m_launchIntoSourceInstance;
165 bool m_launchIntoSourceInstanceHasBeenSet =
false;
168 bool m_licensingHasBeenSet =
false;
170 bool m_postLaunchEnabled;
171 bool m_postLaunchEnabledHasBeenSet =
false;
174 bool m_tagsHasBeenSet =
false;
177 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
const Aws::String & GetExportBucketArn() const
void SetExportBucketArn(const char *value)
AWS_DRS_API Aws::String SerializePayload() const override
CreateLaunchConfigurationTemplateRequest & WithLaunchDisposition(const LaunchDisposition &value)
CreateLaunchConfigurationTemplateRequest & WithExportBucketArn(const Aws::String &value)
CreateLaunchConfigurationTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ExportBucketArnHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
void SetLicensing(const Licensing &value)
CreateLaunchConfigurationTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetExportBucketArn(Aws::String &&value)
void SetExportBucketArn(const Aws::String &value)
void SetPostLaunchEnabled(bool value)
void SetLaunchIntoSourceInstance(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
const Licensing & GetLicensing() const
CreateLaunchConfigurationTemplateRequest & WithExportBucketArn(const char *value)
bool PostLaunchEnabledHasBeenSet() const
bool LicensingHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithCopyTags(bool value)
bool GetPostLaunchEnabled() const
CreateLaunchConfigurationTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateLaunchConfigurationTemplateRequest & WithLicensing(Licensing &&value)
bool CopyPrivateIpHasBeenSet() const
bool CopyTagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateLaunchConfigurationTemplateRequest & WithLaunchIntoSourceInstance(bool value)
bool GetCopyPrivateIp() const
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
CreateLaunchConfigurationTemplateRequest & AddTags(const char *key, Aws::String &&value)
CreateLaunchConfigurationTemplateRequest & WithLaunchDisposition(LaunchDisposition &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
void SetCopyPrivateIp(bool value)
const LaunchDisposition & GetLaunchDisposition() const
CreateLaunchConfigurationTemplateRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateLaunchConfigurationTemplateRequest & AddTags(Aws::String &&key, const char *value)
bool GetLaunchIntoSourceInstance() const
void SetLaunchDisposition(LaunchDisposition &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetCopyTags(bool value)
void SetLicensing(Licensing &&value)
bool LaunchDispositionHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithLicensing(const Licensing &value)
CreateLaunchConfigurationTemplateRequest & AddTags(const char *key, const char *value)
CreateLaunchConfigurationTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
bool TargetInstanceTypeRightSizingMethodHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
const TargetInstanceTypeRightSizingMethod & GetTargetInstanceTypeRightSizingMethod() const
bool LaunchIntoSourceInstanceHasBeenSet() const
AWS_DRS_API CreateLaunchConfigurationTemplateRequest()
CreateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
CreateLaunchConfigurationTemplateRequest & WithExportBucketArn(Aws::String &&value)
void SetLaunchDisposition(const LaunchDisposition &value)
CreateLaunchConfigurationTemplateRequest & WithPostLaunchEnabled(bool value)
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