7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.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>
46 template<
typename AccountIDT = Aws::String>
47 void SetAccountID(AccountIDT&& value) { m_accountIDHasBeenSet =
true; m_accountID = std::forward<AccountIDT>(value); }
48 template<
typename AccountIDT = Aws::String>
68 inline void SetCopyPrivateIp(
bool value) { m_copyPrivateIpHasBeenSet =
true; m_copyPrivateIp = value; }
78 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
88 inline void SetEnableMapAutoTagging(
bool value) { m_enableMapAutoTaggingHasBeenSet =
true; m_enableMapAutoTagging = value; }
108 template<
typename LicensingT = Licensing>
109 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet =
true; m_licensing = std::forward<LicensingT>(value); }
110 template<
typename LicensingT = Licensing>
120 template<
typename MapAutoTaggingMpeIDT = Aws::String>
121 void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT&& value) { m_mapAutoTaggingMpeIDHasBeenSet =
true; m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value); }
122 template<
typename MapAutoTaggingMpeIDT = Aws::String>
132 template<
typename NameT = Aws::String>
133 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
134 template<
typename NameT = Aws::String>
142 template<
typename PostLaunchActionsT = PostLaunchActions>
143 void SetPostLaunchActions(PostLaunchActionsT&& value) { m_postLaunchActionsHasBeenSet =
true; m_postLaunchActions = std::forward<PostLaunchActionsT>(value); }
144 template<
typename PostLaunchActionsT = PostLaunchActions>
154 template<
typename SourceServerIDT = Aws::String>
155 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
156 template<
typename SourceServerIDT = Aws::String>
172 bool m_accountIDHasBeenSet =
false;
175 bool m_bootModeHasBeenSet =
false;
177 bool m_copyPrivateIp{
false};
178 bool m_copyPrivateIpHasBeenSet =
false;
180 bool m_copyTags{
false};
181 bool m_copyTagsHasBeenSet =
false;
183 bool m_enableMapAutoTagging{
false};
184 bool m_enableMapAutoTaggingHasBeenSet =
false;
187 bool m_launchDispositionHasBeenSet =
false;
189 Licensing m_licensing;
190 bool m_licensingHasBeenSet =
false;
193 bool m_mapAutoTaggingMpeIDHasBeenSet =
false;
196 bool m_nameHasBeenSet =
false;
198 PostLaunchActions m_postLaunchActions;
199 bool m_postLaunchActionsHasBeenSet =
false;
202 bool m_sourceServerIDHasBeenSet =
false;
205 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
UpdateLaunchConfigurationRequest & WithEnableMapAutoTagging(bool value)
void SetLaunchDisposition(LaunchDisposition value)
UpdateLaunchConfigurationRequest & WithMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
const Aws::String & GetAccountID() const
bool GetCopyPrivateIp() const
const Aws::String & GetSourceServerID() const
bool PostLaunchActionsHasBeenSet() const
void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
bool EnableMapAutoTaggingHasBeenSet() const
UpdateLaunchConfigurationRequest & WithCopyTags(bool value)
bool LicensingHasBeenSet() const
bool TargetInstanceTypeRightSizingMethodHasBeenSet() const
void SetLicensing(LicensingT &&value)
void SetName(NameT &&value)
UpdateLaunchConfigurationRequest & WithCopyPrivateIp(bool value)
bool MapAutoTaggingMpeIDHasBeenSet() const
UpdateLaunchConfigurationRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
bool BootModeHasBeenSet() const
void SetCopyPrivateIp(bool value)
const Licensing & GetLicensing() const
UpdateLaunchConfigurationRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateLaunchConfigurationRequest & WithPostLaunchActions(PostLaunchActionsT &&value)
bool SourceServerIDHasBeenSet() const
const PostLaunchActions & GetPostLaunchActions() const
UpdateLaunchConfigurationRequest & WithAccountID(AccountIDT &&value)
bool LaunchDispositionHasBeenSet() const
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
void SetBootMode(BootMode value)
bool GetEnableMapAutoTagging() const
bool CopyPrivateIpHasBeenSet() const
UpdateLaunchConfigurationRequest & WithSourceServerID(SourceServerIDT &&value)
void SetSourceServerID(SourceServerIDT &&value)
BootMode GetBootMode() const
void SetCopyTags(bool value)
bool AccountIDHasBeenSet() const
void SetEnableMapAutoTagging(bool value)
bool CopyTagsHasBeenSet() const
UpdateLaunchConfigurationRequest & WithLicensing(LicensingT &&value)
AWS_MGN_API Aws::String SerializePayload() const override
LaunchDisposition GetLaunchDisposition() const
UpdateLaunchConfigurationRequest & WithBootMode(BootMode value)
UpdateLaunchConfigurationRequest & WithLaunchDisposition(LaunchDisposition value)
const Aws::String & GetName() const
void SetPostLaunchActions(PostLaunchActionsT &&value)
const Aws::String & GetMapAutoTaggingMpeID() const
AWS_MGN_API UpdateLaunchConfigurationRequest()=default
void SetAccountID(AccountIDT &&value)
bool NameHasBeenSet() const
TargetInstanceTypeRightSizingMethod
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String