7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/Drs_EXPORTS.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/drs/model/TargetInstanceTypeRightSizingMethod.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
40 m_copyPrivateIpHasBeenSet =
true;
41 m_copyPrivateIp = value;
56 m_copyTagsHasBeenSet =
true;
70 template <
typename Ec2LaunchTemplateIDT = Aws::String>
72 m_ec2LaunchTemplateIDHasBeenSet =
true;
73 m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value);
75 template <
typename Ec2LaunchTemplateIDT = Aws::String>
88 m_launchDispositionHasBeenSet =
true;
89 m_launchDisposition = value;
102 template <
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
104 m_launchIntoInstancePropertiesHasBeenSet =
true;
105 m_launchIntoInstanceProperties = std::forward<LaunchIntoInstancePropertiesT>(value);
107 template <
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
119 template <
typename LicensingT = Licensing>
121 m_licensingHasBeenSet =
true;
122 m_licensing = std::forward<LicensingT>(value);
124 template <
typename LicensingT = Licensing>
136 template <
typename NameT = Aws::String>
138 m_nameHasBeenSet =
true;
139 m_name = std::forward<NameT>(value);
141 template <
typename NameT = Aws::String>
143 SetName(std::forward<NameT>(value));
154 m_postLaunchEnabledHasBeenSet =
true;
155 m_postLaunchEnabled = value;
168 template <
typename SourceServerIDT = Aws::String>
170 m_sourceServerIDHasBeenSet =
true;
171 m_sourceServerID = std::forward<SourceServerIDT>(value);
173 template <
typename SourceServerIDT = Aws::String>
186 return m_targetInstanceTypeRightSizingMethod;
189 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
190 m_targetInstanceTypeRightSizingMethod = value;
201 template <
typename RequestIdT = Aws::String>
203 m_requestIdHasBeenSet =
true;
204 m_requestId = std::forward<RequestIdT>(value);
206 template <
typename RequestIdT = Aws::String>
213 bool m_copyPrivateIp{
false};
215 bool m_copyTags{
false};
221 LaunchIntoInstanceProperties m_launchIntoInstanceProperties;
223 Licensing m_licensing;
227 bool m_postLaunchEnabled{
false};
234 bool m_copyPrivateIpHasBeenSet =
false;
235 bool m_copyTagsHasBeenSet =
false;
236 bool m_ec2LaunchTemplateIDHasBeenSet =
false;
237 bool m_launchDispositionHasBeenSet =
false;
238 bool m_launchIntoInstancePropertiesHasBeenSet =
false;
239 bool m_licensingHasBeenSet =
false;
240 bool m_nameHasBeenSet =
false;
241 bool m_postLaunchEnabledHasBeenSet =
false;
242 bool m_sourceServerIDHasBeenSet =
false;
243 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
244 bool m_requestIdHasBeenSet =
false;
GetLaunchConfigurationResult & WithCopyPrivateIp(bool value)
const Aws::String & GetEc2LaunchTemplateID() const
void SetPostLaunchEnabled(bool value)
bool GetCopyPrivateIp() const
GetLaunchConfigurationResult & WithSourceServerID(SourceServerIDT &&value)
void SetLaunchDisposition(LaunchDisposition value)
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
AWS_DRS_API GetLaunchConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
LaunchDisposition GetLaunchDisposition() const
const Aws::String & GetName() const
GetLaunchConfigurationResult & WithLaunchIntoInstanceProperties(LaunchIntoInstancePropertiesT &&value)
GetLaunchConfigurationResult & WithEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
bool GetPostLaunchEnabled() const
void SetLicensing(LicensingT &&value)
GetLaunchConfigurationResult & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
void SetRequestId(RequestIdT &&value)
GetLaunchConfigurationResult & WithName(NameT &&value)
GetLaunchConfigurationResult & WithRequestId(RequestIdT &&value)
void SetCopyPrivateIp(bool value)
GetLaunchConfigurationResult & WithLaunchDisposition(LaunchDisposition value)
void SetCopyTags(bool value)
const Aws::String & GetRequestId() const
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
GetLaunchConfigurationResult & WithPostLaunchEnabled(bool value)
AWS_DRS_API GetLaunchConfigurationResult()=default
const LaunchIntoInstanceProperties & GetLaunchIntoInstanceProperties() const
GetLaunchConfigurationResult & WithCopyTags(bool value)
const Licensing & GetLicensing() const
AWS_DRS_API GetLaunchConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetSourceServerID() const
void SetLaunchIntoInstanceProperties(LaunchIntoInstancePropertiesT &&value)
void SetSourceServerID(SourceServerIDT &&value)
void SetName(NameT &&value)
GetLaunchConfigurationResult & WithLicensing(LicensingT &&value)
void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
TargetInstanceTypeRightSizingMethod
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue