AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteConnectionResult.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 DeleteConnectionResult();
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 DeleteConnectionResult& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
46 inline DeleteConnectionResult& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
47 inline DeleteConnectionResult& 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 DeleteConnectionResult& 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 DeleteConnectionResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
69 inline DeleteConnectionResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
78 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
79 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
81 inline DeleteConnectionResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
83
85
89 inline const Aws::Utils::DateTime& GetLastAuthorizedTime() const{ return m_lastAuthorizedTime; }
90 inline void SetLastAuthorizedTime(const Aws::Utils::DateTime& value) { m_lastAuthorizedTime = value; }
91 inline void SetLastAuthorizedTime(Aws::Utils::DateTime&& value) { m_lastAuthorizedTime = std::move(value); }
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline DeleteConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline DeleteConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline DeleteConnectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::String m_connectionArn;
109
110 ConnectionState m_connectionState;
111
112 Aws::Utils::DateTime m_creationTime;
113
114 Aws::Utils::DateTime m_lastModifiedTime;
115
116 Aws::Utils::DateTime m_lastAuthorizedTime;
117
118 Aws::String m_requestId;
119 };
120
121} // namespace Model
122} // namespace EventBridge
123} // namespace Aws
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DeleteConnectionResult & WithRequestId(const char *value)
DeleteConnectionResult & WithConnectionArn(const char *value)
const Aws::Utils::DateTime & GetLastAuthorizedTime() const
DeleteConnectionResult & WithConnectionArn(const Aws::String &value)
DeleteConnectionResult & WithRequestId(Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
AWS_EVENTBRIDGE_API DeleteConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteConnectionResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DeleteConnectionResult & WithConnectionState(const ConnectionState &value)
const Aws::Utils::DateTime & GetCreationTime() const
DeleteConnectionResult & WithConnectionArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DeleteConnectionResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetLastAuthorizedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DeleteConnectionResult & WithLastAuthorizedTime(Aws::Utils::DateTime &&value)
void SetLastAuthorizedTime(const Aws::Utils::DateTime &value)
DeleteConnectionResult & WithCreationTime(const Aws::Utils::DateTime &value)
void SetConnectionState(const ConnectionState &value)
AWS_EVENTBRIDGE_API DeleteConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteConnectionResult & WithLastAuthorizedTime(const Aws::Utils::DateTime &value)
DeleteConnectionResult & WithConnectionState(ConnectionState &&value)
DeleteConnectionResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DeleteConnectionResult & WithRequestId(const Aws::String &value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue