7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.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>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename SourceServerIDT = Aws::String>
42 m_sourceServerIDHasBeenSet =
true;
43 m_sourceServerID = std::forward<SourceServerIDT>(value);
45 template <
typename SourceServerIDT = Aws::String>
57 template <
typename NameT = Aws::String>
59 m_nameHasBeenSet =
true;
60 m_name = std::forward<NameT>(value);
62 template <
typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
74 template <
typename Ec2LaunchTemplateIDT = Aws::String>
76 m_ec2LaunchTemplateIDHasBeenSet =
true;
77 m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value);
79 template <
typename Ec2LaunchTemplateIDT = Aws::String>
92 m_launchDispositionHasBeenSet =
true;
93 m_launchDisposition = value;
107 return m_targetInstanceTypeRightSizingMethod;
110 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
111 m_targetInstanceTypeRightSizingMethod = value;
126 m_copyPrivateIpHasBeenSet =
true;
127 m_copyPrivateIp = value;
142 m_copyTagsHasBeenSet =
true;
156 template <
typename LicensingT = Licensing>
158 m_licensingHasBeenSet =
true;
159 m_licensing = std::forward<LicensingT>(value);
161 template <
typename LicensingT = Licensing>
174 m_postLaunchEnabledHasBeenSet =
true;
175 m_postLaunchEnabled = value;
188 template <
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
190 m_launchIntoInstancePropertiesHasBeenSet =
true;
191 m_launchIntoInstanceProperties = std::forward<LaunchIntoInstancePropertiesT>(value);
193 template <
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
206 m_recoveryModeHasBeenSet =
true;
207 m_recoveryMode = value;
218 template <
typename RequestIdT = Aws::String>
220 m_requestIdHasBeenSet =
true;
221 m_requestId = std::forward<RequestIdT>(value);
223 template <
typename RequestIdT = Aws::String>
242 bool m_copyPrivateIp{
false};
244 bool m_copyTags{
false};
246 Licensing m_licensing;
248 bool m_postLaunchEnabled{
false};
250 LaunchIntoInstanceProperties m_launchIntoInstanceProperties;
256 bool m_sourceServerIDHasBeenSet =
false;
257 bool m_nameHasBeenSet =
false;
258 bool m_ec2LaunchTemplateIDHasBeenSet =
false;
259 bool m_launchDispositionHasBeenSet =
false;
260 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
261 bool m_copyPrivateIpHasBeenSet =
false;
262 bool m_copyTagsHasBeenSet =
false;
263 bool m_licensingHasBeenSet =
false;
264 bool m_postLaunchEnabledHasBeenSet =
false;
265 bool m_launchIntoInstancePropertiesHasBeenSet =
false;
266 bool m_recoveryModeHasBeenSet =
false;
267 bool m_requestIdHasBeenSet =
false;
GetLaunchConfigurationResult & WithCopyPrivateIp(bool value)
const Aws::String & GetEc2LaunchTemplateID() const
void SetPostLaunchEnabled(bool value)
GetLaunchConfigurationResult & WithRecoveryMode(RecoveryMode value)
bool GetCopyPrivateIp() const
GetLaunchConfigurationResult & WithSourceServerID(SourceServerIDT &&value)
void SetLaunchDisposition(LaunchDisposition value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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)
RecoveryMode GetRecoveryMode() const
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
void SetRecoveryMode(RecoveryMode value)
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