7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/drs/model/LaunchDisposition.h>
10#include <aws/drs/model/LaunchIntoInstanceProperties.h>
11#include <aws/drs/model/Licensing.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/drs/model/TargetInstanceTypeRightSizingMethod.h>
46 inline void SetCopyPrivateIp(
bool value) { m_copyPrivateIpHasBeenSet =
true; m_copyPrivateIp = value; }
57 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
77 template<
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
78 void SetLaunchIntoInstanceProperties(LaunchIntoInstancePropertiesT&& value) { m_launchIntoInstancePropertiesHasBeenSet =
true; m_launchIntoInstanceProperties = std::forward<LaunchIntoInstancePropertiesT>(value); }
79 template<
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
89 template<
typename LicensingT = Licensing>
90 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet =
true; m_licensing = std::forward<LicensingT>(value); }
91 template<
typename LicensingT = Licensing>
101 template<
typename NameT = Aws::String>
102 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
103 template<
typename NameT = Aws::String>
113 inline void SetPostLaunchEnabled(
bool value) { m_postLaunchEnabledHasBeenSet =
true; m_postLaunchEnabled = value; }
124 template<
typename SourceServerIDT = Aws::String>
125 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
126 template<
typename SourceServerIDT = Aws::String>
142 bool m_copyPrivateIp{
false};
143 bool m_copyPrivateIpHasBeenSet =
false;
145 bool m_copyTags{
false};
146 bool m_copyTagsHasBeenSet =
false;
149 bool m_launchDispositionHasBeenSet =
false;
151 LaunchIntoInstanceProperties m_launchIntoInstanceProperties;
152 bool m_launchIntoInstancePropertiesHasBeenSet =
false;
154 Licensing m_licensing;
155 bool m_licensingHasBeenSet =
false;
158 bool m_nameHasBeenSet =
false;
160 bool m_postLaunchEnabled{
false};
161 bool m_postLaunchEnabledHasBeenSet =
false;
164 bool m_sourceServerIDHasBeenSet =
false;
167 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
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
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)
bool CopyPrivateIpHasBeenSet() const
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 & 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