AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; }
50 inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::move(value); }
51 inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); }
53 inline SolutionStackDescription& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(std::move(value)); return *this;}
54 inline SolutionStackDescription& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetPermittedFileTypes() const{ return m_permittedFileTypes; }
62 inline bool PermittedFileTypesHasBeenSet() const { return m_permittedFileTypesHasBeenSet; }
63 inline void SetPermittedFileTypes(const Aws::Vector<Aws::String>& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes = value; }
64 inline void SetPermittedFileTypes(Aws::Vector<Aws::String>&& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes = std::move(value); }
67 inline SolutionStackDescription& AddPermittedFileTypes(const Aws::String& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes.push_back(value); return *this; }
68 inline SolutionStackDescription& AddPermittedFileTypes(Aws::String&& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes.push_back(std::move(value)); return *this; }
69 inline SolutionStackDescription& AddPermittedFileTypes(const char* value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes.push_back(value); return *this; }
71 private:
72
73 Aws::String m_solutionStackName;
74 bool m_solutionStackNameHasBeenSet = false;
75
76 Aws::Vector<Aws::String> m_permittedFileTypes;
77 bool m_permittedFileTypesHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ElasticBeanstalk
82} // namespace Aws
SolutionStackDescription & AddPermittedFileTypes(Aws::String &&value)
void SetPermittedFileTypes(const Aws::Vector< Aws::String > &value)
void SetPermittedFileTypes(Aws::Vector< Aws::String > &&value)
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
SolutionStackDescription & WithSolutionStackName(const Aws::String &value)
SolutionStackDescription & WithPermittedFileTypes(Aws::Vector< Aws::String > &&value)
SolutionStackDescription & AddPermittedFileTypes(const char *value)
SolutionStackDescription & WithSolutionStackName(const char *value)
AWS_ELASTICBEANSTALK_API SolutionStackDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
SolutionStackDescription & WithSolutionStackName(Aws::String &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
SolutionStackDescription & AddPermittedFileTypes(const Aws::String &value)
SolutionStackDescription & WithPermittedFileTypes(const Aws::Vector< Aws::String > &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