7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9#include <aws/mgn/model/BootMode.h>
10#include <aws/mgn/model/LaunchDisposition.h>
11#include <aws/mgn/model/Licensing.h>
12#include <aws/mgn/model/PostLaunchActions.h>
13#include <aws/mgn/model/TargetInstanceTypeRightSizingMethod.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename SourceServerIDT = Aws::String>
41 m_sourceServerIDHasBeenSet =
true;
42 m_sourceServerID = std::forward<SourceServerIDT>(value);
44 template <
typename SourceServerIDT = Aws::String>
56 template <
typename NameT = Aws::String>
58 m_nameHasBeenSet =
true;
59 m_name = std::forward<NameT>(value);
61 template <
typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
73 template <
typename Ec2LaunchTemplateIDT = Aws::String>
75 m_ec2LaunchTemplateIDHasBeenSet =
true;
76 m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value);
78 template <
typename Ec2LaunchTemplateIDT = Aws::String>
91 m_launchDispositionHasBeenSet =
true;
92 m_launchDisposition = value;
105 return m_targetInstanceTypeRightSizingMethod;
108 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
109 m_targetInstanceTypeRightSizingMethod = value;
123 m_copyPrivateIpHasBeenSet =
true;
124 m_copyPrivateIp = value;
138 m_copyTagsHasBeenSet =
true;
152 template <
typename LicensingT = Licensing>
154 m_licensingHasBeenSet =
true;
155 m_licensing = std::forward<LicensingT>(value);
157 template <
typename LicensingT = Licensing>
170 m_bootModeHasBeenSet =
true;
182 template <
typename PostLaunchActionsT = PostLaunchActions>
184 m_postLaunchActionsHasBeenSet =
true;
185 m_postLaunchActions = std::forward<PostLaunchActionsT>(value);
187 template <
typename PostLaunchActionsT = PostLaunchActions>
200 m_enableMapAutoTaggingHasBeenSet =
true;
201 m_enableMapAutoTagging = value;
214 template <
typename MapAutoTaggingMpeIDT = Aws::String>
216 m_mapAutoTaggingMpeIDHasBeenSet =
true;
217 m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value);
219 template <
typename MapAutoTaggingMpeIDT = Aws::String>
229 template <
typename RequestIdT = Aws::String>
231 m_requestIdHasBeenSet =
true;
232 m_requestId = std::forward<RequestIdT>(value);
234 template <
typename RequestIdT = Aws::String>
251 bool m_copyPrivateIp{
false};
253 bool m_copyTags{
false};
255 Licensing m_licensing;
259 PostLaunchActions m_postLaunchActions;
261 bool m_enableMapAutoTagging{
false};
266 bool m_sourceServerIDHasBeenSet =
false;
267 bool m_nameHasBeenSet =
false;
268 bool m_ec2LaunchTemplateIDHasBeenSet =
false;
269 bool m_launchDispositionHasBeenSet =
false;
270 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
271 bool m_copyPrivateIpHasBeenSet =
false;
272 bool m_copyTagsHasBeenSet =
false;
273 bool m_licensingHasBeenSet =
false;
274 bool m_bootModeHasBeenSet =
false;
275 bool m_postLaunchActionsHasBeenSet =
false;
276 bool m_enableMapAutoTaggingHasBeenSet =
false;
277 bool m_mapAutoTaggingMpeIDHasBeenSet =
false;
278 bool m_requestIdHasBeenSet =
false;
void SetName(NameT &&value)
bool GetEnableMapAutoTagging() const
UpdateLaunchConfigurationResult & WithCopyPrivateIp(bool value)
bool GetCopyPrivateIp() const
UpdateLaunchConfigurationResult & WithLicensing(LicensingT &&value)
const Aws::String & GetSourceServerID() const
void SetEnableMapAutoTagging(bool value)
void SetPostLaunchActions(PostLaunchActionsT &&value)
const Aws::String & GetName() const
void SetLicensing(LicensingT &&value)
const PostLaunchActions & GetPostLaunchActions() const
UpdateLaunchConfigurationResult & WithBootMode(BootMode value)
void SetSourceServerID(SourceServerIDT &&value)
void SetLaunchDisposition(LaunchDisposition value)
AWS_MGN_API UpdateLaunchConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
UpdateLaunchConfigurationResult & WithLaunchDisposition(LaunchDisposition value)
UpdateLaunchConfigurationResult & WithCopyTags(bool value)
const Licensing & GetLicensing() const
UpdateLaunchConfigurationResult & WithRequestId(RequestIdT &&value)
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
UpdateLaunchConfigurationResult & WithEnableMapAutoTagging(bool value)
void SetCopyTags(bool value)
UpdateLaunchConfigurationResult & WithSourceServerID(SourceServerIDT &&value)
LaunchDisposition GetLaunchDisposition() const
void SetCopyPrivateIp(bool value)
const Aws::String & GetEc2LaunchTemplateID() const
AWS_MGN_API UpdateLaunchConfigurationResult()=default
BootMode GetBootMode() const
UpdateLaunchConfigurationResult & WithMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
AWS_MGN_API UpdateLaunchConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetMapAutoTaggingMpeID() const
const Aws::String & GetRequestId() const
UpdateLaunchConfigurationResult & WithEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
void SetBootMode(BootMode value)
UpdateLaunchConfigurationResult & WithPostLaunchActions(PostLaunchActionsT &&value)
UpdateLaunchConfigurationResult & WithName(NameT &&value)
UpdateLaunchConfigurationResult & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
void SetRequestId(RequestIdT &&value)
TargetInstanceTypeRightSizingMethod
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue