AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 SourceType GetSourceType() const { return m_sourceType; }
51 inline bool SourceTypeHasBeenSet() const { return m_sourceTypeHasBeenSet; }
52 inline void SetSourceType(SourceType value) { m_sourceTypeHasBeenSet = true; m_sourceType = value; }
53 inline SourceBuildInformation& WithSourceType(SourceType value) { SetSourceType(value); return *this;}
55
57
61 inline SourceRepository GetSourceRepository() const { return m_sourceRepository; }
62 inline bool SourceRepositoryHasBeenSet() const { return m_sourceRepositoryHasBeenSet; }
63 inline void SetSourceRepository(SourceRepository value) { m_sourceRepositoryHasBeenSet = true; m_sourceRepository = value; }
66
68
78 inline const Aws::String& GetSourceLocation() const { return m_sourceLocation; }
79 inline bool SourceLocationHasBeenSet() const { return m_sourceLocationHasBeenSet; }
80 template<typename SourceLocationT = Aws::String>
81 void SetSourceLocation(SourceLocationT&& value) { m_sourceLocationHasBeenSet = true; m_sourceLocation = std::forward<SourceLocationT>(value); }
82 template<typename SourceLocationT = Aws::String>
83 SourceBuildInformation& WithSourceLocation(SourceLocationT&& value) { SetSourceLocation(std::forward<SourceLocationT>(value)); return *this;}
85 private:
86
87 SourceType m_sourceType{SourceType::NOT_SET};
88 bool m_sourceTypeHasBeenSet = false;
89
91 bool m_sourceRepositoryHasBeenSet = false;
92
93 Aws::String m_sourceLocation;
94 bool m_sourceLocationHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace ElasticBeanstalk
99} // namespace Aws
SourceBuildInformation & WithSourceRepository(SourceRepository 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(SourceLocationT &&value)
SourceBuildInformation & WithSourceType(SourceType value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API SourceBuildInformation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API SourceBuildInformation()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream