AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
SourceConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElasticBeanstalk {
20namespace Model {
21
29 public:
30 AWS_ELASTICBEANSTALK_API SourceConfiguration() = default;
31 AWS_ELASTICBEANSTALK_API SourceConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_ELASTICBEANSTALK_API SourceConfiguration& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
35 const char* locationValue) const;
36 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
39
42 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
43 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
44 template <typename ApplicationNameT = Aws::String>
45 void SetApplicationName(ApplicationNameT&& value) {
46 m_applicationNameHasBeenSet = true;
47 m_applicationName = std::forward<ApplicationNameT>(value);
48 }
49 template <typename ApplicationNameT = Aws::String>
50 SourceConfiguration& WithApplicationName(ApplicationNameT&& value) {
51 SetApplicationName(std::forward<ApplicationNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetTemplateName() const { return m_templateName; }
61 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
62 template <typename TemplateNameT = Aws::String>
63 void SetTemplateName(TemplateNameT&& value) {
64 m_templateNameHasBeenSet = true;
65 m_templateName = std::forward<TemplateNameT>(value);
66 }
67 template <typename TemplateNameT = Aws::String>
68 SourceConfiguration& WithTemplateName(TemplateNameT&& value) {
69 SetTemplateName(std::forward<TemplateNameT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_applicationName;
75
76 Aws::String m_templateName;
77 bool m_applicationNameHasBeenSet = false;
78 bool m_templateNameHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace ElasticBeanstalk
83} // 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