AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
50 template<typename NameT = Aws::String>
51 Queue& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetURL() const { return m_uRL; }
59 inline bool URLHasBeenSet() const { return m_uRLHasBeenSet; }
60 template<typename URLT = Aws::String>
61 void SetURL(URLT&& value) { m_uRLHasBeenSet = true; m_uRL = std::forward<URLT>(value); }
62 template<typename URLT = Aws::String>
63 Queue& WithURL(URLT&& value) { SetURL(std::forward<URLT>(value)); return *this;}
65 private:
66
67 Aws::String m_name;
68 bool m_nameHasBeenSet = false;
69
70 Aws::String m_uRL;
71 bool m_uRLHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace ElasticBeanstalk
76} // namespace Aws
void SetName(NameT &&value)
Definition Queue.h:49
AWS_ELASTICBEANSTALK_API Queue()=default
const Aws::String & GetURL() const
Definition Queue.h:58
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Queue & WithName(NameT &&value)
Definition Queue.h:51
Queue & WithURL(URLT &&value)
Definition Queue.h:63
void SetURL(URLT &&value)
Definition Queue.h:61
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:46
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