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; }
65 template<
typename ExportBucketArnT = Aws::String>
66 void SetExportBucketArn(ExportBucketArnT&& value) { m_exportBucketArnHasBeenSet =
true; m_exportBucketArn = std::forward<ExportBucketArnT>(value); }
67 template<
typename ExportBucketArnT = Aws::String>
99 template<
typename LicensingT = Licensing>
100 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet =
true; m_licensing = std::forward<LicensingT>(value); }
101 template<
typename LicensingT = Licensing>
111 inline void SetPostLaunchEnabled(
bool value) { m_postLaunchEnabledHasBeenSet =
true; m_postLaunchEnabled = value; }
122 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
124 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
126 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
128 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
143 bool m_copyPrivateIp{
false};
144 bool m_copyPrivateIpHasBeenSet =
false;
146 bool m_copyTags{
false};
147 bool m_copyTagsHasBeenSet =
false;
150 bool m_exportBucketArnHasBeenSet =
false;
153 bool m_launchDispositionHasBeenSet =
false;
155 bool m_launchIntoSourceInstance{
false};
156 bool m_launchIntoSourceInstanceHasBeenSet =
false;
158 Licensing m_licensing;
159 bool m_licensingHasBeenSet =
false;
161 bool m_postLaunchEnabled{
false};
162 bool m_postLaunchEnabledHasBeenSet =
false;
165 bool m_tagsHasBeenSet =
false;
168 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
CreateLaunchConfigurationTemplateRequest & WithTags(TagsT &&value)
const Aws::String & GetExportBucketArn() const
AWS_DRS_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
CreateLaunchConfigurationTemplateRequest & WithLaunchDisposition(LaunchDisposition value)
void SetLaunchDisposition(LaunchDisposition value)
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
bool ExportBucketArnHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithExportBucketArn(ExportBucketArnT &&value)
LaunchDisposition GetLaunchDisposition() const
void SetLicensing(LicensingT &&value)
void SetExportBucketArn(ExportBucketArnT &&value)
void SetPostLaunchEnabled(bool value)
void SetLaunchIntoSourceInstance(bool value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
bool TagsHasBeenSet() const
const Licensing & GetLicensing() const
bool PostLaunchEnabledHasBeenSet() const
bool LicensingHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithCopyTags(bool value)
bool GetPostLaunchEnabled() const
bool CopyPrivateIpHasBeenSet() const
bool CopyTagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateLaunchConfigurationTemplateRequest & WithLaunchIntoSourceInstance(bool value)
bool GetCopyPrivateIp() const
AWS_DRS_API CreateLaunchConfigurationTemplateRequest()=default
CreateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
void SetCopyPrivateIp(bool value)
bool GetLaunchIntoSourceInstance() const
void SetCopyTags(bool value)
bool LaunchDispositionHasBeenSet() const
bool TargetInstanceTypeRightSizingMethodHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithLicensing(LicensingT &&value)
bool LaunchIntoSourceInstanceHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithPostLaunchEnabled(bool value)
CreateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
CreateLaunchConfigurationTemplateRequest & AddTags(TagsKeyT &&key, TagsValueT &&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