AWS SDK for C++  1.9.176
AWS SDK for C++
Queue.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace ElasticBeanstalk
22 {
23 namespace Model
24 {
25 
32  {
33  public:
34  Queue();
37 
38  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39  void OutputToStream(Aws::OStream& oStream, const char* location) const;
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline Queue& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline Queue& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline Queue& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetURL() const{ return m_uRL; }
87 
91  inline bool URLHasBeenSet() const { return m_uRLHasBeenSet; }
92 
96  inline void SetURL(const Aws::String& value) { m_uRLHasBeenSet = true; m_uRL = value; }
97 
101  inline void SetURL(Aws::String&& value) { m_uRLHasBeenSet = true; m_uRL = std::move(value); }
102 
106  inline void SetURL(const char* value) { m_uRLHasBeenSet = true; m_uRL.assign(value); }
107 
111  inline Queue& WithURL(const Aws::String& value) { SetURL(value); return *this;}
112 
116  inline Queue& WithURL(Aws::String&& value) { SetURL(std::move(value)); return *this;}
117 
121  inline Queue& WithURL(const char* value) { SetURL(value); return *this;}
122 
123  private:
124 
125  Aws::String m_name;
126  bool m_nameHasBeenSet;
127 
128  Aws::String m_uRL;
129  bool m_uRLHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace ElasticBeanstalk
134 } // namespace Aws
Aws::ElasticBeanstalk::Model::Queue::WithName
Queue & WithName(Aws::String &&value)
Definition: Queue.h:75
Aws::ElasticBeanstalk::Model::Queue::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::ElasticBeanstalk::Model::Queue::SetName
void SetName(const Aws::String &value)
Definition: Queue.h:55
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::Queue::Queue
Queue()
Aws::ElasticBeanstalk::Model::Queue::WithURL
Queue & WithURL(const Aws::String &value)
Definition: Queue.h:111
Aws::ElasticBeanstalk::Model::Queue::SetURL
void SetURL(const char *value)
Definition: Queue.h:106
AWSStreamFwd.h
Aws::ElasticBeanstalk::Model::Queue::SetURL
void SetURL(Aws::String &&value)
Definition: Queue.h:101
Aws::ElasticBeanstalk::Model::Queue::WithName
Queue & WithName(const Aws::String &value)
Definition: Queue.h:70
Aws::ElasticBeanstalk::Model::Queue::SetName
void SetName(Aws::String &&value)
Definition: Queue.h:60
Aws::ElasticBeanstalk::Model::Queue::operator=
Queue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::ElasticBeanstalk::Model::Queue::WithName
Queue & WithName(const char *value)
Definition: Queue.h:80
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::ElasticBeanstalk::Model::Queue::SetName
void SetName(const char *value)
Definition: Queue.h:65
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::ElasticBeanstalk::Model::Queue::SetURL
void SetURL(const Aws::String &value)
Definition: Queue.h:96
AWSString.h
Aws::ElasticBeanstalk::Model::Queue::GetName
const Aws::String & GetName() const
Definition: Queue.h:45
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::Queue::WithURL
Queue & WithURL(Aws::String &&value)
Definition: Queue.h:116
Aws::ElasticBeanstalk::Model::Queue::Queue
Queue(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticBeanstalk::Model::Queue::URLHasBeenSet
bool URLHasBeenSet() const
Definition: Queue.h:91
Aws::ElasticBeanstalk::Model::Queue::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Queue.h:50
Aws::ElasticBeanstalk::Model::Queue
Definition: Queue.h:32
Aws::ElasticBeanstalk::Model::Queue::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
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::Queue::WithURL
Queue & WithURL(const char *value)
Definition: Queue.h:121
Aws::ElasticBeanstalk::Model::Queue::GetURL
const Aws::String & GetURL() const
Definition: Queue.h:86