AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Queue.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticBeanstalk
22{
23namespace Model
24{
25
31 class Queue
32 {
33 public:
34 AWS_ELASTICBEANSTALK_API Queue();
35 AWS_ELASTICBEANSTALK_API Queue(const Aws::Utils::Xml::XmlNode& xmlNode);
36 AWS_ELASTICBEANSTALK_API Queue& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
37
38 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline Queue& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline Queue& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline Queue& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetURL() const{ return m_uRL; }
61 inline bool URLHasBeenSet() const { return m_uRLHasBeenSet; }
62 inline void SetURL(const Aws::String& value) { m_uRLHasBeenSet = true; m_uRL = value; }
63 inline void SetURL(Aws::String&& value) { m_uRLHasBeenSet = true; m_uRL = std::move(value); }
64 inline void SetURL(const char* value) { m_uRLHasBeenSet = true; m_uRL.assign(value); }
65 inline Queue& WithURL(const Aws::String& value) { SetURL(value); return *this;}
66 inline Queue& WithURL(Aws::String&& value) { SetURL(std::move(value)); return *this;}
67 inline Queue& WithURL(const char* value) { SetURL(value); return *this;}
69 private:
70
71 Aws::String m_name;
72 bool m_nameHasBeenSet = false;
73
74 Aws::String m_uRL;
75 bool m_uRLHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ElasticBeanstalk
80} // namespace Aws
void SetURL(const char *value)
Definition Queue.h:64
Queue & WithName(const char *value)
Definition Queue.h:53
AWS_ELASTICBEANSTALK_API Queue()
void SetName(const char *value)
Definition Queue.h:50
const Aws::String & GetURL() const
Definition Queue.h:60
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Queue & WithName(Aws::String &&value)
Definition Queue.h:52
void SetURL(const Aws::String &value)
Definition Queue.h:62
Queue & WithName(const Aws::String &value)
Definition Queue.h:51
void SetName(Aws::String &&value)
Definition Queue.h:49
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Queue & WithURL(const char *value)
Definition Queue.h:67
const Aws::String & GetName() const
Definition Queue.h:46
AWS_ELASTICBEANSTALK_API Queue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API Queue(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetURL(Aws::String &&value)
Definition Queue.h:63
Queue & WithURL(Aws::String &&value)
Definition Queue.h:66
void SetName(const Aws::String &value)
Definition Queue.h:48
Queue & WithURL(const Aws::String &value)
Definition Queue.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream