AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 template<typename ExportBucketArnT = Aws::String>
65 void SetExportBucketArn(ExportBucketArnT&& value) { m_exportBucketArnHasBeenSet = true; m_exportBucketArn = std::forward<ExportBucketArnT>(value); }
66 template<typename ExportBucketArnT = Aws::String>
67 UpdateLaunchConfigurationTemplateRequest& WithExportBucketArn(ExportBucketArnT&& value) { SetExportBucketArn(std::forward<ExportBucketArnT>(value)); return *this;}
69
71
74 inline const Aws::String& GetLaunchConfigurationTemplateID() const { return m_launchConfigurationTemplateID; }
75 inline bool LaunchConfigurationTemplateIDHasBeenSet() const { return m_launchConfigurationTemplateIDHasBeenSet; }
76 template<typename LaunchConfigurationTemplateIDT = Aws::String>
77 void SetLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT&& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = std::forward<LaunchConfigurationTemplateIDT>(value); }
78 template<typename LaunchConfigurationTemplateIDT = Aws::String>
79 UpdateLaunchConfigurationTemplateRequest& WithLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT&& value) { SetLaunchConfigurationTemplateID(std::forward<LaunchConfigurationTemplateIDT>(value)); return *this;}
81
83
86 inline LaunchDisposition GetLaunchDisposition() const { return m_launchDisposition; }
87 inline bool LaunchDispositionHasBeenSet() const { return m_launchDispositionHasBeenSet; }
88 inline void SetLaunchDisposition(LaunchDisposition value) { m_launchDispositionHasBeenSet = true; m_launchDisposition = value; }
91
93
98 inline bool GetLaunchIntoSourceInstance() const { return m_launchIntoSourceInstance; }
99 inline bool LaunchIntoSourceInstanceHasBeenSet() const { return m_launchIntoSourceInstanceHasBeenSet; }
100 inline void SetLaunchIntoSourceInstance(bool value) { m_launchIntoSourceInstanceHasBeenSet = true; m_launchIntoSourceInstance = value; }
103
105
108 inline const Licensing& GetLicensing() const { return m_licensing; }
109 inline bool LicensingHasBeenSet() const { return m_licensingHasBeenSet; }
110 template<typename LicensingT = Licensing>
111 void SetLicensing(LicensingT&& value) { m_licensingHasBeenSet = true; m_licensing = std::forward<LicensingT>(value); }
112 template<typename LicensingT = Licensing>
113 UpdateLaunchConfigurationTemplateRequest& WithLicensing(LicensingT&& value) { SetLicensing(std::forward<LicensingT>(value)); return *this;}
115
117
120 inline bool GetPostLaunchEnabled() const { return m_postLaunchEnabled; }
121 inline bool PostLaunchEnabledHasBeenSet() const { return m_postLaunchEnabledHasBeenSet; }
122 inline void SetPostLaunchEnabled(bool value) { m_postLaunchEnabledHasBeenSet = true; m_postLaunchEnabled = value; }
125
127
130 inline TargetInstanceTypeRightSizingMethod GetTargetInstanceTypeRightSizingMethod() const { return m_targetInstanceTypeRightSizingMethod; }
131 inline bool TargetInstanceTypeRightSizingMethodHasBeenSet() const { return m_targetInstanceTypeRightSizingMethodHasBeenSet; }
132 inline void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value) { m_targetInstanceTypeRightSizingMethodHasBeenSet = true; m_targetInstanceTypeRightSizingMethod = value; }
135 private:
136
137 bool m_copyPrivateIp{false};
138 bool m_copyPrivateIpHasBeenSet = false;
139
140 bool m_copyTags{false};
141 bool m_copyTagsHasBeenSet = false;
142
143 Aws::String m_exportBucketArn;
144 bool m_exportBucketArnHasBeenSet = false;
145
146 Aws::String m_launchConfigurationTemplateID;
147 bool m_launchConfigurationTemplateIDHasBeenSet = false;
148
150 bool m_launchDispositionHasBeenSet = false;
151
152 bool m_launchIntoSourceInstance{false};
153 bool m_launchIntoSourceInstanceHasBeenSet = false;
154
155 Licensing m_licensing;
156 bool m_licensingHasBeenSet = false;
157
158 bool m_postLaunchEnabled{false};
159 bool m_postLaunchEnabledHasBeenSet = false;
160
162 bool m_targetInstanceTypeRightSizingMethodHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace drs
167} // namespace Aws
UpdateLaunchConfigurationTemplateRequest & WithLaunchConfigurationTemplateID(LaunchConfigurationTemplateIDT &&value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchDisposition(LaunchDisposition value)
UpdateLaunchConfigurationTemplateRequest & WithPostLaunchEnabled(bool value)
UpdateLaunchConfigurationTemplateRequest & WithLaunchIntoSourceInstance(bool value)
UpdateLaunchConfigurationTemplateRequest & WithCopyPrivateIp(bool value)
UpdateLaunchConfigurationTemplateRequest & WithExportBucketArn(ExportBucketArnT &&value)
void SetTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
UpdateLaunchConfigurationTemplateRequest & WithCopyTags(bool value)
UpdateLaunchConfigurationTemplateRequest & WithTargetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod value)
AWS_DRS_API Aws::String SerializePayload() const override
UpdateLaunchConfigurationTemplateRequest & WithLicensing(LicensingT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String