7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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;
45 inline void SetCopyPrivateIp(
bool value) { m_copyPrivateIpHasBeenSet =
true; m_copyPrivateIp = value; }
55 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
64 template<
typename Ec2LaunchTemplateIDT = Aws::String>
65 void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT&& value) { m_ec2LaunchTemplateIDHasBeenSet =
true; m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value); }
66 template<
typename Ec2LaunchTemplateIDT = Aws::String>
84 template<
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
85 void SetLaunchIntoInstanceProperties(LaunchIntoInstancePropertiesT&& value) { m_launchIntoInstancePropertiesHasBeenSet =
true; m_launchIntoInstanceProperties = std::forward<LaunchIntoInstancePropertiesT>(value); }
86 template<
typename LaunchIntoInstancePropertiesT = LaunchIntoInstanceProperties>
95 template<
typename LicensingT = Licensing>
96 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet =
true; m_licensing = std::forward<LicensingT>(value); }
97 template<
typename LicensingT = Licensing>
106 template<
typename NameT = Aws::String>
107 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
108 template<
typename NameT = Aws::String>
117 inline void SetPostLaunchEnabled(
bool value) { m_postLaunchEnabledHasBeenSet =
true; m_postLaunchEnabled = value; }
126 template<
typename SourceServerIDT = Aws::String>
127 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
128 template<
typename SourceServerIDT = Aws::String>
145 template<
typename RequestIdT = Aws::String>
146 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
147 template<
typename RequestIdT = Aws::String>
152 bool m_copyPrivateIp{
false};
153 bool m_copyPrivateIpHasBeenSet =
false;
155 bool m_copyTags{
false};
156 bool m_copyTagsHasBeenSet =
false;
159 bool m_ec2LaunchTemplateIDHasBeenSet =
false;
162 bool m_launchDispositionHasBeenSet =
false;
164 LaunchIntoInstanceProperties m_launchIntoInstanceProperties;
165 bool m_launchIntoInstancePropertiesHasBeenSet =
false;
167 Licensing m_licensing;
168 bool m_licensingHasBeenSet =
false;
171 bool m_nameHasBeenSet =
false;
173 bool m_postLaunchEnabled{
false};
174 bool m_postLaunchEnabledHasBeenSet =
false;
177 bool m_sourceServerIDHasBeenSet =
false;
180 bool m_targetInstanceTypeRightSizingMethodHasBeenSet =
false;
183 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