AWS SDK for C++  1.9.129
AWS SDK for C++
ConfirmConnectionResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace DirectConnect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
53  inline const ConnectionState& GetConnectionState() const{ return m_connectionState; }
54 
73  inline void SetConnectionState(const ConnectionState& value) { m_connectionState = value; }
74 
93  inline void SetConnectionState(ConnectionState&& value) { m_connectionState = std::move(value); }
94 
113  inline ConfirmConnectionResult& WithConnectionState(const ConnectionState& value) { SetConnectionState(value); return *this;}
114 
133  inline ConfirmConnectionResult& WithConnectionState(ConnectionState&& value) { SetConnectionState(std::move(value)); return *this;}
134 
135  private:
136 
137  ConnectionState m_connectionState;
138  };
139 
140 } // namespace Model
141 } // namespace DirectConnect
142 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DirectConnect::Model::ConfirmConnectionResult::WithConnectionState
ConfirmConnectionResult & WithConnectionState(ConnectionState &&value)
Definition: ConfirmConnectionResult.h:133
DirectConnect_EXPORTS.h
Aws::DirectConnect::Model::ConfirmConnectionResult
Definition: ConfirmConnectionResult.h:28
Aws::DirectConnect::Model::ConfirmConnectionResult::ConfirmConnectionResult
ConfirmConnectionResult()
Aws::DirectConnect::Model::ConnectionState
ConnectionState
Definition: ConnectionState.h:17
Aws::DirectConnect::Model::ConfirmConnectionResult::ConfirmConnectionResult
ConfirmConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectConnect::Model::ConfirmConnectionResult::WithConnectionState
ConfirmConnectionResult & WithConnectionState(const ConnectionState &value)
Definition: ConfirmConnectionResult.h:113
Aws::DirectConnect::Model::ConfirmConnectionResult::SetConnectionState
void SetConnectionState(ConnectionState &&value)
Definition: ConfirmConnectionResult.h:93
ConnectionState.h
Aws::DirectConnect::Model::ConfirmConnectionResult::GetConnectionState
const ConnectionState & GetConnectionState() const
Definition: ConfirmConnectionResult.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::DirectConnect::Model::ConfirmConnectionResult::SetConnectionState
void SetConnectionState(const ConnectionState &value)
Definition: ConfirmConnectionResult.h:73
AWS_DIRECTCONNECT_API
#define AWS_DIRECTCONNECT_API
Definition: DirectConnect_EXPORTS.h:28
Aws::DirectConnect::Model::ConfirmConnectionResult::operator=
ConfirmConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)