AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceBuildInformation.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/elasticbeanstalk/model/SourceType.h>
10#include <aws/elasticbeanstalk/model/SourceRepository.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticBeanstalk
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ELASTICBEANSTALK_API SourceBuildInformation();
38 AWS_ELASTICBEANSTALK_API SourceBuildInformation(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_ELASTICBEANSTALK_API SourceBuildInformation& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const SourceType& GetSourceType() const{ return m_sourceType; }
51 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
52 inline void SetSourceType(const SourceType& value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
53 inline void SetSourceType(SourceType&& value) { m_sourceTypeHasBeenSet = true; m_sourceType = std::move(value); }
54 inline SourceBuildInformation& WithSourceType(const SourceType& value) { SetSourceType(value); return *this;}
55 inline SourceBuildInformation& WithSourceType(SourceType&& value) { SetSourceType(std::move(value)); return *this;}
57
59
63 inline const SourceRepository& GetSourceRepository() const{ return m_sourceRepository; }
64 inline bool SourceRepositoryHasBeenSet() const { return m_sourceRepositoryHasBeenSet; }
65 inline void SetSourceRepository(const SourceRepository& value) { m_sourceRepositoryHasBeenSet = true; m_sourceRepository = value; }
66 inline void SetSourceRepository(SourceRepository&& value) { m_sourceRepositoryHasBeenSet = true; m_sourceRepository = std::move(value); }
68 inline SourceBuildInformation& WithSourceRepository(SourceRepository&& value) { SetSourceRepository(std::move(value)); return *this;}
70
72
82 inline const Aws::String& GetSourceLocation() const{ return m_sourceLocation; }
83 inline bool SourceLocationHasBeenSet() const { return m_sourceLocationHasBeenSet; }
84 inline void SetSourceLocation(const Aws::String& value) { m_sourceLocationHasBeenSet = true; m_sourceLocation = value; }
85 inline void SetSourceLocation(Aws::String&& value) { m_sourceLocationHasBeenSet = true; m_sourceLocation = std::move(value); }
86 inline void SetSourceLocation(const char* value) { m_sourceLocationHasBeenSet = true; m_sourceLocation.assign(value); }
87 inline SourceBuildInformation& WithSourceLocation(const Aws::String& value) { SetSourceLocation(value); return *this;}
88 inline SourceBuildInformation& WithSourceLocation(Aws::String&& value) { SetSourceLocation(std::move(value)); return *this;}
89 inline SourceBuildInformation& WithSourceLocation(const char* value) { SetSourceLocation(value); return *this;}
91 private:
92
93 SourceType m_sourceType;
94 bool m_sourceTypeHasBeenSet = false;
95
96 SourceRepository m_sourceRepository;
97 bool m_sourceRepositoryHasBeenSet = false;
98
99 Aws::String m_sourceLocation;
100 bool m_sourceLocationHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace ElasticBeanstalk
105} // namespace Aws
SourceBuildInformation & WithSourceLocation(const char *value)
SourceBuildInformation & WithSourceType(SourceType &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API SourceBuildInformation(const Aws::Utils::Xml::XmlNode &xmlNode)
SourceBuildInformation & WithSourceLocation(Aws::String &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SourceBuildInformation & WithSourceLocation(const Aws::String &value)
AWS_ELASTICBEANSTALK_API SourceBuildInformation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SourceBuildInformation & WithSourceRepository(SourceRepository &&value)
SourceBuildInformation & WithSourceType(const SourceType &value)
SourceBuildInformation & WithSourceRepository(const SourceRepository &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream