AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StatusCodes.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElasticBeanstalk
20{
21namespace Model
22{
23
33 {
34 public:
35 AWS_ELASTICBEANSTALK_API StatusCodes();
36 AWS_ELASTICBEANSTALK_API StatusCodes(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICBEANSTALK_API StatusCodes& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline int GetStatus2xx() const{ return m_status2xx; }
49 inline bool Status2xxHasBeenSet() const { return m_status2xxHasBeenSet; }
50 inline void SetStatus2xx(int value) { m_status2xxHasBeenSet = true; m_status2xx = value; }
51 inline StatusCodes& WithStatus2xx(int value) { SetStatus2xx(value); return *this;}
53
55
59 inline int GetStatus3xx() const{ return m_status3xx; }
60 inline bool Status3xxHasBeenSet() const { return m_status3xxHasBeenSet; }
61 inline void SetStatus3xx(int value) { m_status3xxHasBeenSet = true; m_status3xx = value; }
62 inline StatusCodes& WithStatus3xx(int value) { SetStatus3xx(value); return *this;}
64
66
70 inline int GetStatus4xx() const{ return m_status4xx; }
71 inline bool Status4xxHasBeenSet() const { return m_status4xxHasBeenSet; }
72 inline void SetStatus4xx(int value) { m_status4xxHasBeenSet = true; m_status4xx = value; }
73 inline StatusCodes& WithStatus4xx(int value) { SetStatus4xx(value); return *this;}
75
77
81 inline int GetStatus5xx() const{ return m_status5xx; }
82 inline bool Status5xxHasBeenSet() const { return m_status5xxHasBeenSet; }
83 inline void SetStatus5xx(int value) { m_status5xxHasBeenSet = true; m_status5xx = value; }
84 inline StatusCodes& WithStatus5xx(int value) { SetStatus5xx(value); return *this;}
86 private:
87
88 int m_status2xx;
89 bool m_status2xxHasBeenSet = false;
90
91 int m_status3xx;
92 bool m_status3xxHasBeenSet = false;
93
94 int m_status4xx;
95 bool m_status4xxHasBeenSet = false;
96
97 int m_status5xx;
98 bool m_status5xxHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ElasticBeanstalk
103} // namespace Aws
StatusCodes & WithStatus2xx(int value)
Definition StatusCodes.h:51
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICBEANSTALK_API StatusCodes(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API StatusCodes & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
StatusCodes & WithStatus4xx(int value)
Definition StatusCodes.h:73
AWS_ELASTICBEANSTALK_API StatusCodes()
StatusCodes & WithStatus5xx(int value)
Definition StatusCodes.h:84
StatusCodes & WithStatus3xx(int value)
Definition StatusCodes.h:62
std::basic_ostream< char, std::char_traits< char > > OStream