AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLaunchConfigurationTemplateRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/mgn/model/BootMode.h>
10#include <aws/mgn/model/LaunchTemplateDiskConf.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/mgn/model/LaunchDisposition.h>
13#include <aws/mgn/model/Licensing.h>
14#include <aws/mgn/model/PostLaunchActions.h>
15#include <aws/mgn/model/TargetInstanceTypeRightSizingMethod.h>
16#include <utility>
17
18namespace Aws
19{
20namespace mgn
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateLaunchConfigurationTemplate"; }
37
38 AWS_MGN_API Aws::String SerializePayload() const override;
39
40
42
45 inline bool GetAssociatePublicIpAddress() const{ return m_associatePublicIpAddress; }
46 inline bool AssociatePublicIpAddressHasBeenSet() const { return m_associatePublicIpAddressHasBeenSet; }
47 inline void SetAssociatePublicIpAddress(bool value) { m_associatePublicIpAddressHasBeenSet = true; m_associatePublicIpAddress = value; }
50
52
55 inline const BootMode& GetBootMode() const{ return m_bootMode; }
56 inline bool BootModeHasBeenSet() const { return m_bootModeHasBeenSet; }
57 inline void SetBootMode(const BootMode& value) { m_bootModeHasBeenSet = true; m_bootMode = value; }
58 inline void SetBootMode(BootMode&& value) { m_bootModeHasBeenSet = true; m_bootMode = std::move(value); }
59 inline UpdateLaunchConfigurationTemplateRequest& WithBootMode(const BootMode& value) { SetBootMode(value); return *this;}
60 inline UpdateLaunchConfigurationTemplateRequest& WithBootMode(BootMode&& value) { SetBootMode(std::move(value)); return *this;}
62
64
67 inline bool GetCopyPrivateIp() const{ return m_copyPrivateIp; }
68 inline bool CopyPrivateIpHasBeenSet() const { return m_copyPrivateIpHasBeenSet; }
69 inline void SetCopyPrivateIp(bool value) { m_copyPrivateIpHasBeenSet = true; m_copyPrivateIp = value; }
72
74
77 inline bool GetCopyTags() const{ return m_copyTags; }
78 inline bool CopyTagsHasBeenSet() const { return m_copyTagsHasBeenSet; }
79 inline void SetCopyTags(bool value) { m_copyTagsHasBeenSet = true; m_copyTags = value; }
80 inline UpdateLaunchConfigurationTemplateRequest& WithCopyTags(bool value) { SetCopyTags(value); return *this;}
82
84
87 inline bool GetEnableMapAutoTagging() const{ return m_enableMapAutoTagging; }
88 inline bool EnableMapAutoTaggingHasBeenSet() const { return m_enableMapAutoTaggingHasBeenSet; }
89 inline void SetEnableMapAutoTagging(bool value) { m_enableMapAutoTaggingHasBeenSet = true; m_enableMapAutoTagging = value; }
92
94
97 inline const LaunchTemplateDiskConf& GetLargeVolumeConf() const{ return m_largeVolumeConf; }
98 inline bool LargeVolumeConfHasBeenSet() const { return m_largeVolumeConfHasBeenSet; }
99 inline void SetLargeVolumeConf(const LaunchTemplateDiskConf& value) { m_largeVolumeConfHasBeenSet = true; m_largeVolumeConf = value; }
100 inline void SetLargeVolumeConf(LaunchTemplateDiskConf&& value) { m_largeVolumeConfHasBeenSet = true; m_largeVolumeConf = std::move(value); }
104
106
109 inline const Aws::String& GetLaunchConfigurationTemplateID() const{ return m_launchConfigurationTemplateID; }
110 inline bool LaunchConfigurationTemplateIDHasBeenSet() const { return m_launchConfigurationTemplateIDHasBeenSet; }
111 inline void SetLaunchConfigurationTemplateID(const Aws::String& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = value; }
112 inline void SetLaunchConfigurationTemplateID(Aws::String&& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = std::move(value); }
113 inline void SetLaunchConfigurationTemplateID(const char* value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID.assign(value); }
118
120
123 inline const LaunchDisposition& GetLaunchDisposition() const{ return m_launchDisposition; }
124 inline bool LaunchDispositionHasBeenSet() const { return m_launchDispositionHasBeenSet; }
125 inline void SetLaunchDisposition(const LaunchDisposition& value) { m_launchDispositionHasBeenSet = true; m_launchDisposition = value; }
126 inline void SetLaunchDisposition(LaunchDisposition&& value) { m_launchDispositionHasBeenSet = true; m_launchDisposition = std::move(value); }
130
132
133 inline const Licensing& GetLicensing() const{ return m_licensing; }
134 inline bool LicensingHasBeenSet() const { return m_licensingHasBeenSet; }
135 inline void SetLicensing(const Licensing& value) { m_licensingHasBeenSet = true; m_licensing = value; }
136 inline void SetLicensing(Licensing&& value) { m_licensingHasBeenSet = true; m_licensing = std::move(value); }
138 inline UpdateLaunchConfigurationTemplateRequest& WithLicensing(Licensing&& value) { SetLicensing(std::move(value)); return *this;}
140
142
145 inline const Aws::String& GetMapAutoTaggingMpeID() const{ return m_mapAutoTaggingMpeID; }
146 inline bool MapAutoTaggingMpeIDHasBeenSet() const { return m_mapAutoTaggingMpeIDHasBeenSet; }
147 inline void SetMapAutoTaggingMpeID(const Aws::String& value) { m_mapAutoTaggingMpeIDHasBeenSet = true; m_mapAutoTaggingMpeID = value; }
148 inline void SetMapAutoTaggingMpeID(Aws::String&& value) { m_mapAutoTaggingMpeIDHasBeenSet = true; m_mapAutoTaggingMpeID = std::move(value); }
149 inline void SetMapAutoTaggingMpeID(const char* value) { m_mapAutoTaggingMpeIDHasBeenSet = true; m_mapAutoTaggingMpeID.assign(value); }
154
156
159 inline const PostLaunchActions& GetPostLaunchActions() const{ return m_postLaunchActions; }
160 inline bool PostLaunchActionsHasBeenSet() const { return m_postLaunchActionsHasBeenSet; }
161 inline void SetPostLaunchActions(const PostLaunchActions& value) { m_postLaunchActionsHasBeenSet = true; m_postLaunchActions = value; }
162 inline void SetPostLaunchActions(PostLaunchActions&& value) { m_postLaunchActionsHasBeenSet = true; m_postLaunchActions = std::move(value); }
166
168
171 inline const LaunchTemplateDiskConf& GetSmallVolumeConf() const{ return m_smallVolumeConf; }
172 inline bool SmallVolumeConfHasBeenSet() const { return m_smallVolumeConfHasBeenSet; }
173 inline void SetSmallVolumeConf(const LaunchTemplateDiskConf& value) { m_smallVolumeConfHasBeenSet = true; m_smallVolumeConf = value; }
174 inline void SetSmallVolumeConf(LaunchTemplateDiskConf&& value) { m_smallVolumeConfHasBeenSet = true; m_smallVolumeConf = std::move(value); }
178
180
183 inline long long GetSmallVolumeMaxSize() const{ return m_smallVolumeMaxSize; }
184 inline bool SmallVolumeMaxSizeHasBeenSet() const { return m_smallVolumeMaxSizeHasBeenSet; }
185 inline void SetSmallVolumeMaxSize(long long value) { m_smallVolumeMaxSizeHasBeenSet = true; m_smallVolumeMaxSize = value; }
188
190
193 inline const TargetInstanceTypeRightSizingMethod& GetTargetInstanceTypeRightSizingMethod() const{ return m_targetInstanceTypeRightSizingMethod; }
194 inline bool TargetInstanceTypeRightSizingMethodHasBeenSet() const { return m_targetInstanceTypeRightSizingMethodHasBeenSet; }
195 inline void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod& value) { m_targetInstanceTypeRightSizingMethodHasBeenSet = true; m_targetInstanceTypeRightSizingMethod = value; }
196 inline void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod&& value) { m_targetInstanceTypeRightSizingMethodHasBeenSet = true; m_targetInstanceTypeRightSizingMethod = std::move(value); }
200 private:
201
202 bool m_associatePublicIpAddress;
203 bool m_associatePublicIpAddressHasBeenSet = false;
204
205 BootMode m_bootMode;
206 bool m_bootModeHasBeenSet = false;
207
208 bool m_copyPrivateIp;
209 bool m_copyPrivateIpHasBeenSet = false;
210
211 bool m_copyTags;
212 bool m_copyTagsHasBeenSet = false;
213
214 bool m_enableMapAutoTagging;
215 bool m_enableMapAutoTaggingHasBeenSet = false;
216
217 LaunchTemplateDiskConf m_largeVolumeConf;
218 bool m_largeVolumeConfHasBeenSet = false;
219
220 Aws::String m_launchConfigurationTemplateID;
221 bool m_launchConfigurationTemplateIDHasBeenSet = false;
222
223 LaunchDisposition m_launchDisposition;
224 bool m_launchDispositionHasBeenSet = false;
225
226 Licensing m_licensing;
227 bool m_licensingHasBeenSet = false;
228
229 Aws::String m_mapAutoTaggingMpeID;
230 bool m_mapAutoTaggingMpeIDHasBeenSet = false;
231
232 PostLaunchActions m_postLaunchActions;
233 bool m_postLaunchActionsHasBeenSet = false;
234
235 LaunchTemplateDiskConf m_smallVolumeConf;
236 bool m_smallVolumeConfHasBeenSet = false;
237
238 long long m_smallVolumeMaxSize;
239 bool m_smallVolumeMaxSizeHasBeenSet = false;
240
241 TargetInstanceTypeRightSizingMethod m_targetInstanceTypeRightSizingMethod;
242 bool m_targetInstanceTypeRightSizingMethodHasBeenSet = false;
243 };
244
245} // namespace Model
246} // namespace mgn
247} // namespace Aws
UpdateLaunchConfigurationTemplateRequest & WithLaunchConfigurationTemplateID(const Aws::String &value)
UpdateLaunchConfigurationTemplateRequest & WithBootMode(BootMode &&value)
UpdateLaunchConfigurationTemplateRequest & WithSmallVolumeConf(const LaunchTemplateDiskConf &value)
UpdateLaunchConfigurationTemplateRequest & WithAssociatePublicIpAddress(bool value)
UpdateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
UpdateLaunchConfigurationTemplateRequest & WithPostLaunchActions(const PostLaunchActions &value)
UpdateLaunchConfigurationTemplateRequest & WithLicensing(Licensing &&value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchConfigurationTemplateID(Aws::String &&value)
UpdateLaunchConfigurationTemplateRequest & WithMapAutoTaggingMpeID(const Aws::String &value)
AWS_MGN_API Aws::String SerializePayload() const override
UpdateLaunchConfigurationTemplateRequest & WithPostLaunchActions(PostLaunchActions &&value)
UpdateLaunchConfigurationTemplateRequest & WithMapAutoTaggingMpeID(Aws::String &&value)
UpdateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchConfigurationTemplateID(const char *value)
UpdateLaunchConfigurationTemplateRequest & WithLicensing(const Licensing &value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchDisposition(LaunchDisposition &&value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
UpdateLaunchConfigurationTemplateRequest & WithMapAutoTaggingMpeID(const char *value)
UpdateLaunchConfigurationTemplateRequest & WithLargeVolumeConf(const LaunchTemplateDiskConf &value)
UpdateLaunchConfigurationTemplateRequest & WithCopyTags(bool value)
void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchDisposition(const LaunchDisposition &value)
UpdateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
UpdateLaunchConfigurationTemplateRequest & WithBootMode(const BootMode &value)
UpdateLaunchConfigurationTemplateRequest & WithSmallVolumeMaxSize(long long value)
UpdateLaunchConfigurationTemplateRequest & WithLargeVolumeConf(LaunchTemplateDiskConf &&value)
const TargetInstanceTypeRightSizingMethod & GetTargetInstanceTypeRightSizingMethod() const
UpdateLaunchConfigurationTemplateRequest & WithSmallVolumeConf(LaunchTemplateDiskConf &&value)
UpdateLaunchConfigurationTemplateRequest & WithEnableMapAutoTagging(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String