7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticbeanstalk/model/ComputeType.h>
22namespace ElasticBeanstalk
39 AWS_ELASTICBEANSTALK_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
54 template<
typename ArtifactNameT = Aws::String>
55 void SetArtifactName(ArtifactNameT&& value) { m_artifactNameHasBeenSet =
true; m_artifactName = std::forward<ArtifactNameT>(value); }
56 template<
typename ArtifactNameT = Aws::String>
68 template<
typename CodeBuildServiceRoleT = Aws::String>
69 void SetCodeBuildServiceRole(CodeBuildServiceRoleT&& value) { m_codeBuildServiceRoleHasBeenSet =
true; m_codeBuildServiceRole = std::forward<CodeBuildServiceRoleT>(value); }
70 template<
typename CodeBuildServiceRoleT = Aws::String>
95 template<
typename ImageT = Aws::String>
96 void SetImage(ImageT&& value) { m_imageHasBeenSet =
true; m_image = std::forward<ImageT>(value); }
97 template<
typename ImageT = Aws::String>
109 inline void SetTimeoutInMinutes(
int value) { m_timeoutInMinutesHasBeenSet =
true; m_timeoutInMinutes = value; }
115 bool m_artifactNameHasBeenSet =
false;
118 bool m_codeBuildServiceRoleHasBeenSet =
false;
121 bool m_computeTypeHasBeenSet =
false;
124 bool m_imageHasBeenSet =
false;
126 int m_timeoutInMinutes{0};
127 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