AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
35 AWS_MGN_API UpdateLaunchConfigurationResult() = default;
38
39
41
44 inline BootMode GetBootMode() const { return m_bootMode; }
45 inline void SetBootMode(BootMode value) { m_bootModeHasBeenSet = true; m_bootMode = value; }
46 inline UpdateLaunchConfigurationResult& WithBootMode(BootMode value) { SetBootMode(value); return *this;}
48
50
53 inline bool GetCopyPrivateIp() const { return m_copyPrivateIp; }
54 inline void SetCopyPrivateIp(bool value) { m_copyPrivateIpHasBeenSet = true; m_copyPrivateIp = value; }
55 inline UpdateLaunchConfigurationResult& WithCopyPrivateIp(bool value) { SetCopyPrivateIp(value); return *this;}
57
59
62 inline bool GetCopyTags() const { return m_copyTags; }
63 inline void SetCopyTags(bool value) { m_copyTagsHasBeenSet = true; m_copyTags = value; }
64 inline UpdateLaunchConfigurationResult& WithCopyTags(bool value) { SetCopyTags(value); return *this;}
66
68
71 inline const Aws::String& GetEc2LaunchTemplateID() const { return m_ec2LaunchTemplateID; }
72 template<typename Ec2LaunchTemplateIDT = Aws::String>
73 void SetEc2LaunchTemplateID(Ec2LaunchTemplateIDT&& value) { m_ec2LaunchTemplateIDHasBeenSet = true; m_ec2LaunchTemplateID = std::forward<Ec2LaunchTemplateIDT>(value); }
74 template<typename Ec2LaunchTemplateIDT = Aws::String>
75 UpdateLaunchConfigurationResult& WithEc2LaunchTemplateID(Ec2LaunchTemplateIDT&& value) { SetEc2LaunchTemplateID(std::forward<Ec2LaunchTemplateIDT>(value)); return *this;}
77
79
82 inline bool GetEnableMapAutoTagging() const { return m_enableMapAutoTagging; }
83 inline void SetEnableMapAutoTagging(bool value) { m_enableMapAutoTaggingHasBeenSet = true; m_enableMapAutoTagging = value; }
86
88
91 inline LaunchDisposition GetLaunchDisposition() const { return m_launchDisposition; }
92 inline void SetLaunchDisposition(LaunchDisposition value) { m_launchDispositionHasBeenSet = true; m_launchDisposition = value; }
95
97
100 inline const Licensing& GetLicensing() const { return m_licensing; }
101 template<typename LicensingT = Licensing>
102 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet = true; m_licensing = std::forward<LicensingT>(value); }
103 template<typename LicensingT = Licensing>
104 UpdateLaunchConfigurationResult& WithLicensing(LicensingT&& value) { SetLicensing(std::forward<LicensingT>(value)); return *this;}
106
108
111 inline const Aws::String& GetMapAutoTaggingMpeID() const { return m_mapAutoTaggingMpeID; }
112 template<typename MapAutoTaggingMpeIDT = Aws::String>
113 void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT&& value) { m_mapAutoTaggingMpeIDHasBeenSet = true; m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value); }
114 template<typename MapAutoTaggingMpeIDT = Aws::String>
115 UpdateLaunchConfigurationResult& WithMapAutoTaggingMpeID(MapAutoTaggingMpeIDT&& value) { SetMapAutoTaggingMpeID(std::forward<MapAutoTaggingMpeIDT>(value)); return *this;}
117
119
122 inline const Aws::String& GetName() const { return m_name; }
123 template<typename NameT = Aws::String>
124 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
125 template<typename NameT = Aws::String>
126 UpdateLaunchConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
128
130
131 inline const PostLaunchActions& GetPostLaunchActions() const { return m_postLaunchActions; }
132 template<typename PostLaunchActionsT = PostLaunchActions>
133 void SetPostLaunchActions(PostLaunchActionsT&& value) { m_postLaunchActionsHasBeenSet = true; m_postLaunchActions = std::forward<PostLaunchActionsT>(value); }
134 template<typename PostLaunchActionsT = PostLaunchActions>
135 UpdateLaunchConfigurationResult& WithPostLaunchActions(PostLaunchActionsT&& value) { SetPostLaunchActions(std::forward<PostLaunchActionsT>(value)); return *this;}
137
139
142 inline const Aws::String& GetSourceServerID() const { return m_sourceServerID; }
143 template<typename SourceServerIDT = Aws::String>
144 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
145 template<typename SourceServerIDT = Aws::String>
146 UpdateLaunchConfigurationResult& WithSourceServerID(SourceServerIDT&& value) { SetSourceServerID(std::forward<SourceServerIDT>(value)); return *this;}
148
150
153 inline TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const { return m_targetInstanceTypeRightSizingMethod; }
154 inline void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value) { m_targetInstanceTypeRightSizingMethodHasBeenSet = true; m_targetInstanceTypeRightSizingMethod = value; }
157
159
160 inline const Aws::String& GetRequestId() const { return m_requestId; }
161 template<typename RequestIdT = Aws::String>
162 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
163 template<typename RequestIdT = Aws::String>
164 UpdateLaunchConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
166 private:
167
168 BootMode m_bootMode{BootMode::NOT_SET};
169 bool m_bootModeHasBeenSet = false;
170
171 bool m_copyPrivateIp{false};
172 bool m_copyPrivateIpHasBeenSet = false;
173
174 bool m_copyTags{false};
175 bool m_copyTagsHasBeenSet = false;
176
177 Aws::String m_ec2LaunchTemplateID;
178 bool m_ec2LaunchTemplateIDHasBeenSet = false;
179
180 bool m_enableMapAutoTagging{false};
181 bool m_enableMapAutoTaggingHasBeenSet = false;
182
184 bool m_launchDispositionHasBeenSet = false;
185
186 Licensing m_licensing;
187 bool m_licensingHasBeenSet = false;
188
189 Aws::String m_mapAutoTaggingMpeID;
190 bool m_mapAutoTaggingMpeIDHasBeenSet = false;
191
192 Aws::String m_name;
193 bool m_nameHasBeenSet = false;
194
195 PostLaunchActions m_postLaunchActions;
196 bool m_postLaunchActionsHasBeenSet = false;
197
198 Aws::String m_sourceServerID;
199 bool m_sourceServerIDHasBeenSet = false;
200
202 bool m_targetInstanceTypeRightSizingMethodHasBeenSet = false;
203
204 Aws::String m_requestId;
205 bool m_requestIdHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace mgn
210} // namespace Aws
UpdateLaunchConfigurationResult & WithCopyPrivateIp(bool value)
UpdateLaunchConfigurationResult & WithLicensing(LicensingT &&value)
UpdateLaunchConfigurationResult & WithBootMode(BootMode value)
AWS_MGN_API UpdateLaunchConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
UpdateLaunchConfigurationResult & WithLaunchDisposition(LaunchDisposition value)
UpdateLaunchConfigurationResult & WithCopyTags(bool value)
UpdateLaunchConfigurationResult & WithRequestId(RequestIdT &&value)
TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const
UpdateLaunchConfigurationResult & WithEnableMapAutoTagging(bool value)
UpdateLaunchConfigurationResult & WithSourceServerID(SourceServerIDT &&value)
UpdateLaunchConfigurationResult & WithMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
AWS_MGN_API UpdateLaunchConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLaunchConfigurationResult & WithEc2LaunchTemplateID(Ec2LaunchTemplateIDT &&value)
UpdateLaunchConfigurationResult & WithPostLaunchActions(PostLaunchActionsT &&value)
UpdateLaunchConfigurationResult & WithName(NameT &&value)
UpdateLaunchConfigurationResult & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue