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/RecoveryMode.h>
14#include <aws/drs/model/TargetInstanceTypeRightSizingMethod.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateLaunchConfigurationTemplate"; }
43 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
45 m_tagsHasBeenSet =
true;
46 m_tags = std::forward<TagsT>(value);
48 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
50 SetTags(std::forward<TagsT>(value));
53 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
55 m_tagsHasBeenSet =
true;
56 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
68 m_launchDispositionHasBeenSet =
true;
69 m_launchDisposition = value;
82 return m_targetInstanceTypeRightSizingMethod;
86 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
87 m_targetInstanceTypeRightSizingMethod = value;
102 m_copyPrivateIpHasBeenSet =
true;
103 m_copyPrivateIp = value;
118 m_copyTagsHasBeenSet =
true;
133 template <
typename LicensingT = Licensing>
135 m_licensingHasBeenSet =
true;
136 m_licensing = std::forward<LicensingT>(value);
138 template <
typename LicensingT = Licensing>
151 template <
typename ExportBucketArnT = Aws::String>
153 m_exportBucketArnHasBeenSet =
true;
154 m_exportBucketArn = std::forward<ExportBucketArnT>(value);
156 template <
typename ExportBucketArnT = Aws::String>
170 m_postLaunchEnabledHasBeenSet =
true;
171 m_postLaunchEnabled = value;
188 m_launchIntoSourceInstanceHasBeenSet =
true;
189 m_launchIntoSourceInstance = value;
204 m_recoveryModeHasBeenSet =
true;
205 m_recoveryMode = value;
219 bool m_copyPrivateIp{
false};
221 bool m_copyTags{
false};
223 Licensing m_licensing;
227 bool m_postLaunchEnabled{
false};
229 bool m_launchIntoSourceInstance{
false};
232 bool m_tagsHasBeenSet =
false;
233 bool m_launchDispositionHasBeenSet =
false;
234 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
235 bool m_copyPrivateIpHasBeenSet =
false;
236 bool m_copyTagsHasBeenSet =
false;
237 bool m_licensingHasBeenSet =
false;
238 bool m_exportBucketArnHasBeenSet =
false;
239 bool m_postLaunchEnabledHasBeenSet =
false;
240 bool m_launchIntoSourceInstanceHasBeenSet =
false;
241 bool m_recoveryModeHasBeenSet =
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
void SetRecoveryMode(RecoveryMode value)
AWS_DRS_API CreateLaunchConfigurationTemplateRequest()=default
CreateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
void SetCopyPrivateIp(bool value)
bool GetLaunchIntoSourceInstance() const
CreateLaunchConfigurationTemplateRequest & WithRecoveryMode(RecoveryMode value)
void SetCopyTags(bool value)
bool LaunchDispositionHasBeenSet() const
bool TargetInstanceTypeRightSizingMethodHasBeenSet() const
CreateLaunchConfigurationTemplateRequest & WithLicensing(LicensingT &&value)
RecoveryMode GetRecoveryMode() const
bool LaunchIntoSourceInstanceHasBeenSet() const
bool RecoveryModeHasBeenSet() 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