7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10#include <aws/mgn/model/BootMode.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/mgn/model/TargetInstanceTypeRightSizingMethod.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename SourceServerIDT = Aws::String>
42 m_sourceServerIDHasBeenSet =
true;
43 m_sourceServerID = std::forward<SourceServerIDT>(value);
45 template <
typename SourceServerIDT = Aws::String>
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
74 template <
typename Ec2LaunchTemplateIDT = Aws::String>
76 m_ec2LaunchTemplateIDHasBeenSet =
true;
77 m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value);
79 template <
typename Ec2LaunchTemplateIDT = Aws::String>
92 m_launchDispositionHasBeenSet =
true;
93 m_launchDisposition = value;
106 return m_targetInstanceTypeRightSizingMethod;
109 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
110 m_targetInstanceTypeRightSizingMethod = value;
124 m_copyPrivateIpHasBeenSet =
true;
125 m_copyPrivateIp = value;
139 m_copyTagsHasBeenSet =
true;
153 template <
typename LicensingT = Licensing>
155 m_licensingHasBeenSet =
true;
156 m_licensing = std::forward<LicensingT>(value);
158 template <
typename LicensingT = Licensing>
171 m_bootModeHasBeenSet =
true;
183 template <
typename PostLaunchActionsT = PostLaunchActions>
185 m_postLaunchActionsHasBeenSet =
true;
186 m_postLaunchActions = std::forward<PostLaunchActionsT>(value);
188 template <
typename PostLaunchActionsT = PostLaunchActions>
201 m_enableMapAutoTaggingHasBeenSet =
true;
202 m_enableMapAutoTagging = value;
215 template <
typename MapAutoTaggingMpeIDT = Aws::String>
217 m_mapAutoTaggingMpeIDHasBeenSet =
true;
218 m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value);
220 template <
typename MapAutoTaggingMpeIDT = Aws::String>
230 template <
typename RequestIdT = Aws::String>
232 m_requestIdHasBeenSet =
true;
233 m_requestId = std::forward<RequestIdT>(value);
235 template <
typename RequestIdT = Aws::String>
254 bool m_copyPrivateIp{
false};
256 bool m_copyTags{
false};
258 Licensing m_licensing;
262 PostLaunchActions m_postLaunchActions;
264 bool m_enableMapAutoTagging{
false};
270 bool m_sourceServerIDHasBeenSet =
false;
271 bool m_nameHasBeenSet =
false;
272 bool m_ec2LaunchTemplateIDHasBeenSet =
false;
273 bool m_launchDispositionHasBeenSet =
false;
274 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
275 bool m_copyPrivateIpHasBeenSet =
false;
276 bool m_copyTagsHasBeenSet =
false;
277 bool m_licensingHasBeenSet =
false;
278 bool m_bootModeHasBeenSet =
false;
279 bool m_postLaunchActionsHasBeenSet =
false;
280 bool m_enableMapAutoTaggingHasBeenSet =
false;
281 bool m_mapAutoTaggingMpeIDHasBeenSet =
false;
282 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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