AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TerminateConnectionStatus.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ClientVpnConnectionStatus.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:
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 Aws::String& GetConnectionId() const{ return m_connectionId; }
49 inline bool ConnectionIdHasBeenSet() const { return m_connectionIdHasBeenSet; }
50 inline void SetConnectionId(const Aws::String& value) { m_connectionIdHasBeenSet = true; m_connectionId = value; }
51 inline void SetConnectionId(Aws::String&& value) { m_connectionIdHasBeenSet = true; m_connectionId = std::move(value); }
52 inline void SetConnectionId(const char* value) { m_connectionIdHasBeenSet = true; m_connectionId.assign(value); }
53 inline TerminateConnectionStatus& WithConnectionId(const Aws::String& value) { SetConnectionId(value); return *this;}
54 inline TerminateConnectionStatus& WithConnectionId(Aws::String&& value) { SetConnectionId(std::move(value)); return *this;}
55 inline TerminateConnectionStatus& WithConnectionId(const char* value) { SetConnectionId(value); return *this;}
57
59
62 inline const ClientVpnConnectionStatus& GetPreviousStatus() const{ return m_previousStatus; }
63 inline bool PreviousStatusHasBeenSet() const { return m_previousStatusHasBeenSet; }
64 inline void SetPreviousStatus(const ClientVpnConnectionStatus& value) { m_previousStatusHasBeenSet = true; m_previousStatus = value; }
65 inline void SetPreviousStatus(ClientVpnConnectionStatus&& value) { m_previousStatusHasBeenSet = true; m_previousStatus = std::move(value); }
69
71
74 inline const ClientVpnConnectionStatus& GetCurrentStatus() const{ return m_currentStatus; }
75 inline bool CurrentStatusHasBeenSet() const { return m_currentStatusHasBeenSet; }
76 inline void SetCurrentStatus(const ClientVpnConnectionStatus& value) { m_currentStatusHasBeenSet = true; m_currentStatus = value; }
77 inline void SetCurrentStatus(ClientVpnConnectionStatus&& value) { m_currentStatusHasBeenSet = true; m_currentStatus = std::move(value); }
81 private:
82
83 Aws::String m_connectionId;
84 bool m_connectionIdHasBeenSet = false;
85
86 ClientVpnConnectionStatus m_previousStatus;
87 bool m_previousStatusHasBeenSet = false;
88
89 ClientVpnConnectionStatus m_currentStatus;
90 bool m_currentStatusHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace EC2
95} // namespace Aws
TerminateConnectionStatus & WithConnectionId(Aws::String &&value)
void SetPreviousStatus(ClientVpnConnectionStatus &&value)
void SetCurrentStatus(const ClientVpnConnectionStatus &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
TerminateConnectionStatus & WithPreviousStatus(const ClientVpnConnectionStatus &value)
AWS_EC2_API TerminateConnectionStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API TerminateConnectionStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TerminateConnectionStatus & WithConnectionId(const char *value)
void SetCurrentStatus(ClientVpnConnectionStatus &&value)
TerminateConnectionStatus & WithCurrentStatus(const ClientVpnConnectionStatus &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TerminateConnectionStatus & WithConnectionId(const Aws::String &value)
const ClientVpnConnectionStatus & GetPreviousStatus() const
void SetPreviousStatus(const ClientVpnConnectionStatus &value)
TerminateConnectionStatus & WithPreviousStatus(ClientVpnConnectionStatus &&value)
const ClientVpnConnectionStatus & GetCurrentStatus() const
TerminateConnectionStatus & WithCurrentStatus(ClientVpnConnectionStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream