7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2Request.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/OperatorRequest.h>
13#include <aws/ec2/model/RequestLaunchTemplateData.h>
14#include <aws/ec2/model/TagSpecification.h>
50 m_dryRunHasBeenSet =
true;
69 template <
typename ClientTokenT = Aws::String>
71 m_clientTokenHasBeenSet =
true;
72 m_clientToken = std::forward<ClientTokenT>(value);
74 template <
typename ClientTokenT = Aws::String>
87 template <
typename LaunchTemplateNameT = Aws::String>
89 m_launchTemplateNameHasBeenSet =
true;
90 m_launchTemplateName = std::forward<LaunchTemplateNameT>(value);
92 template <
typename LaunchTemplateNameT = Aws::String>
105 template <
typename VersionDescriptionT = Aws::String>
107 m_versionDescriptionHasBeenSet =
true;
108 m_versionDescription = std::forward<VersionDescriptionT>(value);
110 template <
typename VersionDescriptionT = Aws::String>
123 template <
typename LaunchTemplateDataT = RequestLaunchTemplateData>
125 m_launchTemplateDataHasBeenSet =
true;
126 m_launchTemplateData = std::forward<LaunchTemplateDataT>(value);
128 template <
typename LaunchTemplateDataT = RequestLaunchTemplateData>
141 template <
typename OperatorT = OperatorRequest>
143 m_operatorHasBeenSet =
true;
144 m_operator = std::forward<OperatorT>(value);
146 template <
typename OperatorT = OperatorRequest>
164 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
166 m_tagSpecificationsHasBeenSet =
true;
167 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
169 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
174 template <
typename TagSpecificationsT = TagSpecification>
176 m_tagSpecificationsHasBeenSet =
true;
177 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
182 bool m_dryRun{
false};
190 RequestLaunchTemplateData m_launchTemplateData;
192 OperatorRequest m_operator;
195 bool m_dryRunHasBeenSet =
false;
196 bool m_clientTokenHasBeenSet =
true;
197 bool m_launchTemplateNameHasBeenSet =
false;
198 bool m_versionDescriptionHasBeenSet =
false;
199 bool m_launchTemplateDataHasBeenSet =
false;
200 bool m_operatorHasBeenSet =
false;
201 bool m_tagSpecificationsHasBeenSet =
false;
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::String & GetLaunchTemplateName() const
bool TagSpecificationsHasBeenSet() const
bool ClientTokenHasBeenSet() const
void SetVersionDescription(VersionDescriptionT &&value)
CreateLaunchTemplateRequest & WithClientToken(ClientTokenT &&value)
CreateLaunchTemplateRequest & WithLaunchTemplateName(LaunchTemplateNameT &&value)
CreateLaunchTemplateRequest & WithVersionDescription(VersionDescriptionT &&value)
CreateLaunchTemplateRequest & WithTagSpecifications(TagSpecificationsT &&value)
const Aws::String & GetClientToken() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API CreateLaunchTemplateRequest()=default
void SetClientToken(ClientTokenT &&value)
bool OperatorHasBeenSet() const
bool VersionDescriptionHasBeenSet() const
void SetTagSpecifications(TagSpecificationsT &&value)
CreateLaunchTemplateRequest & WithDryRun(bool value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
const Aws::String & GetVersionDescription() const
void SetLaunchTemplateName(LaunchTemplateNameT &&value)
CreateLaunchTemplateRequest & AddTagSpecifications(TagSpecificationsT &&value)
void SetOperator(OperatorT &&value)
void SetLaunchTemplateData(LaunchTemplateDataT &&value)
const OperatorRequest & GetOperator() const
CreateLaunchTemplateRequest & WithLaunchTemplateData(LaunchTemplateDataT &&value)
bool DryRunHasBeenSet() const
bool LaunchTemplateDataHasBeenSet() const
const RequestLaunchTemplateData & GetLaunchTemplateData() const
bool LaunchTemplateNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateLaunchTemplateRequest & WithOperator(OperatorT &&value)
void SetDryRun(bool value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector