7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10#include <aws/elasticbeanstalk/model/ComputeType.h>
20namespace ElasticBeanstalk {
35 const char* locationValue)
const;
49 template <
typename ArtifactNameT = Aws::String>
51 m_artifactNameHasBeenSet =
true;
52 m_artifactName = std::forward<ArtifactNameT>(value);
54 template <
typename ArtifactNameT = Aws::String>
69 template <
typename CodeBuildServiceRoleT = Aws::String>
71 m_codeBuildServiceRoleHasBeenSet =
true;
72 m_codeBuildServiceRole = std::forward<CodeBuildServiceRoleT>(value);
74 template <
typename CodeBuildServiceRoleT = Aws::String>
93 m_computeTypeHasBeenSet =
true;
94 m_computeType = value;
108 template <
typename ImageT = Aws::String>
110 m_imageHasBeenSet =
true;
111 m_image = std::forward<ImageT>(value);
113 template <
typename ImageT = Aws::String>
115 SetImage(std::forward<ImageT>(value));
129 m_timeoutInMinutesHasBeenSet =
true;
130 m_timeoutInMinutes = value;
146 int m_timeoutInMinutes{0};
147 bool m_artifactNameHasBeenSet =
false;
148 bool m_codeBuildServiceRoleHasBeenSet =
false;
149 bool m_computeTypeHasBeenSet =
false;
150 bool m_imageHasBeenSet =
false;
151 bool m_timeoutInMinutesHasBeenSet =
false;
AWS_ELASTICBEANSTALK_API BuildConfiguration()=default
BuildConfiguration & WithComputeType(ComputeType value)
BuildConfiguration & WithTimeoutInMinutes(int value)
void SetImage(ImageT &&value)
BuildConfiguration & WithImage(ImageT &&value)
bool ComputeTypeHasBeenSet() const
void SetTimeoutInMinutes(int value)
bool ArtifactNameHasBeenSet() const
bool TimeoutInMinutesHasBeenSet() const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool CodeBuildServiceRoleHasBeenSet() const
const Aws::String & GetImage() const
void SetComputeType(ComputeType value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetArtifactName() const
AWS_ELASTICBEANSTALK_API BuildConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API BuildConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ComputeType GetComputeType() const
BuildConfiguration & WithCodeBuildServiceRole(CodeBuildServiceRoleT &&value)
void SetCodeBuildServiceRole(CodeBuildServiceRoleT &&value)
BuildConfiguration & WithArtifactName(ArtifactNameT &&value)
int GetTimeoutInMinutes() const
void SetArtifactName(ArtifactNameT &&value)
bool ImageHasBeenSet() const
const Aws::String & GetCodeBuildServiceRole() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream