7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/RequestLaunchTemplateData.h>
11#include <aws/ec2/model/OperatorRequest.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/TagSpecification.h>
15#include <aws/core/utils/UUID.h>
53 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
67 template<
typename ClientTokenT = Aws::String>
68 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
69 template<
typename ClientTokenT = Aws::String>
79 template<
typename LaunchTemplateNameT = Aws::String>
80 void SetLaunchTemplateName(LaunchTemplateNameT&& value) { m_launchTemplateNameHasBeenSet =
true; m_launchTemplateName = std::forward<LaunchTemplateNameT>(value); }
81 template<
typename LaunchTemplateNameT = Aws::String>
91 template<
typename VersionDescriptionT = Aws::String>
92 void SetVersionDescription(VersionDescriptionT&& value) { m_versionDescriptionHasBeenSet =
true; m_versionDescription = std::forward<VersionDescriptionT>(value); }
93 template<
typename VersionDescriptionT = Aws::String>
103 template<
typename LaunchTemplateDataT = RequestLaunchTemplateData>
104 void SetLaunchTemplateData(LaunchTemplateDataT&& value) { m_launchTemplateDataHasBeenSet =
true; m_launchTemplateData = std::forward<LaunchTemplateDataT>(value); }
105 template<
typename LaunchTemplateDataT = RequestLaunchTemplateData>
115 template<
typename OperatorT = OperatorRequest>
116 void SetOperator(OperatorT&& value) { m_operatorHasBeenSet =
true; m_operator = std::forward<OperatorT>(value); }
117 template<
typename OperatorT = OperatorRequest>
132 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
133 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
134 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
136 template<
typename TagSpecificationsT = TagSpecification>
141 bool m_dryRun{
false};
142 bool m_dryRunHasBeenSet =
false;
145 bool m_clientTokenHasBeenSet =
true;
148 bool m_launchTemplateNameHasBeenSet =
false;
151 bool m_versionDescriptionHasBeenSet =
false;
153 RequestLaunchTemplateData m_launchTemplateData;
154 bool m_launchTemplateDataHasBeenSet =
false;
156 OperatorRequest m_operator;
157 bool m_operatorHasBeenSet =
false;
160 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