7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/eventbridge/EventBridge_EXPORTS.h>
11#include <aws/eventbridge/model/ConnectionState.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace EventBridge {
37 template <
typename ConnectionArnT = Aws::String>
39 m_connectionArnHasBeenSet =
true;
40 m_connectionArn = std::forward<ConnectionArnT>(value);
42 template <
typename ConnectionArnT = Aws::String>
55 m_connectionStateHasBeenSet =
true;
56 m_connectionState = value;
69 template <
typename CreationTimeT = Aws::Utils::DateTime>
71 m_creationTimeHasBeenSet =
true;
72 m_creationTime = std::forward<CreationTimeT>(value);
74 template <
typename CreationTimeT = Aws::Utils::DateTime>
86 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
88 m_lastModifiedTimeHasBeenSet =
true;
89 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
91 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
103 template <
typename LastAuthorizedTimeT = Aws::Utils::DateTime>
105 m_lastAuthorizedTimeHasBeenSet =
true;
106 m_lastAuthorizedTime = std::forward<LastAuthorizedTimeT>(value);
108 template <
typename LastAuthorizedTimeT = Aws::Utils::DateTime>
118 template <
typename RequestIdT = Aws::String>
120 m_requestIdHasBeenSet =
true;
121 m_requestId = std::forward<RequestIdT>(value);
123 template <
typename RequestIdT = Aws::String>
144 bool m_connectionArnHasBeenSet =
false;
145 bool m_connectionStateHasBeenSet =
false;
146 bool m_creationTimeHasBeenSet =
false;
147 bool m_lastModifiedTimeHasBeenSet =
false;
148 bool m_lastAuthorizedTimeHasBeenSet =
false;
149 bool m_requestIdHasBeenSet =
false;
UpdateConnectionResult & WithConnectionArn(ConnectionArnT &&value)
void SetConnectionArn(ConnectionArnT &&value)
UpdateConnectionResult & WithLastAuthorizedTime(LastAuthorizedTimeT &&value)
UpdateConnectionResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_EVENTBRIDGE_API UpdateConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_EVENTBRIDGE_API UpdateConnectionResult()=default
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetRequestId(RequestIdT &&value)
UpdateConnectionResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetLastAuthorizedTime() const
const Aws::String & GetRequestId() const
void SetConnectionState(ConnectionState value)
ConnectionState GetConnectionState() const
UpdateConnectionResult & WithConnectionState(ConnectionState value)
AWS_EVENTBRIDGE_API UpdateConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetConnectionArn() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetLastAuthorizedTime(LastAuthorizedTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
UpdateConnectionResult & WithCreationTime(CreationTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue