AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SourceConfiguration.h
1
6#pragma once
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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticBeanstalk
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICBEANSTALK_API SourceConfiguration() = default;
36 AWS_ELASTICBEANSTALK_API SourceConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICBEANSTALK_API SourceConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
48 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
49 template<typename ApplicationNameT = Aws::String>
50 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
51 template<typename ApplicationNameT = Aws::String>
52 SourceConfiguration& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetTemplateName() const { return m_templateName; }
60 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
61 template<typename TemplateNameT = Aws::String>
62 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
63 template<typename TemplateNameT = Aws::String>
64 SourceConfiguration& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
66 private:
67
68 Aws::String m_applicationName;
69 bool m_applicationNameHasBeenSet = false;
70
71 Aws::String m_templateName;
72 bool m_templateNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ElasticBeanstalk
77} // namespace Aws
AWS_ELASTICBEANSTALK_API SourceConfiguration()=default
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SourceConfiguration & WithTemplateName(TemplateNameT &&value)
AWS_ELASTICBEANSTALK_API SourceConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API SourceConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SourceConfiguration & WithApplicationName(ApplicationNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream