AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
35
36
38
41 inline const Aws::String& GetConnectionArn() const { return m_connectionArn; }
42 template<typename ConnectionArnT = Aws::String>
43 void SetConnectionArn(ConnectionArnT&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::forward<ConnectionArnT>(value); }
44 template<typename ConnectionArnT = Aws::String>
45 DeleteConnectionResult& WithConnectionArn(ConnectionArnT&& value) { SetConnectionArn(std::forward<ConnectionArnT>(value)); return *this;}
47
49
52 inline ConnectionState GetConnectionState() const { return m_connectionState; }
53 inline void SetConnectionState(ConnectionState value) { m_connectionStateHasBeenSet = true; m_connectionState = value; }
56
58
61 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
62 template<typename CreationTimeT = Aws::Utils::DateTime>
63 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
64 template<typename CreationTimeT = Aws::Utils::DateTime>
65 DeleteConnectionResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
67
69
73 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
74 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
75 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
76 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
77 DeleteConnectionResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
79
81
85 inline const Aws::Utils::DateTime& GetLastAuthorizedTime() const { return m_lastAuthorizedTime; }
86 template<typename LastAuthorizedTimeT = Aws::Utils::DateTime>
87 void SetLastAuthorizedTime(LastAuthorizedTimeT&& value) { m_lastAuthorizedTimeHasBeenSet = true; m_lastAuthorizedTime = std::forward<LastAuthorizedTimeT>(value); }
88 template<typename LastAuthorizedTimeT = Aws::Utils::DateTime>
89 DeleteConnectionResult& WithLastAuthorizedTime(LastAuthorizedTimeT&& value) { SetLastAuthorizedTime(std::forward<LastAuthorizedTimeT>(value)); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template<typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
97 template<typename RequestIdT = Aws::String>
98 DeleteConnectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
100 private:
101
102 Aws::String m_connectionArn;
103 bool m_connectionArnHasBeenSet = false;
104
105 ConnectionState m_connectionState{ConnectionState::NOT_SET};
106 bool m_connectionStateHasBeenSet = false;
107
108 Aws::Utils::DateTime m_creationTime{};
109 bool m_creationTimeHasBeenSet = false;
110
111 Aws::Utils::DateTime m_lastModifiedTime{};
112 bool m_lastModifiedTimeHasBeenSet = false;
113
114 Aws::Utils::DateTime m_lastAuthorizedTime{};
115 bool m_lastAuthorizedTimeHasBeenSet = false;
116
117 Aws::String m_requestId;
118 bool m_requestIdHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace EventBridge
123} // namespace Aws
DeleteConnectionResult & WithCreationTime(CreationTimeT &&value)
DeleteConnectionResult & WithLastAuthorizedTime(LastAuthorizedTimeT &&value)
const Aws::Utils::DateTime & GetLastAuthorizedTime() const
AWS_EVENTBRIDGE_API DeleteConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationTime() const
DeleteConnectionResult & WithConnectionArn(ConnectionArnT &&value)
void SetLastAuthorizedTime(LastAuthorizedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_EVENTBRIDGE_API DeleteConnectionResult()=default
DeleteConnectionResult & WithConnectionState(ConnectionState value)
AWS_EVENTBRIDGE_API DeleteConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteConnectionResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DeleteConnectionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue