AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
Queue.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElasticBeanstalk {
20namespace Model {
21
27class Queue {
28 public:
29 AWS_ELASTICBEANSTALK_API Queue() = default;
30 AWS_ELASTICBEANSTALK_API Queue(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_ELASTICBEANSTALK_API Queue& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
34 const char* locationValue) const;
35 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
49 Queue& WithName(NameT&& value) {
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetURL() const { return m_uRL; }
60 inline bool URLHasBeenSet() const { return m_uRLHasBeenSet; }
61 template <typename URLT = Aws::String>
62 void SetURL(URLT&& value) {
63 m_uRLHasBeenSet = true;
64 m_uRL = std::forward<URLT>(value);
65 }
66 template <typename URLT = Aws::String>
67 Queue& WithURL(URLT&& value) {
68 SetURL(std::forward<URLT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_name;
74
75 Aws::String m_uRL;
76 bool m_nameHasBeenSet = false;
77 bool m_uRLHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ElasticBeanstalk
82} // namespace Aws
void SetName(NameT &&value)
Definition Queue.h:44
AWS_ELASTICBEANSTALK_API Queue()=default
const Aws::String & GetURL() const
Definition Queue.h:59
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Queue & WithName(NameT &&value)
Definition Queue.h:49
Queue & WithURL(URLT &&value)
Definition Queue.h:67
void SetURL(URLT &&value)
Definition Queue.h:62
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetName() const
Definition Queue.h:41
AWS_ELASTICBEANSTALK_API Queue & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API Queue(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream