AWS SDK for C++  1.8.126
AWS SDK for C++
BuildConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace ElasticBeanstalk
23 {
24 namespace Model
25 {
26 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
51  inline const Aws::String& GetArtifactName() const{ return m_artifactName; }
52 
61  inline bool ArtifactNameHasBeenSet() const { return m_artifactNameHasBeenSet; }
62 
71  inline void SetArtifactName(const Aws::String& value) { m_artifactNameHasBeenSet = true; m_artifactName = value; }
72 
81  inline void SetArtifactName(Aws::String&& value) { m_artifactNameHasBeenSet = true; m_artifactName = std::move(value); }
82 
91  inline void SetArtifactName(const char* value) { m_artifactNameHasBeenSet = true; m_artifactName.assign(value); }
92 
101  inline BuildConfiguration& WithArtifactName(const Aws::String& value) { SetArtifactName(value); return *this;}
102 
111  inline BuildConfiguration& WithArtifactName(Aws::String&& value) { SetArtifactName(std::move(value)); return *this;}
112 
121  inline BuildConfiguration& WithArtifactName(const char* value) { SetArtifactName(value); return *this;}
122 
123 
129  inline const Aws::String& GetCodeBuildServiceRole() const{ return m_codeBuildServiceRole; }
130 
136  inline bool CodeBuildServiceRoleHasBeenSet() const { return m_codeBuildServiceRoleHasBeenSet; }
137 
143  inline void SetCodeBuildServiceRole(const Aws::String& value) { m_codeBuildServiceRoleHasBeenSet = true; m_codeBuildServiceRole = value; }
144 
150  inline void SetCodeBuildServiceRole(Aws::String&& value) { m_codeBuildServiceRoleHasBeenSet = true; m_codeBuildServiceRole = std::move(value); }
151 
157  inline void SetCodeBuildServiceRole(const char* value) { m_codeBuildServiceRoleHasBeenSet = true; m_codeBuildServiceRole.assign(value); }
158 
164  inline BuildConfiguration& WithCodeBuildServiceRole(const Aws::String& value) { SetCodeBuildServiceRole(value); return *this;}
165 
171  inline BuildConfiguration& WithCodeBuildServiceRole(Aws::String&& value) { SetCodeBuildServiceRole(std::move(value)); return *this;}
172 
178  inline BuildConfiguration& WithCodeBuildServiceRole(const char* value) { SetCodeBuildServiceRole(value); return *this;}
179 
180 
189  inline const ComputeType& GetComputeType() const{ return m_computeType; }
190 
199  inline bool ComputeTypeHasBeenSet() const { return m_computeTypeHasBeenSet; }
200 
209  inline void SetComputeType(const ComputeType& value) { m_computeTypeHasBeenSet = true; m_computeType = value; }
210 
219  inline void SetComputeType(ComputeType&& value) { m_computeTypeHasBeenSet = true; m_computeType = std::move(value); }
220 
229  inline BuildConfiguration& WithComputeType(const ComputeType& value) { SetComputeType(value); return *this;}
230 
239  inline BuildConfiguration& WithComputeType(ComputeType&& value) { SetComputeType(std::move(value)); return *this;}
240 
241 
245  inline const Aws::String& GetImage() const{ return m_image; }
246 
250  inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
251 
255  inline void SetImage(const Aws::String& value) { m_imageHasBeenSet = true; m_image = value; }
256 
260  inline void SetImage(Aws::String&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
261 
265  inline void SetImage(const char* value) { m_imageHasBeenSet = true; m_image.assign(value); }
266 
270  inline BuildConfiguration& WithImage(const Aws::String& value) { SetImage(value); return *this;}
271 
275  inline BuildConfiguration& WithImage(Aws::String&& value) { SetImage(std::move(value)); return *this;}
276 
280  inline BuildConfiguration& WithImage(const char* value) { SetImage(value); return *this;}
281 
282 
288  inline int GetTimeoutInMinutes() const{ return m_timeoutInMinutes; }
289 
295  inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; }
296 
302  inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; }
303 
309  inline BuildConfiguration& WithTimeoutInMinutes(int value) { SetTimeoutInMinutes(value); return *this;}
310 
311  private:
312 
313  Aws::String m_artifactName;
314  bool m_artifactNameHasBeenSet;
315 
316  Aws::String m_codeBuildServiceRole;
317  bool m_codeBuildServiceRoleHasBeenSet;
318 
319  ComputeType m_computeType;
320  bool m_computeTypeHasBeenSet;
321 
322  Aws::String m_image;
323  bool m_imageHasBeenSet;
324 
325  int m_timeoutInMinutes;
326  bool m_timeoutInMinutesHasBeenSet;
327  };
328 
329 } // namespace Model
330 } // namespace ElasticBeanstalk
331 } // namespace Aws
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithCodeBuildServiceRole
BuildConfiguration & WithCodeBuildServiceRole(const char *value)
Definition: BuildConfiguration.h:178
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithTimeoutInMinutes
BuildConfiguration & WithTimeoutInMinutes(int value)
Definition: BuildConfiguration.h:309
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetTimeoutInMinutes
void SetTimeoutInMinutes(int value)
Definition: BuildConfiguration.h:302
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetCodeBuildServiceRole
void SetCodeBuildServiceRole(const Aws::String &value)
Definition: BuildConfiguration.h:143
Aws::ElasticBeanstalk::Model::BuildConfiguration::GetArtifactName
const Aws::String & GetArtifactName() const
Definition: BuildConfiguration.h:51
Aws::ElasticBeanstalk::Model::BuildConfiguration::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithComputeType
BuildConfiguration & WithComputeType(const ComputeType &value)
Definition: BuildConfiguration.h:229
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetCodeBuildServiceRole
void SetCodeBuildServiceRole(Aws::String &&value)
Definition: BuildConfiguration.h:150
Aws::ElasticBeanstalk::Model::BuildConfiguration::TimeoutInMinutesHasBeenSet
bool TimeoutInMinutesHasBeenSet() const
Definition: BuildConfiguration.h:295
Aws::ElasticBeanstalk::Model::BuildConfiguration::BuildConfiguration
BuildConfiguration()
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithArtifactName
BuildConfiguration & WithArtifactName(const Aws::String &value)
Definition: BuildConfiguration.h:101
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetComputeType
void SetComputeType(ComputeType &&value)
Definition: BuildConfiguration.h:219
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithArtifactName
BuildConfiguration & WithArtifactName(Aws::String &&value)
Definition: BuildConfiguration.h:111
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetImage
void SetImage(const char *value)
Definition: BuildConfiguration.h:265
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithImage
BuildConfiguration & WithImage(const char *value)
Definition: BuildConfiguration.h:280
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetArtifactName
void SetArtifactName(const char *value)
Definition: BuildConfiguration.h:91
Aws::ElasticBeanstalk::Model::BuildConfiguration::GetCodeBuildServiceRole
const Aws::String & GetCodeBuildServiceRole() const
Definition: BuildConfiguration.h:129
Aws::ElasticBeanstalk::Model::BuildConfiguration::operator=
BuildConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetComputeType
void SetComputeType(const ComputeType &value)
Definition: BuildConfiguration.h:209
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::BuildConfiguration::BuildConfiguration
BuildConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::BuildConfiguration::CodeBuildServiceRoleHasBeenSet
bool CodeBuildServiceRoleHasBeenSet() const
Definition: BuildConfiguration.h:136
Aws::ElasticBeanstalk::Model::BuildConfiguration::GetTimeoutInMinutes
int GetTimeoutInMinutes() const
Definition: BuildConfiguration.h:288
Aws::ElasticBeanstalk::Model::BuildConfiguration::ArtifactNameHasBeenSet
bool ArtifactNameHasBeenSet() const
Definition: BuildConfiguration.h:61
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithComputeType
BuildConfiguration & WithComputeType(ComputeType &&value)
Definition: BuildConfiguration.h:239
Aws::ElasticBeanstalk::Model::BuildConfiguration::GetImage
const Aws::String & GetImage() const
Definition: BuildConfiguration.h:245
AWSString.h
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithArtifactName
BuildConfiguration & WithArtifactName(const char *value)
Definition: BuildConfiguration.h:121
Aws::ElasticBeanstalk::Model::BuildConfiguration::GetComputeType
const ComputeType & GetComputeType() const
Definition: BuildConfiguration.h:189
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithImage
BuildConfiguration & WithImage(const Aws::String &value)
Definition: BuildConfiguration.h:270
Aws::ElasticBeanstalk::Model::BuildConfiguration::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::BuildConfiguration::ComputeTypeHasBeenSet
bool ComputeTypeHasBeenSet() const
Definition: BuildConfiguration.h:199
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithImage
BuildConfiguration & WithImage(Aws::String &&value)
Definition: BuildConfiguration.h:275
Aws::ElasticBeanstalk::Model::BuildConfiguration::ImageHasBeenSet
bool ImageHasBeenSet() const
Definition: BuildConfiguration.h:250
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetImage
void SetImage(Aws::String &&value)
Definition: BuildConfiguration.h:260
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetImage
void SetImage(const Aws::String &value)
Definition: BuildConfiguration.h:255
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetArtifactName
void SetArtifactName(Aws::String &&value)
Definition: BuildConfiguration.h:81
Aws::ElasticBeanstalk::Model::ComputeType
ComputeType
Definition: ComputeType.h:17
Aws::ElasticBeanstalk::Model::BuildConfiguration
Definition: BuildConfiguration.h:33
ComputeType.h
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithCodeBuildServiceRole
BuildConfiguration & WithCodeBuildServiceRole(const Aws::String &value)
Definition: BuildConfiguration.h:164
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetCodeBuildServiceRole
void SetCodeBuildServiceRole(const char *value)
Definition: BuildConfiguration.h:157
Aws::ElasticBeanstalk::Model::BuildConfiguration::WithCodeBuildServiceRole
BuildConfiguration & WithCodeBuildServiceRole(Aws::String &&value)
Definition: BuildConfiguration.h:171
Aws::ElasticBeanstalk::Model::BuildConfiguration::SetArtifactName
void SetArtifactName(const Aws::String &value)
Definition: BuildConfiguration.h:71