AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeauthorizeConnectionResult.h
1
6#pragma once
7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/events/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 CloudWatchEvents
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDWATCHEVENTS_API DeauthorizeConnectionResult();
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 DeauthorizeConnectionResult& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
46 inline DeauthorizeConnectionResult& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
47 inline DeauthorizeConnectionResult& 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 DeauthorizeConnectionResult& 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); }
69 inline DeauthorizeConnectionResult& 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); }
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 DeauthorizeConnectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
101 inline DeauthorizeConnectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
102 inline DeauthorizeConnectionResult& 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 CloudWatchEvents
121} // namespace Aws
DeauthorizeConnectionResult & WithRequestId(const char *value)
DeauthorizeConnectionResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DeauthorizeConnectionResult & WithLastAuthorizedTime(const Aws::Utils::DateTime &value)
DeauthorizeConnectionResult & WithLastAuthorizedTime(Aws::Utils::DateTime &&value)
DeauthorizeConnectionResult & WithRequestId(Aws::String &&value)
AWS_CLOUDWATCHEVENTS_API DeauthorizeConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeauthorizeConnectionResult & WithCreationTime(Aws::Utils::DateTime &&value)
DeauthorizeConnectionResult & WithConnectionArn(const Aws::String &value)
AWS_CLOUDWATCHEVENTS_API DeauthorizeConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeauthorizeConnectionResult & WithConnectionArn(Aws::String &&value)
DeauthorizeConnectionResult & WithConnectionState(const ConnectionState &value)
DeauthorizeConnectionResult & WithConnectionState(ConnectionState &&value)
DeauthorizeConnectionResult & WithCreationTime(const Aws::Utils::DateTime &value)
DeauthorizeConnectionResult & WithConnectionArn(const char *value)
DeauthorizeConnectionResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
DeauthorizeConnectionResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue