7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/BootMode.h>
10#include <aws/mgn/model/LaunchTemplateDiskConf.h>
11#include <aws/mgn/model/LaunchDisposition.h>
12#include <aws/mgn/model/Licensing.h>
13#include <aws/mgn/model/PostLaunchActions.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/mgn/model/TargetInstanceTypeRightSizingMethod.h>
20template<
typename RESULT_TYPE>
21class AmazonWebServiceResult;
47 template<
typename ArnT = Aws::String>
48 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
49 template<
typename ArnT = Aws::String>
76 inline void SetCopyPrivateIp(
bool value) { m_copyPrivateIpHasBeenSet =
true; m_copyPrivateIp = value; }
85 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
94 template<
typename Ec2LaunchTemplateIDT = Aws::String>
95 void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT&& value) { m_ec2LaunchTemplateIDHasBeenSet =
true; m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value); }
96 template<
typename Ec2LaunchTemplateIDT = Aws::String>
114 template<
typename LargeVolumeConfT = LaunchTemplateDiskConf>
115 void SetLargeVolumeConf(LargeVolumeConfT&& value) { m_largeVolumeConfHasBeenSet =
true; m_largeVolumeConf = std::forward<LargeVolumeConfT>(value); }
116 template<
typename LargeVolumeConfT = LaunchTemplateDiskConf>
125 template<
typename LaunchConfigurationTemplateIDT = Aws::String>
126 void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT&& value) { m_launchConfigurationTemplateIDHasBeenSet =
true; m_launchConfigurationTemplateID = std::forward<LaunchConfigurationTemplateIDT>(value); }
127 template<
typename LaunchConfigurationTemplateIDT = Aws::String>
143 template<
typename LicensingT = Licensing>
144 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet =
true; m_licensing = std::forward<LicensingT>(value); }
145 template<
typename LicensingT = Licensing>
154 template<
typename MapAutoTaggingMpeIDT = Aws::String>
155 void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT&& value) { m_mapAutoTaggingMpeIDHasBeenSet =
true; m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value); }
156 template<
typename MapAutoTaggingMpeIDT = Aws::String>
165 template<
typename PostLaunchActionsT = PostLaunchActions>
166 void SetPostLaunchActions(PostLaunchActionsT&& value) { m_postLaunchActionsHasBeenSet =
true; m_postLaunchActions = std::forward<PostLaunchActionsT>(value); }
167 template<
typename PostLaunchActionsT = PostLaunchActions>
176 template<
typename SmallVolumeConfT = LaunchTemplateDiskConf>
177 void SetSmallVolumeConf(SmallVolumeConfT&& value) { m_smallVolumeConfHasBeenSet =
true; m_smallVolumeConf = std::forward<SmallVolumeConfT>(value); }
178 template<
typename SmallVolumeConfT = LaunchTemplateDiskConf>
187 inline void SetSmallVolumeMaxSize(
long long value) { m_smallVolumeMaxSizeHasBeenSet =
true; m_smallVolumeMaxSize = value; }
196 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
197 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
198 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
200 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
202 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
218 template<
typename RequestIdT = Aws::String>
219 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
220 template<
typename RequestIdT = Aws::String>
226 bool m_arnHasBeenSet =
false;
228 bool m_associatePublicIpAddress{
false};
229 bool m_associatePublicIpAddressHasBeenSet =
false;
232 bool m_bootModeHasBeenSet =
false;
234 bool m_copyPrivateIp{
false};
235 bool m_copyPrivateIpHasBeenSet =
false;
237 bool m_copyTags{
false};
238 bool m_copyTagsHasBeenSet =
false;
241 bool m_ec2LaunchTemplateIDHasBeenSet =
false;
243 bool m_enableMapAutoTagging{
false};
244 bool m_enableMapAutoTaggingHasBeenSet =
false;
246 LaunchTemplateDiskConf m_largeVolumeConf;
247 bool m_largeVolumeConfHasBeenSet =
false;
250 bool m_launchConfigurationTemplateIDHasBeenSet =
false;
253 bool m_launchDispositionHasBeenSet =
false;
255 Licensing m_licensing;
256 bool m_licensingHasBeenSet =
false;
259 bool m_mapAutoTaggingMpeIDHasBeenSet =
false;
261 PostLaunchActions m_postLaunchActions;
262 bool m_postLaunchActionsHasBeenSet =
false;
264 LaunchTemplateDiskConf m_smallVolumeConf;
265 bool m_smallVolumeConfHasBeenSet =
false;
267 long long m_smallVolumeMaxSize{0};
268 bool m_smallVolumeMaxSizeHasBeenSet =
false;
271 bool m_tagsHasBeenSet =
false;
274 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
277 bool m_requestIdHasBeenSet =
false;
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
UpdateLaunchConfigurationTemplateResult & WithAssociatePublicIpAddress(bool value)
void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
UpdateLaunchConfigurationTemplateResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateLaunchConfigurationTemplateResult & WithLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
const Aws::String & GetRequestId() const
void SetLicensing(LicensingT &&value)
UpdateLaunchConfigurationTemplateResult & WithLicensing(LicensingT &&value)
UpdateLaunchConfigurationTemplateResult & WithMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
void SetAssociatePublicIpAddress(bool value)
UpdateLaunchConfigurationTemplateResult & WithCopyPrivateIp(bool value)
void SetSmallVolumeConf(SmallVolumeConfT &&value)
const LaunchTemplateDiskConf & GetLargeVolumeConf() const
void SetTags(TagsT &&value)
BootMode GetBootMode() const
long long GetSmallVolumeMaxSize() const
void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
UpdateLaunchConfigurationTemplateResult & WithEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
void SetCopyTags(bool value)
const Aws::String & GetMapAutoTaggingMpeID() const
UpdateLaunchConfigurationTemplateResult & WithCopyTags(bool value)
const Licensing & GetLicensing() const
void SetArn(ArnT &&value)
void SetCopyPrivateIp(bool value)
UpdateLaunchConfigurationTemplateResult & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
UpdateLaunchConfigurationTemplateResult & WithEnableMapAutoTagging(bool value)
UpdateLaunchConfigurationTemplateResult & WithBootMode(BootMode value)
void SetRequestId(RequestIdT &&value)
AWS_MGN_API UpdateLaunchConfigurationTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLaunchDisposition(LaunchDisposition value)
UpdateLaunchConfigurationTemplateResult & WithLaunchDisposition(LaunchDisposition value)
void SetEnableMapAutoTagging(bool value)
bool GetAssociatePublicIpAddress() const
UpdateLaunchConfigurationTemplateResult & WithArn(ArnT &&value)
AWS_MGN_API UpdateLaunchConfigurationTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetLaunchConfigurationTemplateID() const
LaunchDisposition GetLaunchDisposition() const
const Aws::String & GetArn() const
void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
bool GetCopyPrivateIp() const
UpdateLaunchConfigurationTemplateResult & WithPostLaunchActions(PostLaunchActionsT &&value)
void SetPostLaunchActions(PostLaunchActionsT &&value)
void SetBootMode(BootMode value)
UpdateLaunchConfigurationTemplateResult & WithRequestId(RequestIdT &&value)
UpdateLaunchConfigurationTemplateResult & WithSmallVolumeConf(SmallVolumeConfT &&value)
UpdateLaunchConfigurationTemplateResult & WithLargeVolumeConf(LargeVolumeConfT &&value)
bool GetEnableMapAutoTagging() const
void SetSmallVolumeMaxSize(long long value)
UpdateLaunchConfigurationTemplateResult & WithSmallVolumeMaxSize(long long value)
UpdateLaunchConfigurationTemplateResult & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MGN_API UpdateLaunchConfigurationTemplateResult()=default
void SetLargeVolumeConf(LargeVolumeConfT &&value)
const PostLaunchActions & GetPostLaunchActions() const
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
const LaunchTemplateDiskConf & GetSmallVolumeConf() const
const Aws::String & GetEc2LaunchTemplateID() const
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
Aws::Utils::Json::JsonValue JsonValue