AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLaunchConfigurationResult.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/BootMode.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mgn/model/LaunchDisposition.h>
11#include <aws/mgn/model/Licensing.h>
12#include <aws/mgn/model/PostLaunchActions.h>
13#include <aws/mgn/model/TargetInstanceTypeRightSizingMethod.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace mgn
29{
30namespace Model
31{
33 {
34 public:
38
39
41
44 inline const BootMode& GetBootMode() const{ return m_bootMode; }
45 inline void SetBootMode(const BootMode& value) { m_bootMode = value; }
46 inline void SetBootMode(BootMode&& value) { m_bootMode = std::move(value); }
47 inline UpdateLaunchConfigurationResult& WithBootMode(const BootMode& value) { SetBootMode(value); return *this;}
48 inline UpdateLaunchConfigurationResult& WithBootMode(BootMode&& value) { SetBootMode(std::move(value)); return *this;}
50
52
55 inline bool GetCopyPrivateIp() const{ return m_copyPrivateIp; }
56 inline void SetCopyPrivateIp(bool value) { m_copyPrivateIp = value; }
57 inline UpdateLaunchConfigurationResult& WithCopyPrivateIp(bool value) { SetCopyPrivateIp(value); return *this;}
59
61
64 inline bool GetCopyTags() const{ return m_copyTags; }
65 inline void SetCopyTags(bool value) { m_copyTags = value; }
66 inline UpdateLaunchConfigurationResult& WithCopyTags(bool value) { SetCopyTags(value); return *this;}
68
70
73 inline const Aws::String& GetEc2LaunchTemplateID() const{ return m_ec2LaunchTemplateID; }
74 inline void SetEc2LaunchTemplateID(const Aws::String& value) { m_ec2LaunchTemplateID = value; }
75 inline void SetEc2LaunchTemplateID(Aws::String&& value) { m_ec2LaunchTemplateID = std::move(value); }
76 inline void SetEc2LaunchTemplateID(const char* value) { m_ec2LaunchTemplateID.assign(value); }
79 inline UpdateLaunchConfigurationResult& WithEc2LaunchTemplateID(const char* value) { SetEc2LaunchTemplateID(value); return *this;}
81
83
86 inline bool GetEnableMapAutoTagging() const{ return m_enableMapAutoTagging; }
87 inline void SetEnableMapAutoTagging(bool value) { m_enableMapAutoTagging = value; }
90
92
95 inline const LaunchDisposition& GetLaunchDisposition() const{ return m_launchDisposition; }
96 inline void SetLaunchDisposition(const LaunchDisposition& value) { m_launchDisposition = value; }
97 inline void SetLaunchDisposition(LaunchDisposition&& value) { m_launchDisposition = std::move(value); }
101
103
106 inline const Licensing& GetLicensing() const{ return m_licensing; }
107 inline void SetLicensing(const Licensing& value) { m_licensing = value; }
108 inline void SetLicensing(Licensing&& value) { m_licensing = std::move(value); }
109 inline UpdateLaunchConfigurationResult& WithLicensing(const Licensing& value) { SetLicensing(value); return *this;}
110 inline UpdateLaunchConfigurationResult& WithLicensing(Licensing&& value) { SetLicensing(std::move(value)); return *this;}
112
114
117 inline const Aws::String& GetMapAutoTaggingMpeID() const{ return m_mapAutoTaggingMpeID; }
118 inline void SetMapAutoTaggingMpeID(const Aws::String& value) { m_mapAutoTaggingMpeID = value; }
119 inline void SetMapAutoTaggingMpeID(Aws::String&& value) { m_mapAutoTaggingMpeID = std::move(value); }
120 inline void SetMapAutoTaggingMpeID(const char* value) { m_mapAutoTaggingMpeID.assign(value); }
123 inline UpdateLaunchConfigurationResult& WithMapAutoTaggingMpeID(const char* value) { SetMapAutoTaggingMpeID(value); return *this;}
125
127
130 inline const Aws::String& GetName() const{ return m_name; }
131 inline void SetName(const Aws::String& value) { m_name = value; }
132 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
133 inline void SetName(const char* value) { m_name.assign(value); }
134 inline UpdateLaunchConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
135 inline UpdateLaunchConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
136 inline UpdateLaunchConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
138
140
141 inline const PostLaunchActions& GetPostLaunchActions() const{ return m_postLaunchActions; }
142 inline void SetPostLaunchActions(const PostLaunchActions& value) { m_postLaunchActions = value; }
143 inline void SetPostLaunchActions(PostLaunchActions&& value) { m_postLaunchActions = std::move(value); }
147
149
152 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
153 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerID = value; }
154 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerID = std::move(value); }
155 inline void SetSourceServerID(const char* value) { m_sourceServerID.assign(value); }
157 inline UpdateLaunchConfigurationResult& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;}
158 inline UpdateLaunchConfigurationResult& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
160
162
165 inline const TargetInstanceTypeRightSizingMethod& GetTargetInstanceTypeRightSizingMethod() const{ return m_targetInstanceTypeRightSizingMethod; }
166 inline void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod& value) { m_targetInstanceTypeRightSizingMethod = value; }
167 inline void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod&& value) { m_targetInstanceTypeRightSizingMethod = std::move(value); }
171
173
174 inline const Aws::String& GetRequestId() const{ return m_requestId; }
175 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
176 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
177 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
178 inline UpdateLaunchConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
179 inline UpdateLaunchConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
180 inline UpdateLaunchConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
182 private:
183
184 BootMode m_bootMode;
185
186 bool m_copyPrivateIp;
187
188 bool m_copyTags;
189
190 Aws::String m_ec2LaunchTemplateID;
191
192 bool m_enableMapAutoTagging;
193
194 LaunchDisposition m_launchDisposition;
195
196 Licensing m_licensing;
197
198 Aws::String m_mapAutoTaggingMpeID;
199
200 Aws::String m_name;
201
202 PostLaunchActions m_postLaunchActions;
203
204 Aws::String m_sourceServerID;
205
206 TargetInstanceTypeRightSizingMethod m_targetInstanceTypeRightSizingMethod;
207
208 Aws::String m_requestId;
209 };
210
211} // namespace Model
212} // namespace mgn
213} // namespace Aws
UpdateLaunchConfigurationResult & WithCopyPrivateIp(bool value)
UpdateLaunchConfigurationResult & WithLicensing(Licensing &&value)
UpdateLaunchConfigurationResult & WithBootMode(const BootMode &value)
UpdateLaunchConfigurationResult & WithName(const char *value)
UpdateLaunchConfigurationResult & WithPostLaunchActions(const PostLaunchActions &value)
UpdateLaunchConfigurationResult & WithPostLaunchActions(PostLaunchActions &&value)
UpdateLaunchConfigurationResult & WithSourceServerID(const Aws::String &value)
UpdateLaunchConfigurationResult & WithRequestId(Aws::String &&value)
UpdateLaunchConfigurationResult & WithMapAutoTaggingMpeID(const Aws::String &value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
UpdateLaunchConfigurationResult & WithLaunchDisposition(LaunchDisposition &&value)
AWS_MGN_API UpdateLaunchConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLaunchConfigurationResult & WithTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
UpdateLaunchConfigurationResult & WithCopyTags(bool value)
UpdateLaunchConfigurationResult & WithLaunchDisposition(const LaunchDisposition &value)
UpdateLaunchConfigurationResult & WithEc2LaunchTemplateID(const Aws::String &value)
UpdateLaunchConfigurationResult & WithEnableMapAutoTagging(bool value)
UpdateLaunchConfigurationResult & WithSourceServerID(Aws::String &&value)
UpdateLaunchConfigurationResult & WithName(const Aws::String &value)
UpdateLaunchConfigurationResult & WithRequestId(const Aws::String &value)
const TargetInstanceTypeRightSizingMethod & GetTargetInstanceTypeRightSizingMethod() const
void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
UpdateLaunchConfigurationResult & WithName(Aws::String &&value)
UpdateLaunchConfigurationResult & WithEc2LaunchTemplateID(const char *value)
UpdateLaunchConfigurationResult & WithEc2LaunchTemplateID(Aws::String &&value)
UpdateLaunchConfigurationResult & WithBootMode(BootMode &&value)
UpdateLaunchConfigurationResult & WithSourceServerID(const char *value)
UpdateLaunchConfigurationResult & WithRequestId(const char *value)
UpdateLaunchConfigurationResult & WithMapAutoTaggingMpeID(const char *value)
UpdateLaunchConfigurationResult & WithLicensing(const Licensing &value)
AWS_MGN_API UpdateLaunchConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLaunchConfigurationResult & WithMapAutoTaggingMpeID(Aws::String &&value)
UpdateLaunchConfigurationResult & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue