AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetConnectionResult.h
1
6#pragma once
7#include <aws/apigatewaymanagementapi/ApiGatewayManagementApi_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/apigatewaymanagementapi/model/Identity.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ApiGatewayManagementApi
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APIGATEWAYMANAGEMENTAPI_API GetConnectionResult();
35
36
38
41 inline const Aws::Utils::DateTime& GetConnectedAt() const{ return m_connectedAt; }
42 inline void SetConnectedAt(const Aws::Utils::DateTime& value) { m_connectedAt = value; }
43 inline void SetConnectedAt(Aws::Utils::DateTime&& value) { m_connectedAt = std::move(value); }
44 inline GetConnectionResult& WithConnectedAt(const Aws::Utils::DateTime& value) { SetConnectedAt(value); return *this;}
45 inline GetConnectionResult& WithConnectedAt(Aws::Utils::DateTime&& value) { SetConnectedAt(std::move(value)); return *this;}
47
49
50 inline const Identity& GetIdentity() const{ return m_identity; }
51 inline void SetIdentity(const Identity& value) { m_identity = value; }
52 inline void SetIdentity(Identity&& value) { m_identity = std::move(value); }
53 inline GetConnectionResult& WithIdentity(const Identity& value) { SetIdentity(value); return *this;}
54 inline GetConnectionResult& WithIdentity(Identity&& value) { SetIdentity(std::move(value)); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetLastActiveAt() const{ return m_lastActiveAt; }
62 inline void SetLastActiveAt(const Aws::Utils::DateTime& value) { m_lastActiveAt = value; }
63 inline void SetLastActiveAt(Aws::Utils::DateTime&& value) { m_lastActiveAt = std::move(value); }
64 inline GetConnectionResult& WithLastActiveAt(const Aws::Utils::DateTime& value) { SetLastActiveAt(value); return *this;}
65 inline GetConnectionResult& WithLastActiveAt(Aws::Utils::DateTime&& value) { SetLastActiveAt(std::move(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline GetConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline GetConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline GetConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::Utils::DateTime m_connectedAt;
81
82 Identity m_identity;
83
84 Aws::Utils::DateTime m_lastActiveAt;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace ApiGatewayManagementApi
91} // namespace Aws
GetConnectionResult & WithLastActiveAt(const Aws::Utils::DateTime &value)
GetConnectionResult & WithRequestId(const Aws::String &value)
GetConnectionResult & WithConnectedAt(Aws::Utils::DateTime &&value)
GetConnectionResult & WithLastActiveAt(Aws::Utils::DateTime &&value)
AWS_APIGATEWAYMANAGEMENTAPI_API GetConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetConnectedAt(const Aws::Utils::DateTime &value)
void SetLastActiveAt(const Aws::Utils::DateTime &value)
GetConnectionResult & WithConnectedAt(const Aws::Utils::DateTime &value)
GetConnectionResult & WithRequestId(Aws::String &&value)
AWS_APIGATEWAYMANAGEMENTAPI_API GetConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConnectionResult & WithIdentity(Identity &&value)
GetConnectionResult & WithIdentity(const Identity &value)
AWS_APIGATEWAYMANAGEMENTAPI_API GetConnectionResult()
GetConnectionResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue