7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/DrsRequest.h>
10#include <aws/drs/Drs_EXPORTS.h>
11#include <aws/drs/model/LaunchDisposition.h>
12#include <aws/drs/model/Licensing.h>
13#include <aws/drs/model/TargetInstanceTypeRightSizingMethod.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateLaunchConfigurationTemplate"; }
42 m_copyPrivateIpHasBeenSet =
true;
43 m_copyPrivateIp = value;
58 m_copyTagsHasBeenSet =
true;
73 template <
typename ExportBucketArnT = Aws::String>
75 m_exportBucketArnHasBeenSet =
true;
76 m_exportBucketArn = std::forward<ExportBucketArnT>(value);
78 template <
typename ExportBucketArnT = Aws::String>
92 m_launchDispositionHasBeenSet =
true;
93 m_launchDisposition = value;
110 m_launchIntoSourceInstanceHasBeenSet =
true;
111 m_launchIntoSourceInstance = value;
125 template <
typename LicensingT = Licensing>
127 m_licensingHasBeenSet =
true;
128 m_licensing = std::forward<LicensingT>(value);
130 template <
typename LicensingT = Licensing>
144 m_postLaunchEnabledHasBeenSet =
true;
145 m_postLaunchEnabled = value;
160 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 m_tagsHasBeenSet =
true;
163 m_tags = std::forward<TagsT>(value);
165 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 SetTags(std::forward<TagsT>(value));
170 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
172 m_tagsHasBeenSet =
true;
173 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
183 return m_targetInstanceTypeRightSizingMethod;
187 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
188 m_targetInstanceTypeRightSizingMethod = value;
196 bool m_copyPrivateIp{
false};
198 bool m_copyTags{
false};
204 bool m_launchIntoSourceInstance{
false};
206 Licensing m_licensing;
208 bool m_postLaunchEnabled{
false};
213 bool m_copyPrivateIpHasBeenSet =
false;
214 bool m_copyTagsHasBeenSet =
false;
215 bool m_exportBucketArnHasBeenSet =
false;
216 bool m_launchDispositionHasBeenSet =
false;
217 bool m_launchIntoSourceInstanceHasBeenSet =
false;
218 bool m_licensingHasBeenSet =
false;
219 bool m_postLaunchEnabledHasBeenSet =
false;
220 bool m_tagsHasBeenSet =
false;
221 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