AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateConnectionResult.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/model/ConnectionState.h>
10#include <aws/core/utils/DateTime.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 EventBridge
26{
27namespace Model
28{
30 {
31 public:
32 AWS_EVENTBRIDGE_API UpdateConnectionResult();
35
36
38
41 inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
42 inline void SetConnectionArn(const Aws::String& value) { m_connectionArn = value; }
43 inline void SetConnectionArn(Aws::String&& value) { m_connectionArn = std::move(value); }
44 inline void SetConnectionArn(const char* value) { m_connectionArn.assign(value); }
45 inline UpdateConnectionResult& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
46 inline UpdateConnectionResult& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
47 inline UpdateConnectionResult& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
49
51
54 inline const ConnectionState& GetConnectionState() const{ return m_connectionState; }
55 inline void SetConnectionState(const ConnectionState& value) { m_connectionState = value; }
56 inline void SetConnectionState(ConnectionState&& value) { m_connectionState = std::move(value); }
58 inline UpdateConnectionResult& WithConnectionState(ConnectionState&& value) { SetConnectionState(std::move(value)); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
66 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
67 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
68 inline UpdateConnectionResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
69 inline UpdateConnectionResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
77 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
78 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
80 inline UpdateConnectionResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetLastAuthorizedTime() const{ return m_lastAuthorizedTime; }
88 inline void SetLastAuthorizedTime(const Aws::Utils::DateTime& value) { m_lastAuthorizedTime = value; }
89 inline void SetLastAuthorizedTime(Aws::Utils::DateTime&& value) { m_lastAuthorizedTime = std::move(value); }
93
95
96 inline const Aws::String& GetRequestId() const{ return m_requestId; }
97 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
98 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
99 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
100 inline UpdateConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
101 inline UpdateConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
102 inline UpdateConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
104 private:
105
106 Aws::String m_connectionArn;
107
108 ConnectionState m_connectionState;
109
110 Aws::Utils::DateTime m_creationTime;
111
112 Aws::Utils::DateTime m_lastModifiedTime;
113
114 Aws::Utils::DateTime m_lastAuthorizedTime;
115
116 Aws::String m_requestId;
117 };
118
119} // namespace Model
120} // namespace EventBridge
121} // namespace Aws
UpdateConnectionResult & WithRequestId(const Aws::String &value)
void SetLastAuthorizedTime(Aws::Utils::DateTime &&value)
AWS_EVENTBRIDGE_API UpdateConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConnectionResult & WithConnectionArn(const char *value)
UpdateConnectionResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
UpdateConnectionResult & WithLastAuthorizedTime(Aws::Utils::DateTime &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
UpdateConnectionResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
UpdateConnectionResult & WithConnectionState(const ConnectionState &value)
UpdateConnectionResult & WithConnectionArn(const Aws::String &value)
UpdateConnectionResult & WithRequestId(const char *value)
UpdateConnectionResult & WithLastAuthorizedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastAuthorizedTime() const
UpdateConnectionResult & WithConnectionState(ConnectionState &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
UpdateConnectionResult & WithConnectionArn(Aws::String &&value)
UpdateConnectionResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetConnectionState(const ConnectionState &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
AWS_EVENTBRIDGE_API UpdateConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConnectionResult & WithRequestId(Aws::String &&value)
void SetLastAuthorizedTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationTime() const
UpdateConnectionResult & WithCreationTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue