AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SolutionStackDescription.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElasticBeanstalk
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ELASTICBEANSTALK_API SolutionStackDescription() = default;
36 AWS_ELASTICBEANSTALK_API SolutionStackDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICBEANSTALK_API SolutionStackDescription& 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& GetSolutionStackName() const { return m_solutionStackName; }
48 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
49 template<typename SolutionStackNameT = Aws::String>
50 void SetSolutionStackName(SolutionStackNameT&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::forward<SolutionStackNameT>(value); }
51 template<typename SolutionStackNameT = Aws::String>
52 SolutionStackDescription& WithSolutionStackName(SolutionStackNameT&& value) { SetSolutionStackName(std::forward<SolutionStackNameT>(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetPermittedFileTypes() const { return m_permittedFileTypes; }
60 inline bool PermittedFileTypesHasBeenSet() const { return m_permittedFileTypesHasBeenSet; }
61 template<typename PermittedFileTypesT = Aws::Vector<Aws::String>>
62 void SetPermittedFileTypes(PermittedFileTypesT&& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes = std::forward<PermittedFileTypesT>(value); }
63 template<typename PermittedFileTypesT = Aws::Vector<Aws::String>>
64 SolutionStackDescription& WithPermittedFileTypes(PermittedFileTypesT&& value) { SetPermittedFileTypes(std::forward<PermittedFileTypesT>(value)); return *this;}
65 template<typename PermittedFileTypesT = Aws::String>
66 SolutionStackDescription& AddPermittedFileTypes(PermittedFileTypesT&& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes.emplace_back(std::forward<PermittedFileTypesT>(value)); return *this; }
68 private:
69
70 Aws::String m_solutionStackName;
71 bool m_solutionStackNameHasBeenSet = false;
72
73 Aws::Vector<Aws::String> m_permittedFileTypes;
74 bool m_permittedFileTypesHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ElasticBeanstalk
79} // namespace Aws
AWS_ELASTICBEANSTALK_API SolutionStackDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API SolutionStackDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SolutionStackDescription & AddPermittedFileTypes(PermittedFileTypesT &&value)
AWS_ELASTICBEANSTALK_API SolutionStackDescription()=default
SolutionStackDescription & WithPermittedFileTypes(PermittedFileTypesT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SolutionStackDescription & WithSolutionStackName(SolutionStackNameT &&value)
const Aws::Vector< Aws::String > & GetPermittedFileTypes() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream