7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalkRequest.h>
10#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
11#include <aws/elasticbeanstalk/model/BuildConfiguration.h>
12#include <aws/elasticbeanstalk/model/ImageConfiguration.h>
13#include <aws/elasticbeanstalk/model/S3Location.h>
14#include <aws/elasticbeanstalk/model/SourceBuildInformation.h>
15#include <aws/elasticbeanstalk/model/Tag.h>
20namespace ElasticBeanstalk {
52 template <
typename ApplicationNameT = Aws::String>
54 m_applicationNameHasBeenSet =
true;
55 m_applicationName = std::forward<ApplicationNameT>(value);
57 template <
typename ApplicationNameT = Aws::String>
73 template <
typename VersionLabelT = Aws::String>
75 m_versionLabelHasBeenSet =
true;
76 m_versionLabel = std::forward<VersionLabelT>(value);
78 template <
typename VersionLabelT = Aws::String>
91 template <
typename DescriptionT = Aws::String>
93 m_descriptionHasBeenSet =
true;
94 m_description = std::forward<DescriptionT>(value);
96 template <
typename DescriptionT = Aws::String>
110 template <
typename SourceBuildInformationT = SourceBuildInformation>
112 m_sourceBuildInformationHasBeenSet =
true;
113 m_sourceBuildInformation = std::forward<SourceBuildInformationT>(value);
115 template <
typename SourceBuildInformationT = SourceBuildInformation>
138 template <
typename SourceBundleT = S3Location>
140 m_sourceBundleHasBeenSet =
true;
141 m_sourceBundle = std::forward<SourceBundleT>(value);
143 template <
typename SourceBundleT = S3Location>
158 template <
typename BuildConfigurationT = BuildConfiguration>
160 m_buildConfigurationHasBeenSet =
true;
161 m_buildConfiguration = std::forward<BuildConfigurationT>(value);
163 template <
typename BuildConfigurationT = BuildConfiguration>
178 m_autoCreateApplicationHasBeenSet =
true;
179 m_autoCreateApplication = value;
203 m_processHasBeenSet =
true;
220 template <
typename TagsT = Aws::Vector<Tag>>
222 m_tagsHasBeenSet =
true;
223 m_tags = std::forward<TagsT>(value);
225 template <
typename TagsT = Aws::Vector<Tag>>
227 SetTags(std::forward<TagsT>(value));
230 template <
typename TagsT = Tag>
232 m_tagsHasBeenSet =
true;
233 m_tags.emplace_back(std::forward<TagsT>(value));
250 template <
typename ImageConfigurationT = ImageConfiguration>
252 m_imageConfigurationHasBeenSet =
true;
253 m_imageConfiguration = std::forward<ImageConfigurationT>(value);
255 template <
typename ImageConfigurationT = ImageConfiguration>
274 bool m_autoCreateApplication{
false};
276 bool m_process{
false};
280 ImageConfiguration m_imageConfiguration;
281 bool m_applicationNameHasBeenSet =
false;
282 bool m_versionLabelHasBeenSet =
false;
283 bool m_descriptionHasBeenSet =
false;
284 bool m_sourceBuildInformationHasBeenSet =
false;
285 bool m_sourceBundleHasBeenSet =
false;
286 bool m_buildConfigurationHasBeenSet =
false;
287 bool m_autoCreateApplicationHasBeenSet =
false;
288 bool m_processHasBeenSet =
false;
289 bool m_tagsHasBeenSet =
false;
290 bool m_imageConfigurationHasBeenSet =
false;
void SetVersionLabel(VersionLabelT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetImageConfiguration(ImageConfigurationT &&value)
void SetSourceBuildInformation(SourceBuildInformationT &&value)
bool VersionLabelHasBeenSet() const
bool ImageConfigurationHasBeenSet() const
const Aws::String & GetDescription() const
void SetTags(TagsT &&value)
void SetDescription(DescriptionT &&value)
CreateApplicationVersionRequest & WithSourceBuildInformation(SourceBuildInformationT &&value)
bool AutoCreateApplicationHasBeenSet() const
bool BuildConfigurationHasBeenSet() const
CreateApplicationVersionRequest & WithBuildConfiguration(BuildConfigurationT &&value)
void SetApplicationName(ApplicationNameT &&value)
bool DescriptionHasBeenSet() const
CreateApplicationVersionRequest & WithProcess(bool value)
const SourceBuildInformation & GetSourceBuildInformation() const
const BuildConfiguration & GetBuildConfiguration() const
void SetAutoCreateApplication(bool value)
bool SourceBuildInformationHasBeenSet() const
void SetSourceBundle(SourceBundleT &&value)
CreateApplicationVersionRequest & WithDescription(DescriptionT &&value)
bool ApplicationNameHasBeenSet() const
const S3Location & GetSourceBundle() const
AWS_ELASTICBEANSTALK_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_ELASTICBEANSTALK_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateApplicationVersionRequest & WithSourceBundle(SourceBundleT &&value)
CreateApplicationVersionRequest & WithImageConfiguration(ImageConfigurationT &&value)
const Aws::String & GetApplicationName() const
bool SourceBundleHasBeenSet() const
void SetProcess(bool value)
CreateApplicationVersionRequest & WithAutoCreateApplication(bool value)
bool ProcessHasBeenSet() const
CreateApplicationVersionRequest & WithTags(TagsT &&value)
AWS_ELASTICBEANSTALK_API CreateApplicationVersionRequest()=default
bool GetAutoCreateApplication() const
const Aws::String & GetVersionLabel() const
CreateApplicationVersionRequest & WithApplicationName(ApplicationNameT &&value)
CreateApplicationVersionRequest & WithVersionLabel(VersionLabelT &&value)
const ImageConfiguration & GetImageConfiguration() const
void SetBuildConfiguration(BuildConfigurationT &&value)
bool TagsHasBeenSet() const
CreateApplicationVersionRequest & AddTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector