7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/MgnRequest.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>
42 template <
typename SourceServerIDT = Aws::String>
44 m_sourceServerIDHasBeenSet =
true;
45 m_sourceServerID = std::forward<SourceServerIDT>(value);
47 template <
typename SourceServerIDT = Aws::String>
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
79 m_launchDispositionHasBeenSet =
true;
80 m_launchDisposition = value;
93 return m_targetInstanceTypeRightSizingMethod;
97 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
98 m_targetInstanceTypeRightSizingMethod = value;
113 m_copyPrivateIpHasBeenSet =
true;
114 m_copyPrivateIp = value;
129 m_copyTagsHasBeenSet =
true;
144 template <
typename LicensingT = Licensing>
146 m_licensingHasBeenSet =
true;
147 m_licensing = std::forward<LicensingT>(value);
149 template <
typename LicensingT = Licensing>
163 m_bootModeHasBeenSet =
true;
176 template <
typename PostLaunchActionsT = PostLaunchActions>
178 m_postLaunchActionsHasBeenSet =
true;
179 m_postLaunchActions = std::forward<PostLaunchActionsT>(value);
181 template <
typename PostLaunchActionsT = PostLaunchActions>
195 m_enableMapAutoTaggingHasBeenSet =
true;
196 m_enableMapAutoTagging = value;
210 template <
typename MapAutoTaggingMpeIDT = Aws::String>
212 m_mapAutoTaggingMpeIDHasBeenSet =
true;
213 m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value);
215 template <
typename MapAutoTaggingMpeIDT = Aws::String>
228 template <
typename AccountIDT = Aws::String>
230 m_accountIDHasBeenSet =
true;
231 m_accountID = std::forward<AccountIDT>(value);
233 template <
typename AccountIDT = Aws::String>
248 bool m_copyPrivateIp{
false};
250 bool m_copyTags{
false};
252 Licensing m_licensing;
256 PostLaunchActions m_postLaunchActions;
258 bool m_enableMapAutoTagging{
false};
263 bool m_sourceServerIDHasBeenSet =
false;
264 bool m_nameHasBeenSet =
false;
265 bool m_launchDispositionHasBeenSet =
false;
266 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
267 bool m_copyPrivateIpHasBeenSet =
false;
268 bool m_copyTagsHasBeenSet =
false;
269 bool m_licensingHasBeenSet =
false;
270 bool m_bootModeHasBeenSet =
false;
271 bool m_postLaunchActionsHasBeenSet =
false;
272 bool m_enableMapAutoTaggingHasBeenSet =
false;
273 bool m_mapAutoTaggingMpeIDHasBeenSet =
false;
274 bool m_accountIDHasBeenSet =
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