AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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 BootMode GetBootMode() const { return m_bootMode; }
56 inline bool BootModeHasBeenSet() const { return m_bootModeHasBeenSet; }
57 inline void SetBootMode(BootMode value) { m_bootModeHasBeenSet = true; m_bootMode = value; }
60
62
65 inline bool GetCopyPrivateIp() const { return m_copyPrivateIp; }
66 inline bool CopyPrivateIpHasBeenSet() const { return m_copyPrivateIpHasBeenSet; }
67 inline void SetCopyPrivateIp(bool value) { m_copyPrivateIpHasBeenSet = true; m_copyPrivateIp = value; }
70
72
75 inline bool GetCopyTags() const { return m_copyTags; }
76 inline bool CopyTagsHasBeenSet() const { return m_copyTagsHasBeenSet; }
77 inline void SetCopyTags(bool value) { m_copyTagsHasBeenSet = true; m_copyTags = value; }
78 inline UpdateLaunchConfigurationTemplateRequest& WithCopyTags(bool value) { SetCopyTags(value); return *this;}
80
82
85 inline bool GetEnableMapAutoTagging() const { return m_enableMapAutoTagging; }
86 inline bool EnableMapAutoTaggingHasBeenSet() const { return m_enableMapAutoTaggingHasBeenSet; }
87 inline void SetEnableMapAutoTagging(bool value) { m_enableMapAutoTaggingHasBeenSet = true; m_enableMapAutoTagging = value; }
90
92
95 inline const LaunchTemplateDiskConf& GetLargeVolumeConf() const { return m_largeVolumeConf; }
96 inline bool LargeVolumeConfHasBeenSet() const { return m_largeVolumeConfHasBeenSet; }
97 template<typename LargeVolumeConfT = LaunchTemplateDiskConf>
98 void SetLargeVolumeConf(LargeVolumeConfT&& value) { m_largeVolumeConfHasBeenSet = true; m_largeVolumeConf = std::forward<LargeVolumeConfT>(value); }
99 template<typename LargeVolumeConfT = LaunchTemplateDiskConf>
100 UpdateLaunchConfigurationTemplateRequest& WithLargeVolumeConf(LargeVolumeConfT&& value) { SetLargeVolumeConf(std::forward<LargeVolumeConfT>(value)); return *this;}
102
104
107 inline const Aws::String& GetLaunchConfigurationTemplateID() const { return m_launchConfigurationTemplateID; }
108 inline bool LaunchConfigurationTemplateIDHasBeenSet() const { return m_launchConfigurationTemplateIDHasBeenSet; }
109 template<typename LaunchConfigurationTemplateIDT = Aws::String>
110 void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT&& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = std::forward<LaunchConfigurationTemplateIDT>(value); }
111 template<typename LaunchConfigurationTemplateIDT = Aws::String>
112 UpdateLaunchConfigurationTemplateRequest& WithLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT&& value) { SetLaunchConfigurationTemplateID(std::forward<LaunchConfigurationTemplateIDT>(value)); return *this;}
114
116
119 inline LaunchDisposition GetLaunchDisposition() const { return m_launchDisposition; }
120 inline bool LaunchDispositionHasBeenSet() const { return m_launchDispositionHasBeenSet; }
121 inline void SetLaunchDisposition(LaunchDisposition value) { m_launchDispositionHasBeenSet = true; m_launchDisposition = value; }
124
126
127 inline const Licensing& GetLicensing() const { return m_licensing; }
128 inline bool LicensingHasBeenSet() const { return m_licensingHasBeenSet; }
129 template<typename LicensingT = Licensing>
130 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet = true; m_licensing = std::forward<LicensingT>(value); }
131 template<typename LicensingT = Licensing>
132 UpdateLaunchConfigurationTemplateRequest& WithLicensing(LicensingT&& value) { SetLicensing(std::forward<LicensingT>(value)); return *this;}
134
136
139 inline const Aws::String& GetMapAutoTaggingMpeID() const { return m_mapAutoTaggingMpeID; }
140 inline bool MapAutoTaggingMpeIDHasBeenSet() const { return m_mapAutoTaggingMpeIDHasBeenSet; }
141 template<typename MapAutoTaggingMpeIDT = Aws::String>
142 void SetMapAutoTaggingMpeID(MapAutoTaggingMpeIDT&& value) { m_mapAutoTaggingMpeIDHasBeenSet = true; m_mapAutoTaggingMpeID = std::forward<MapAutoTaggingMpeIDT>(value); }
143 template<typename MapAutoTaggingMpeIDT = Aws::String>
144 UpdateLaunchConfigurationTemplateRequest& WithMapAutoTaggingMpeID(MapAutoTaggingMpeIDT&& value) { SetMapAutoTaggingMpeID(std::forward<MapAutoTaggingMpeIDT>(value)); return *this;}
146
148
151 inline const PostLaunchActions& GetPostLaunchActions() const { return m_postLaunchActions; }
152 inline bool PostLaunchActionsHasBeenSet() const { return m_postLaunchActionsHasBeenSet; }
153 template<typename PostLaunchActionsT = PostLaunchActions>
154 void SetPostLaunchActions(PostLaunchActionsT&& value) { m_postLaunchActionsHasBeenSet = true; m_postLaunchActions = std::forward<PostLaunchActionsT>(value); }
155 template<typename PostLaunchActionsT = PostLaunchActions>
156 UpdateLaunchConfigurationTemplateRequest& WithPostLaunchActions(PostLaunchActionsT&& value) { SetPostLaunchActions(std::forward<PostLaunchActionsT>(value)); return *this;}
158
160
163 inline const LaunchTemplateDiskConf& GetSmallVolumeConf() const { return m_smallVolumeConf; }
164 inline bool SmallVolumeConfHasBeenSet() const { return m_smallVolumeConfHasBeenSet; }
165 template<typename SmallVolumeConfT = LaunchTemplateDiskConf>
166 void SetSmallVolumeConf(SmallVolumeConfT&& value) { m_smallVolumeConfHasBeenSet = true; m_smallVolumeConf = std::forward<SmallVolumeConfT>(value); }
167 template<typename SmallVolumeConfT = LaunchTemplateDiskConf>
168 UpdateLaunchConfigurationTemplateRequest& WithSmallVolumeConf(SmallVolumeConfT&& value) { SetSmallVolumeConf(std::forward<SmallVolumeConfT>(value)); return *this;}
170
172
175 inline long long GetSmallVolumeMaxSize() const { return m_smallVolumeMaxSize; }
176 inline bool SmallVolumeMaxSizeHasBeenSet() const { return m_smallVolumeMaxSizeHasBeenSet; }
177 inline void SetSmallVolumeMaxSize(long long value) { m_smallVolumeMaxSizeHasBeenSet = true; m_smallVolumeMaxSize = value; }
180
182
185 inline TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const { return m_targetInstanceTypeRightSizingMethod; }
186 inline bool TargetInstanceTypeRightSizingMethodHasBeenSet() const { return m_targetInstanceTypeRightSizingMethodHasBeenSet; }
187 inline void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value) { m_targetInstanceTypeRightSizingMethodHasBeenSet = true; m_targetInstanceTypeRightSizingMethod = value; }
190 private:
191
192 bool m_associatePublicIpAddress{false};
193 bool m_associatePublicIpAddressHasBeenSet = false;
194
195 BootMode m_bootMode{BootMode::NOT_SET};
196 bool m_bootModeHasBeenSet = false;
197
198 bool m_copyPrivateIp{false};
199 bool m_copyPrivateIpHasBeenSet = false;
200
201 bool m_copyTags{false};
202 bool m_copyTagsHasBeenSet = false;
203
204 bool m_enableMapAutoTagging{false};
205 bool m_enableMapAutoTaggingHasBeenSet = false;
206
207 LaunchTemplateDiskConf m_largeVolumeConf;
208 bool m_largeVolumeConfHasBeenSet = false;
209
210 Aws::String m_launchConfigurationTemplateID;
211 bool m_launchConfigurationTemplateIDHasBeenSet = false;
212
214 bool m_launchDispositionHasBeenSet = false;
215
216 Licensing m_licensing;
217 bool m_licensingHasBeenSet = false;
218
219 Aws::String m_mapAutoTaggingMpeID;
220 bool m_mapAutoTaggingMpeIDHasBeenSet = false;
221
222 PostLaunchActions m_postLaunchActions;
223 bool m_postLaunchActionsHasBeenSet = false;
224
225 LaunchTemplateDiskConf m_smallVolumeConf;
226 bool m_smallVolumeConfHasBeenSet = false;
227
228 long long m_smallVolumeMaxSize{0};
229 bool m_smallVolumeMaxSizeHasBeenSet = false;
230
232 bool m_targetInstanceTypeRightSizingMethodHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace mgn
237} // namespace Aws
UpdateLaunchConfigurationTemplateRequest & WithLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
UpdateLaunchConfigurationTemplateRequest & WithAssociatePublicIpAddress(bool value)
UpdateLaunchConfigurationTemplateRequest & WithBootMode(BootMode value)
UpdateLaunchConfigurationTemplateRequest & WithSmallVolumeConf(SmallVolumeConfT &&value)
UpdateLaunchConfigurationTemplateRequest & WithLicensing(LicensingT &&value)
AWS_MGN_API Aws::String SerializePayload() const override
UpdateLaunchConfigurationTemplateRequest & WithLaunchDisposition(LaunchDisposition value)
UpdateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
UpdateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
UpdateLaunchConfigurationTemplateRequest & WithLargeVolumeConf(LargeVolumeConfT &&value)
UpdateLaunchConfigurationTemplateRequest & WithCopyTags(bool value)
UpdateLaunchConfigurationTemplateRequest & WithPostLaunchActions(PostLaunchActionsT &&value)
UpdateLaunchConfigurationTemplateRequest & WithMapAutoTaggingMpeID(MapAutoTaggingMpeIDT &&value)
UpdateLaunchConfigurationTemplateRequest & WithSmallVolumeMaxSize(long long value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
UpdateLaunchConfigurationTemplateRequest & WithEnableMapAutoTagging(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String