AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfirmConnectionResult.h
1
6#pragma once
7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/directconnect/model/ConnectionState.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DirectConnect
25{
26namespace Model
27{
29 {
30 public:
31 AWS_DIRECTCONNECT_API ConfirmConnectionResult();
34
35
37
55 inline const ConnectionState& GetConnectionState() const{ return m_connectionState; }
56 inline void SetConnectionState(const ConnectionState& value) { m_connectionState = value; }
57 inline void SetConnectionState(ConnectionState&& value) { m_connectionState = std::move(value); }
59 inline ConfirmConnectionResult& WithConnectionState(ConnectionState&& value) { SetConnectionState(std::move(value)); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const{ return m_requestId; }
65 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
66 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
67 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
68 inline ConfirmConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
69 inline ConfirmConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
70 inline ConfirmConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
72 private:
73
74 ConnectionState m_connectionState;
75
76 Aws::String m_requestId;
77 };
78
79} // namespace Model
80} // namespace DirectConnect
81} // namespace Aws
AWS_DIRECTCONNECT_API ConfirmConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ConfirmConnectionResult & WithRequestId(const Aws::String &value)
AWS_DIRECTCONNECT_API ConfirmConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ConfirmConnectionResult & WithConnectionState(const ConnectionState &value)
ConfirmConnectionResult & WithRequestId(Aws::String &&value)
ConfirmConnectionResult & WithRequestId(const char *value)
ConfirmConnectionResult & WithConnectionState(ConnectionState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue