AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ElasticIpStatus.h
1
6#pragma once
7#include <aws/redshift/Redshift_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 Redshift
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REDSHIFT_API ElasticIpStatus() = default;
36 AWS_REDSHIFT_API ElasticIpStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_REDSHIFT_API ElasticIpStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetElasticIp() const { return m_elasticIp; }
48 inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; }
49 template<typename ElasticIpT = Aws::String>
50 void SetElasticIp(ElasticIpT&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::forward<ElasticIpT>(value); }
51 template<typename ElasticIpT = Aws::String>
52 ElasticIpStatus& WithElasticIp(ElasticIpT&& value) { SetElasticIp(std::forward<ElasticIpT>(value)); return *this;}
54
56
59 inline const Aws::String& GetStatus() const { return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 template<typename StatusT = Aws::String>
62 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
63 template<typename StatusT = Aws::String>
64 ElasticIpStatus& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
66 private:
67
68 Aws::String m_elasticIp;
69 bool m_elasticIpHasBeenSet = false;
70
71 Aws::String m_status;
72 bool m_statusHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Redshift
77} // namespace Aws
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ElasticIpStatus & WithStatus(StatusT &&value)
ElasticIpStatus & WithElasticIp(ElasticIpT &&value)
const Aws::String & GetStatus() const
AWS_REDSHIFT_API ElasticIpStatus()=default
AWS_REDSHIFT_API ElasticIpStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetElasticIp(ElasticIpT &&value)
AWS_REDSHIFT_API ElasticIpStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetElasticIp() const
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream