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/TargetInstanceTypeRightSizingMethod.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename SourceServerIDT = Aws::String>
41 m_sourceServerIDHasBeenSet =
true;
42 m_sourceServerID = std::forward<SourceServerIDT>(value);
44 template <
typename SourceServerIDT = Aws::String>
56 template <
typename NameT = Aws::String>
58 m_nameHasBeenSet =
true;
59 m_name = std::forward<NameT>(value);
61 template <
typename NameT = Aws::String>
63 SetName(std::forward<NameT>(value));
73 template <
typename Ec2LaunchTemplateIDT = Aws::String>
75 m_ec2LaunchTemplateIDHasBeenSet =
true;
76 m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value);
78 template <
typename Ec2LaunchTemplateIDT = Aws::String>
91 m_launchDispositionHasBeenSet =
true;
92 m_launchDisposition = value;
106 return m_targetInstanceTypeRightSizingMethod;
109 m_targetInstanceTypeRightSizingMethodHasBeenSet =
true;
110 m_targetInstanceTypeRightSizingMethod = value;
125 m_copyPrivateIpHasBeenSet =
true;
126 m_copyPrivateIp = value;
141 m_copyTagsHasBeenSet =
true;
155 template <
typename LicensingT = Licensing>
157 m_licensingHasBeenSet =
true;
158 m_licensing = std::forward<LicensingT>(value);
160 template <
typename LicensingT = Licensing>
173 m_postLaunchEnabledHasBeenSet =
true;
174 m_postLaunchEnabled = value;
187 template <
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
189 m_launchIntoInstancePropertiesHasBeenSet =
true;
190 m_launchIntoInstanceProperties = std::forward<LaunchIntoInstancePropertiesT>(value);
192 template <
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
202 template <
typename RequestIdT = Aws::String>
204 m_requestIdHasBeenSet =
true;
205 m_requestId = std::forward<RequestIdT>(value);
207 template <
typename RequestIdT = Aws::String>
226 bool m_copyPrivateIp{
false};
228 bool m_copyTags{
false};
230 Licensing m_licensing;
232 bool m_postLaunchEnabled{
false};
234 LaunchIntoInstanceProperties m_launchIntoInstanceProperties;
238 bool m_sourceServerIDHasBeenSet =
false;
239 bool m_nameHasBeenSet =
false;
240 bool m_ec2LaunchTemplateIDHasBeenSet =
false;
241 bool m_launchDispositionHasBeenSet =
false;
242 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
243 bool m_copyPrivateIpHasBeenSet =
false;
244 bool m_copyTagsHasBeenSet =
false;
245 bool m_licensingHasBeenSet =
false;
246 bool m_postLaunchEnabledHasBeenSet =
false;
247 bool m_launchIntoInstancePropertiesHasBeenSet =
false;
248 bool m_requestIdHasBeenSet =
false;
UpdateLaunchConfigurationResult & WithCopyPrivateIp(bool value)
void SetSourceServerID(SourceServerIDT &&value)
AWS_DRS_API UpdateLaunchConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const LaunchIntoInstanceProperties & GetLaunchIntoInstanceProperties() const
UpdateLaunchConfigurationResult & WithLaunchDisposition(LaunchDisposition value)
void SetLicensing(LicensingT &&value)
void SetCopyPrivateIp(bool value)
UpdateLaunchConfigurationResult & WithSourceServerID(SourceServerIDT &&value)
bool GetCopyPrivateIp() const
void SetPostLaunchEnabled(bool value)
LaunchDisposition GetLaunchDisposition() const
UpdateLaunchConfigurationResult & WithName(NameT &&value)
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
AWS_DRS_API UpdateLaunchConfigurationResult()=default
UpdateLaunchConfigurationResult & WithRequestId(RequestIdT &&value)
UpdateLaunchConfigurationResult & WithCopyTags(bool value)
UpdateLaunchConfigurationResult & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
const Aws::String & GetName() const
void SetCopyTags(bool value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateLaunchConfigurationResult & WithPostLaunchEnabled(bool value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
void SetLaunchIntoInstanceProperties(LaunchIntoInstancePropertiesT &&value)
UpdateLaunchConfigurationResult & WithLaunchIntoInstanceProperties(LaunchIntoInstancePropertiesT &&value)
const Aws::String & GetRequestId() const
const Licensing & GetLicensing() const
AWS_DRS_API UpdateLaunchConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
void SetRequestId(RequestIdT &&value)
void SetName(NameT &&value)
UpdateLaunchConfigurationResult & WithLicensing(LicensingT &&value)
bool GetPostLaunchEnabled() const
void SetLaunchDisposition(LaunchDisposition value)
UpdateLaunchConfigurationResult & WithEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
const Aws::String & GetEc2LaunchTemplateID() const
const Aws::String & GetSourceServerID() const
TargetInstanceTypeRightSizingMethod
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue