7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/eventbridge/EventBridge_EXPORTS.h>
10#include <aws/eventbridge/model/ConnectionState.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace EventBridge {
36 template <
typename ConnectionArnT = Aws::String>
38 m_connectionArnHasBeenSet =
true;
39 m_connectionArn = std::forward<ConnectionArnT>(value);
41 template <
typename ConnectionArnT = Aws::String>
54 m_connectionStateHasBeenSet =
true;
55 m_connectionState = value;
68 template <
typename CreationTimeT = Aws::Utils::DateTime>
70 m_creationTimeHasBeenSet =
true;
71 m_creationTime = std::forward<CreationTimeT>(value);
73 template <
typename CreationTimeT = Aws::Utils::DateTime>
85 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
87 m_lastModifiedTimeHasBeenSet =
true;
88 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
90 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
102 template <
typename LastAuthorizedTimeT = Aws::Utils::DateTime>
104 m_lastAuthorizedTimeHasBeenSet =
true;
105 m_lastAuthorizedTime = std::forward<LastAuthorizedTimeT>(value);
107 template <
typename LastAuthorizedTimeT = Aws::Utils::DateTime>
117 template <
typename RequestIdT = Aws::String>
119 m_requestIdHasBeenSet =
true;
120 m_requestId = std::forward<RequestIdT>(value);
122 template <
typename RequestIdT = Aws::String>
140 bool m_connectionArnHasBeenSet =
false;
141 bool m_connectionStateHasBeenSet =
false;
142 bool m_creationTimeHasBeenSet =
false;
143 bool m_lastModifiedTimeHasBeenSet =
false;
144 bool m_lastAuthorizedTimeHasBeenSet =
false;
145 bool m_requestIdHasBeenSet =
false;
AWS_EVENTBRIDGE_API DeauthorizeConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeauthorizeConnectionResult & WithRequestId(RequestIdT &&value)
AWS_EVENTBRIDGE_API DeauthorizeConnectionResult()=default
DeauthorizeConnectionResult & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetRequestId() const
AWS_EVENTBRIDGE_API DeauthorizeConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationTime(CreationTimeT &&value)
DeauthorizeConnectionResult & WithLastAuthorizedTime(LastAuthorizedTimeT &&value)
DeauthorizeConnectionResult & WithConnectionArn(ConnectionArnT &&value)
void SetLastAuthorizedTime(LastAuthorizedTimeT &&value)
const Aws::Utils::DateTime & GetLastAuthorizedTime() const
ConnectionState GetConnectionState() const
DeauthorizeConnectionResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetConnectionState(ConnectionState value)
DeauthorizeConnectionResult & WithConnectionState(ConnectionState value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetConnectionArn() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetConnectionArn(ConnectionArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue