7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/drs/Drs_EXPORTS.h>
10#include <aws/drs/model/LaunchDisposition.h>
11#include <aws/drs/model/LaunchIntoInstanceProperties.h>
12#include <aws/drs/model/Licensing.h>
13#include <aws/drs/model/RecoveryMode.h>
14#include <aws/drs/model/TargetInstanceTypeRightSizingMethod.h>
43 template <
typename SourceServerIDT = Aws::String>
45 m_sourceServerIDHasBeenSet =
true;
46 m_sourceServerID = std::forward<SourceServerIDT>(value);
48 template <
typename SourceServerIDT = Aws::String>
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
80 m_launchDispositionHasBeenSet =
true;
81 m_launchDisposition = value;
95 return m_targetInstanceTypeRightSizingMethod;
99 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
100 m_targetInstanceTypeRightSizingMethod = value;
116 m_copyPrivateIpHasBeenSet =
true;
117 m_copyPrivateIp = value;
133 m_copyTagsHasBeenSet =
true;
148 template <
typename LicensingT = Licensing>
150 m_licensingHasBeenSet =
true;
151 m_licensing = std::forward<LicensingT>(value);
153 template <
typename LicensingT = Licensing>
167 m_postLaunchEnabledHasBeenSet =
true;
168 m_postLaunchEnabled = value;
182 template <
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
184 m_launchIntoInstancePropertiesHasBeenSet =
true;
185 m_launchIntoInstanceProperties = std::forward<LaunchIntoInstancePropertiesT>(value);
187 template <
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
201 m_recoveryModeHasBeenSet =
true;
202 m_recoveryMode = value;
218 bool m_copyPrivateIp{
false};
220 bool m_copyTags{
false};
222 Licensing m_licensing;
224 bool m_postLaunchEnabled{
false};
226 LaunchIntoInstanceProperties m_launchIntoInstanceProperties;
229 bool m_sourceServerIDHasBeenSet =
false;
230 bool m_nameHasBeenSet =
false;
231 bool m_launchDispositionHasBeenSet =
false;
232 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
233 bool m_copyPrivateIpHasBeenSet =
false;
234 bool m_copyTagsHasBeenSet =
false;
235 bool m_licensingHasBeenSet =
false;
236 bool m_postLaunchEnabledHasBeenSet =
false;
237 bool m_launchIntoInstancePropertiesHasBeenSet =
false;
238 bool m_recoveryModeHasBeenSet =
false;
void SetCopyPrivateIp(bool value)
UpdateLaunchConfigurationRequest & WithCopyPrivateIp(bool value)
UpdateLaunchConfigurationRequest & WithPostLaunchEnabled(bool value)
void SetLicensing(LicensingT &&value)
virtual const char * GetServiceRequestName() const override
bool TargetInstanceTypeRightSizingMethodHasBeenSet() const
AWS_DRS_API Aws::String SerializePayload() const override
bool RecoveryModeHasBeenSet() const
void SetName(NameT &&value)
const LaunchIntoInstanceProperties & GetLaunchIntoInstanceProperties() const
UpdateLaunchConfigurationRequest & WithLaunchDisposition(LaunchDisposition value)
void SetLaunchIntoInstanceProperties(LaunchIntoInstancePropertiesT &&value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
const Licensing & GetLicensing() const
void SetSourceServerID(SourceServerIDT &&value)
RecoveryMode GetRecoveryMode() const
bool CopyPrivateIpHasBeenSet() const
void SetRecoveryMode(RecoveryMode value)
void SetPostLaunchEnabled(bool value)
UpdateLaunchConfigurationRequest & WithLaunchIntoInstanceProperties(LaunchIntoInstancePropertiesT &&value)
bool CopyTagsHasBeenSet() const
void SetLaunchDisposition(LaunchDisposition value)
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
bool LaunchIntoInstancePropertiesHasBeenSet() const
UpdateLaunchConfigurationRequest & WithSourceServerID(SourceServerIDT &&value)
bool PostLaunchEnabledHasBeenSet() const
UpdateLaunchConfigurationRequest & WithLicensing(LicensingT &&value)
bool SourceServerIDHasBeenSet() const
bool GetPostLaunchEnabled() const
UpdateLaunchConfigurationRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
UpdateLaunchConfigurationRequest & WithRecoveryMode(RecoveryMode value)
UpdateLaunchConfigurationRequest & WithCopyTags(bool value)
AWS_DRS_API UpdateLaunchConfigurationRequest()=default
bool LicensingHasBeenSet() const
bool GetCopyPrivateIp() const
const Aws::String & GetSourceServerID() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
LaunchDisposition GetLaunchDisposition() const
void SetCopyTags(bool value)
UpdateLaunchConfigurationRequest & WithName(NameT &&value)
bool LaunchDispositionHasBeenSet() const
TargetInstanceTypeRightSizingMethod
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String