AWS SDK for C++  1.9.175
AWS SDK for C++
SolutionStackDescription.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace ElasticBeanstalk
23 {
24 namespace Model
25 {
26 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; }
47 
51  inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
52 
56  inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; }
57 
61  inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::move(value); }
62 
66  inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); }
67 
71  inline SolutionStackDescription& WithSolutionStackName(const Aws::String& value) { SetSolutionStackName(value); return *this;}
72 
76  inline SolutionStackDescription& WithSolutionStackName(Aws::String&& value) { SetSolutionStackName(std::move(value)); return *this;}
77 
81  inline SolutionStackDescription& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;}
82 
83 
87  inline const Aws::Vector<Aws::String>& GetPermittedFileTypes() const{ return m_permittedFileTypes; }
88 
92  inline bool PermittedFileTypesHasBeenSet() const { return m_permittedFileTypesHasBeenSet; }
93 
97  inline void SetPermittedFileTypes(const Aws::Vector<Aws::String>& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes = value; }
98 
102  inline void SetPermittedFileTypes(Aws::Vector<Aws::String>&& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes = std::move(value); }
103 
107  inline SolutionStackDescription& WithPermittedFileTypes(const Aws::Vector<Aws::String>& value) { SetPermittedFileTypes(value); return *this;}
108 
112  inline SolutionStackDescription& WithPermittedFileTypes(Aws::Vector<Aws::String>&& value) { SetPermittedFileTypes(std::move(value)); return *this;}
113 
117  inline SolutionStackDescription& AddPermittedFileTypes(const Aws::String& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes.push_back(value); return *this; }
118 
122  inline SolutionStackDescription& AddPermittedFileTypes(Aws::String&& value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes.push_back(std::move(value)); return *this; }
123 
127  inline SolutionStackDescription& AddPermittedFileTypes(const char* value) { m_permittedFileTypesHasBeenSet = true; m_permittedFileTypes.push_back(value); return *this; }
128 
129  private:
130 
131  Aws::String m_solutionStackName;
132  bool m_solutionStackNameHasBeenSet;
133 
134  Aws::Vector<Aws::String> m_permittedFileTypes;
135  bool m_permittedFileTypesHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace ElasticBeanstalk
140 } // namespace Aws
Aws::ElasticBeanstalk::Model::SolutionStackDescription::WithSolutionStackName
SolutionStackDescription & WithSolutionStackName(const char *value)
Definition: SolutionStackDescription.h:81
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::SolutionStackDescription::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElasticBeanstalk::Model::SolutionStackDescription::SetPermittedFileTypes
void SetPermittedFileTypes(Aws::Vector< Aws::String > &&value)
Definition: SolutionStackDescription.h:102
Aws::ElasticBeanstalk::Model::SolutionStackDescription::operator=
SolutionStackDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::SolutionStackDescription
Definition: SolutionStackDescription.h:33
AWSVector.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::SolutionStackDescription::WithPermittedFileTypes
SolutionStackDescription & WithPermittedFileTypes(const Aws::Vector< Aws::String > &value)
Definition: SolutionStackDescription.h:107
Aws::ElasticBeanstalk::Model::SolutionStackDescription::SetSolutionStackName
void SetSolutionStackName(Aws::String &&value)
Definition: SolutionStackDescription.h:61
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::SolutionStackDescription::GetPermittedFileTypes
const Aws::Vector< Aws::String > & GetPermittedFileTypes() const
Definition: SolutionStackDescription.h:87
Aws::ElasticBeanstalk::Model::SolutionStackDescription::SetSolutionStackName
void SetSolutionStackName(const Aws::String &value)
Definition: SolutionStackDescription.h:56
Aws::ElasticBeanstalk::Model::SolutionStackDescription::AddPermittedFileTypes
SolutionStackDescription & AddPermittedFileTypes(const Aws::String &value)
Definition: SolutionStackDescription.h:117
Aws::ElasticBeanstalk::Model::SolutionStackDescription::SolutionStackNameHasBeenSet
bool SolutionStackNameHasBeenSet() const
Definition: SolutionStackDescription.h:51
AWSString.h
Aws::ElasticBeanstalk::Model::SolutionStackDescription::SolutionStackDescription
SolutionStackDescription()
Aws::ElasticBeanstalk::Model::SolutionStackDescription::WithSolutionStackName
SolutionStackDescription & WithSolutionStackName(const Aws::String &value)
Definition: SolutionStackDescription.h:71
Aws::ElasticBeanstalk::Model::SolutionStackDescription::SolutionStackDescription
SolutionStackDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::SolutionStackDescription::SetSolutionStackName
void SetSolutionStackName(const char *value)
Definition: SolutionStackDescription.h:66
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::SolutionStackDescription::WithSolutionStackName
SolutionStackDescription & WithSolutionStackName(Aws::String &&value)
Definition: SolutionStackDescription.h:76
Aws::ElasticBeanstalk::Model::SolutionStackDescription::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::SolutionStackDescription::AddPermittedFileTypes
SolutionStackDescription & AddPermittedFileTypes(const char *value)
Definition: SolutionStackDescription.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::ElasticBeanstalk::Model::SolutionStackDescription::WithPermittedFileTypes
SolutionStackDescription & WithPermittedFileTypes(Aws::Vector< Aws::String > &&value)
Definition: SolutionStackDescription.h:112
Aws::ElasticBeanstalk::Model::SolutionStackDescription::PermittedFileTypesHasBeenSet
bool PermittedFileTypesHasBeenSet() const
Definition: SolutionStackDescription.h:92
Aws::ElasticBeanstalk::Model::SolutionStackDescription::SetPermittedFileTypes
void SetPermittedFileTypes(const Aws::Vector< Aws::String > &value)
Definition: SolutionStackDescription.h:97
Aws::ElasticBeanstalk::Model::SolutionStackDescription::AddPermittedFileTypes
SolutionStackDescription & AddPermittedFileTypes(Aws::String &&value)
Definition: SolutionStackDescription.h:122
Aws::ElasticBeanstalk::Model::SolutionStackDescription::GetSolutionStackName
const Aws::String & GetSolutionStackName() const
Definition: SolutionStackDescription.h:46