AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MovingAddressStatus.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/MoveStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_EC2_API MovingAddressStatus();
37 AWS_EC2_API MovingAddressStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const MoveStatus& GetMoveStatus() const{ return m_moveStatus; }
49 inline bool MoveStatusHasBeenSet() const { return m_moveStatusHasBeenSet; }
50 inline void SetMoveStatus(const MoveStatus& value) { m_moveStatusHasBeenSet = true; m_moveStatus = value; }
51 inline void SetMoveStatus(MoveStatus&& value) { m_moveStatusHasBeenSet = true; m_moveStatus = std::move(value); }
52 inline MovingAddressStatus& WithMoveStatus(const MoveStatus& value) { SetMoveStatus(value); return *this;}
53 inline MovingAddressStatus& WithMoveStatus(MoveStatus&& value) { SetMoveStatus(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetPublicIp() const{ return m_publicIp; }
61 inline bool PublicIpHasBeenSet() const { return m_publicIpHasBeenSet; }
62 inline void SetPublicIp(const Aws::String& value) { m_publicIpHasBeenSet = true; m_publicIp = value; }
63 inline void SetPublicIp(Aws::String&& value) { m_publicIpHasBeenSet = true; m_publicIp = std::move(value); }
64 inline void SetPublicIp(const char* value) { m_publicIpHasBeenSet = true; m_publicIp.assign(value); }
65 inline MovingAddressStatus& WithPublicIp(const Aws::String& value) { SetPublicIp(value); return *this;}
66 inline MovingAddressStatus& WithPublicIp(Aws::String&& value) { SetPublicIp(std::move(value)); return *this;}
67 inline MovingAddressStatus& WithPublicIp(const char* value) { SetPublicIp(value); return *this;}
69 private:
70
71 MoveStatus m_moveStatus;
72 bool m_moveStatusHasBeenSet = false;
73
74 Aws::String m_publicIp;
75 bool m_publicIpHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
MovingAddressStatus & WithMoveStatus(const MoveStatus &value)
const Aws::String & GetPublicIp() const
MovingAddressStatus & WithPublicIp(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
MovingAddressStatus & WithPublicIp(const char *value)
void SetMoveStatus(const MoveStatus &value)
MovingAddressStatus & WithPublicIp(const Aws::String &value)
MovingAddressStatus & WithMoveStatus(MoveStatus &&value)
AWS_EC2_API MovingAddressStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPublicIp(const Aws::String &value)
const MoveStatus & GetMoveStatus() const
AWS_EC2_API MovingAddressStatus & operator=(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