AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetLaunchConfigurationResult.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace drs
28{
29namespace Model
30{
32 {
33 public:
37
38
40
44 inline bool GetCopyPrivateIp() const{ return m_copyPrivateIp; }
45 inline void SetCopyPrivateIp(bool value) { m_copyPrivateIp = value; }
46 inline GetLaunchConfigurationResult& WithCopyPrivateIp(bool value) { SetCopyPrivateIp(value); return *this;}
48
50
54 inline bool GetCopyTags() const{ return m_copyTags; }
55 inline void SetCopyTags(bool value) { m_copyTags = value; }
56 inline GetLaunchConfigurationResult& WithCopyTags(bool value) { SetCopyTags(value); return *this;}
58
60
63 inline const Aws::String& GetEc2LaunchTemplateID() const{ return m_ec2LaunchTemplateID; }
64 inline void SetEc2LaunchTemplateID(const Aws::String& value) { m_ec2LaunchTemplateID = value; }
65 inline void SetEc2LaunchTemplateID(Aws::String&& value) { m_ec2LaunchTemplateID = std::move(value); }
66 inline void SetEc2LaunchTemplateID(const char* value) { m_ec2LaunchTemplateID.assign(value); }
69 inline GetLaunchConfigurationResult& WithEc2LaunchTemplateID(const char* value) { SetEc2LaunchTemplateID(value); return *this;}
71
73
76 inline const LaunchDisposition& GetLaunchDisposition() const{ return m_launchDisposition; }
77 inline void SetLaunchDisposition(const LaunchDisposition& value) { m_launchDisposition = value; }
78 inline void SetLaunchDisposition(LaunchDisposition&& value) { m_launchDisposition = std::move(value); }
82
84
87 inline const LaunchIntoInstanceProperties& GetLaunchIntoInstanceProperties() const{ return m_launchIntoInstanceProperties; }
88 inline void SetLaunchIntoInstanceProperties(const LaunchIntoInstanceProperties& value) { m_launchIntoInstanceProperties = value; }
89 inline void SetLaunchIntoInstanceProperties(LaunchIntoInstanceProperties&& value) { m_launchIntoInstanceProperties = std::move(value); }
93
95
98 inline const Licensing& GetLicensing() const{ return m_licensing; }
99 inline void SetLicensing(const Licensing& value) { m_licensing = value; }
100 inline void SetLicensing(Licensing&& value) { m_licensing = std::move(value); }
101 inline GetLaunchConfigurationResult& WithLicensing(const Licensing& value) { SetLicensing(value); return *this;}
102 inline GetLaunchConfigurationResult& WithLicensing(Licensing&& value) { SetLicensing(std::move(value)); return *this;}
104
106
109 inline const Aws::String& GetName() const{ return m_name; }
110 inline void SetName(const Aws::String& value) { m_name = value; }
111 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
112 inline void SetName(const char* value) { m_name.assign(value); }
113 inline GetLaunchConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
114 inline GetLaunchConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
115 inline GetLaunchConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
117
119
122 inline bool GetPostLaunchEnabled() const{ return m_postLaunchEnabled; }
123 inline void SetPostLaunchEnabled(bool value) { m_postLaunchEnabled = value; }
126
128
131 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
132 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerID = value; }
133 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerID = std::move(value); }
134 inline void SetSourceServerID(const char* value) { m_sourceServerID.assign(value); }
136 inline GetLaunchConfigurationResult& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;}
137 inline GetLaunchConfigurationResult& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
139
141
145 inline const TargetInstanceTypeRightSizingMethod& GetTargetInstanceTypeRightSizingMethod() const{ return m_targetInstanceTypeRightSizingMethod; }
146 inline void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod& value) { m_targetInstanceTypeRightSizingMethod = value; }
147 inline void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod&& value) { m_targetInstanceTypeRightSizingMethod = std::move(value); }
151
153
154 inline const Aws::String& GetRequestId() const{ return m_requestId; }
155 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
156 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
157 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
158 inline GetLaunchConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
159 inline GetLaunchConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
160 inline GetLaunchConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
162 private:
163
164 bool m_copyPrivateIp;
165
166 bool m_copyTags;
167
168 Aws::String m_ec2LaunchTemplateID;
169
170 LaunchDisposition m_launchDisposition;
171
172 LaunchIntoInstanceProperties m_launchIntoInstanceProperties;
173
174 Licensing m_licensing;
175
176 Aws::String m_name;
177
178 bool m_postLaunchEnabled;
179
180 Aws::String m_sourceServerID;
181
182 TargetInstanceTypeRightSizingMethod m_targetInstanceTypeRightSizingMethod;
183
184 Aws::String m_requestId;
185 };
186
187} // namespace Model
188} // namespace drs
189} // namespace Aws
GetLaunchConfigurationResult & WithCopyPrivateIp(bool value)
GetLaunchConfigurationResult & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
GetLaunchConfigurationResult & WithLaunchIntoInstanceProperties(LaunchIntoInstanceProperties &&value)
GetLaunchConfigurationResult & WithLaunchIntoInstanceProperties(const LaunchIntoInstanceProperties &value)
AWS_DRS_API GetLaunchConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLaunchConfigurationResult & WithLaunchDisposition(LaunchDisposition &&value)
GetLaunchConfigurationResult & WithSourceServerID(Aws::String &&value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
GetLaunchConfigurationResult & WithName(const Aws::String &value)
GetLaunchConfigurationResult & WithRequestId(const Aws::String &value)
GetLaunchConfigurationResult & WithLicensing(const Licensing &value)
GetLaunchConfigurationResult & WithRequestId(const char *value)
const TargetInstanceTypeRightSizingMethod & GetTargetInstanceTypeRightSizingMethod() const
GetLaunchConfigurationResult & WithEc2LaunchTemplateID(Aws::String &&value)
void SetLaunchDisposition(const LaunchDisposition &value)
GetLaunchConfigurationResult & WithEc2LaunchTemplateID(const char *value)
void SetLaunchIntoInstanceProperties(const LaunchIntoInstanceProperties &value)
GetLaunchConfigurationResult & WithLaunchDisposition(const LaunchDisposition &value)
GetLaunchConfigurationResult & WithSourceServerID(const char *value)
GetLaunchConfigurationResult & WithName(Aws::String &&value)
void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
GetLaunchConfigurationResult & WithPostLaunchEnabled(bool value)
GetLaunchConfigurationResult & WithName(const char *value)
GetLaunchConfigurationResult & WithEc2LaunchTemplateID(const Aws::String &value)
GetLaunchConfigurationResult & WithTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
GetLaunchConfigurationResult & WithLicensing(Licensing &&value)
const LaunchIntoInstanceProperties & GetLaunchIntoInstanceProperties() const
GetLaunchConfigurationResult & WithCopyTags(bool value)
GetLaunchConfigurationResult & WithRequestId(Aws::String &&value)
void SetLaunchIntoInstanceProperties(LaunchIntoInstanceProperties &&value)
AWS_DRS_API GetLaunchConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetLaunchConfigurationResult & WithSourceServerID(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue