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/TargetInstanceTypeRightSizingMethod.h>
43 m_copyPrivateIpHasBeenSet =
true;
44 m_copyPrivateIp = value;
60 m_copyTagsHasBeenSet =
true;
76 m_launchDispositionHasBeenSet =
true;
77 m_launchDisposition = value;
91 template <
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
93 m_launchIntoInstancePropertiesHasBeenSet =
true;
94 m_launchIntoInstanceProperties = std::forward<LaunchIntoInstancePropertiesT>(value);
96 template <
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
109 template <
typename LicensingT = Licensing>
111 m_licensingHasBeenSet =
true;
112 m_licensing = std::forward<LicensingT>(value);
114 template <
typename LicensingT = Licensing>
127 template <
typename NameT = Aws::String>
129 m_nameHasBeenSet =
true;
130 m_name = std::forward<NameT>(value);
132 template <
typename NameT = Aws::String>
134 SetName(std::forward<NameT>(value));
146 m_postLaunchEnabledHasBeenSet =
true;
147 m_postLaunchEnabled = value;
162 template <
typename SourceServerIDT = Aws::String>
164 m_sourceServerIDHasBeenSet =
true;
165 m_sourceServerID = std::forward<SourceServerIDT>(value);
167 template <
typename SourceServerIDT = Aws::String>
180 return m_targetInstanceTypeRightSizingMethod;
184 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
185 m_targetInstanceTypeRightSizingMethod = value;
193 bool m_copyPrivateIp{
false};
195 bool m_copyTags{
false};
199 LaunchIntoInstanceProperties m_launchIntoInstanceProperties;
201 Licensing m_licensing;
205 bool m_postLaunchEnabled{
false};
210 bool m_copyPrivateIpHasBeenSet =
false;
211 bool m_copyTagsHasBeenSet =
false;
212 bool m_launchDispositionHasBeenSet =
false;
213 bool m_launchIntoInstancePropertiesHasBeenSet =
false;
214 bool m_licensingHasBeenSet =
false;
215 bool m_nameHasBeenSet =
false;
216 bool m_postLaunchEnabledHasBeenSet =
false;
217 bool m_sourceServerIDHasBeenSet =
false;
218 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