7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/BootMode.h>
9#include <aws/core/utils/memory/stl/AWSString.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;
54 inline void SetCopyPrivateIp(
bool value) { m_copyPrivateIpHasBeenSet =
true; m_copyPrivateIp = value; }
63 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
72 template<
typename Ec2LaunchTemplateIDT = Aws::String>
73 void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT&& value) { m_ec2LaunchTemplateIDHasBeenSet =
true; m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value); }
74 template<
typename Ec2LaunchTemplateIDT = Aws::String>
83 inline void SetEnableMapAutoTagging(
bool value) { m_enableMapAutoTaggingHasBeenSet =
true; m_enableMapAutoTagging = value; }
101 template<
typename LicensingT = Licensing>
102 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet =
true; m_licensing = std::forward<LicensingT>(value); }
103 template<
typename LicensingT = Licensing>
112 template<
typename MapAutoTaggingMpeIDT = Aws::String>
113 void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT&& value) { m_mapAutoTaggingMpeIDHasBeenSet =
true; m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value); }
114 template<
typename MapAutoTaggingMpeIDT = Aws::String>
123 template<
typename NameT = Aws::String>
124 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
125 template<
typename NameT = Aws::String>
132 template<
typename PostLaunchActionsT = PostLaunchActions>
133 void SetPostLaunchActions(PostLaunchActionsT&& value) { m_postLaunchActionsHasBeenSet =
true; m_postLaunchActions = std::forward<PostLaunchActionsT>(value); }
134 template<
typename PostLaunchActionsT = PostLaunchActions>
143 template<
typename SourceServerIDT = Aws::String>
144 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
145 template<
typename SourceServerIDT = Aws::String>
161 template<
typename RequestIdT = Aws::String>
162 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
163 template<
typename RequestIdT = Aws::String>
169 bool m_bootModeHasBeenSet =
false;
171 bool m_copyPrivateIp{
false};
172 bool m_copyPrivateIpHasBeenSet =
false;
174 bool m_copyTags{
false};
175 bool m_copyTagsHasBeenSet =
false;
178 bool m_ec2LaunchTemplateIDHasBeenSet =
false;
180 bool m_enableMapAutoTagging{
false};
181 bool m_enableMapAutoTaggingHasBeenSet =
false;
184 bool m_launchDispositionHasBeenSet =
false;
186 Licensing m_licensing;
187 bool m_licensingHasBeenSet =
false;
190 bool m_mapAutoTaggingMpeIDHasBeenSet =
false;
193 bool m_nameHasBeenSet =
false;
195 PostLaunchActions m_postLaunchActions;
196 bool m_postLaunchActionsHasBeenSet =
false;
199 bool m_sourceServerIDHasBeenSet =
false;
202 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
205 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