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/drs/Drs_EXPORTS.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/drs/model/LaunchDisposition.h>
11#include <aws/drs/model/Licensing.h>
12#include <aws/drs/model/TargetInstanceTypeRightSizingMethod.h>
13#include <utility>
14
15namespace Aws
16{
17namespace drs
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateLaunchConfigurationTemplate"; }
34
35 AWS_DRS_API Aws::String SerializePayload() const override;
36
37
39
42 inline bool GetCopyPrivateIp() const{ return m_copyPrivateIp; }
43 inline bool CopyPrivateIpHasBeenSet() const { return m_copyPrivateIpHasBeenSet; }
44 inline void SetCopyPrivateIp(bool value) { m_copyPrivateIpHasBeenSet = true; m_copyPrivateIp = value; }
47
49
52 inline bool GetCopyTags() const{ return m_copyTags; }
53 inline bool CopyTagsHasBeenSet() const { return m_copyTagsHasBeenSet; }
54 inline void SetCopyTags(bool value) { m_copyTagsHasBeenSet = true; m_copyTags = value; }
55 inline UpdateLaunchConfigurationTemplateRequest& WithCopyTags(bool value) { SetCopyTags(value); return *this;}
57
59
62 inline const Aws::String& GetExportBucketArn() const{ return m_exportBucketArn; }
63 inline bool ExportBucketArnHasBeenSet() const { return m_exportBucketArnHasBeenSet; }
64 inline void SetExportBucketArn(const Aws::String& value) { m_exportBucketArnHasBeenSet = true; m_exportBucketArn = value; }
65 inline void SetExportBucketArn(Aws::String&& value) { m_exportBucketArnHasBeenSet = true; m_exportBucketArn = std::move(value); }
66 inline void SetExportBucketArn(const char* value) { m_exportBucketArnHasBeenSet = true; m_exportBucketArn.assign(value); }
69 inline UpdateLaunchConfigurationTemplateRequest& WithExportBucketArn(const char* value) { SetExportBucketArn(value); return *this;}
71
73
76 inline const Aws::String& GetLaunchConfigurationTemplateID() const{ return m_launchConfigurationTemplateID; }
77 inline bool LaunchConfigurationTemplateIDHasBeenSet() const { return m_launchConfigurationTemplateIDHasBeenSet; }
78 inline void SetLaunchConfigurationTemplateID(const Aws::String& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = value; }
79 inline void SetLaunchConfigurationTemplateID(Aws::String&& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = std::move(value); }
80 inline void SetLaunchConfigurationTemplateID(const char* value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID.assign(value); }
85
87
90 inline const LaunchDisposition& GetLaunchDisposition() const{ return m_launchDisposition; }
91 inline bool LaunchDispositionHasBeenSet() const { return m_launchDispositionHasBeenSet; }
92 inline void SetLaunchDisposition(const LaunchDisposition& value) { m_launchDispositionHasBeenSet = true; m_launchDisposition = value; }
93 inline void SetLaunchDisposition(LaunchDisposition&& value) { m_launchDispositionHasBeenSet = true; m_launchDisposition = std::move(value); }
97
99
104 inline bool GetLaunchIntoSourceInstance() const{ return m_launchIntoSourceInstance; }
105 inline bool LaunchIntoSourceInstanceHasBeenSet() const { return m_launchIntoSourceInstanceHasBeenSet; }
106 inline void SetLaunchIntoSourceInstance(bool value) { m_launchIntoSourceInstanceHasBeenSet = true; m_launchIntoSourceInstance = value; }
109
111
114 inline const Licensing& GetLicensing() const{ return m_licensing; }
115 inline bool LicensingHasBeenSet() const { return m_licensingHasBeenSet; }
116 inline void SetLicensing(const Licensing& value) { m_licensingHasBeenSet = true; m_licensing = value; }
117 inline void SetLicensing(Licensing&& value) { m_licensingHasBeenSet = true; m_licensing = std::move(value); }
119 inline UpdateLaunchConfigurationTemplateRequest& WithLicensing(Licensing&& value) { SetLicensing(std::move(value)); return *this;}
121
123
126 inline bool GetPostLaunchEnabled() const{ return m_postLaunchEnabled; }
127 inline bool PostLaunchEnabledHasBeenSet() const { return m_postLaunchEnabledHasBeenSet; }
128 inline void SetPostLaunchEnabled(bool value) { m_postLaunchEnabledHasBeenSet = true; m_postLaunchEnabled = value; }
131
133
136 inline const TargetInstanceTypeRightSizingMethod& GetTargetInstanceTypeRightSizingMethod() const{ return m_targetInstanceTypeRightSizingMethod; }
137 inline bool TargetInstanceTypeRightSizingMethodHasBeenSet() const { return m_targetInstanceTypeRightSizingMethodHasBeenSet; }
138 inline void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod& value) { m_targetInstanceTypeRightSizingMethodHasBeenSet = true; m_targetInstanceTypeRightSizingMethod = value; }
139 inline void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod&& value) { m_targetInstanceTypeRightSizingMethodHasBeenSet = true; m_targetInstanceTypeRightSizingMethod = std::move(value); }
143 private:
144
145 bool m_copyPrivateIp;
146 bool m_copyPrivateIpHasBeenSet = false;
147
148 bool m_copyTags;
149 bool m_copyTagsHasBeenSet = false;
150
151 Aws::String m_exportBucketArn;
152 bool m_exportBucketArnHasBeenSet = false;
153
154 Aws::String m_launchConfigurationTemplateID;
155 bool m_launchConfigurationTemplateIDHasBeenSet = false;
156
157 LaunchDisposition m_launchDisposition;
158 bool m_launchDispositionHasBeenSet = false;
159
160 bool m_launchIntoSourceInstance;
161 bool m_launchIntoSourceInstanceHasBeenSet = false;
162
163 Licensing m_licensing;
164 bool m_licensingHasBeenSet = false;
165
166 bool m_postLaunchEnabled;
167 bool m_postLaunchEnabledHasBeenSet = false;
168
169 TargetInstanceTypeRightSizingMethod m_targetInstanceTypeRightSizingMethod;
170 bool m_targetInstanceTypeRightSizingMethodHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace drs
175} // namespace Aws
UpdateLaunchConfigurationTemplateRequest & WithExportBucketArn(const Aws::String &value)
UpdateLaunchConfigurationTemplateRequest & WithExportBucketArn(Aws::String &&value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
UpdateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchDisposition(LaunchDisposition &&value)
UpdateLaunchConfigurationTemplateRequest & WithLicensing(const Licensing &value)
UpdateLaunchConfigurationTemplateRequest & WithPostLaunchEnabled(bool value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchIntoSourceInstance(bool value)
UpdateLaunchConfigurationTemplateRequest & WithLicensing(Licensing &&value)
UpdateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
UpdateLaunchConfigurationTemplateRequest & WithCopyTags(bool value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchDisposition(const LaunchDisposition &value)
AWS_DRS_API Aws::String SerializePayload() const override
UpdateLaunchConfigurationTemplateRequest & WithLaunchConfigurationTemplateID(Aws::String &&value)
UpdateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod &&value)
const TargetInstanceTypeRightSizingMethod & GetTargetInstanceTypeRightSizingMethod() const
UpdateLaunchConfigurationTemplateRequest & WithLaunchConfigurationTemplateID(const char *value)
UpdateLaunchConfigurationTemplateRequest & WithExportBucketArn(const char *value)
void SetTargetInstanceTypeRightSizingMethod(const TargetInstanceTypeRightSizingMethod &value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchConfigurationTemplateID(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String