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>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
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>
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>
73 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
74 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
75 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
84 template<
typename LastAuthorizedTimeT = Aws::Utils::DateTime>
85 void SetLastAuthorizedTime(LastAuthorizedTimeT&& value) { m_lastAuthorizedTimeHasBeenSet =
true; m_lastAuthorizedTime = std::forward<LastAuthorizedTimeT>(value); }
86 template<
typename LastAuthorizedTimeT = Aws::Utils::DateTime>
93 template<
typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
95 template<
typename RequestIdT = Aws::String>
101 bool m_connectionArnHasBeenSet =
false;
104 bool m_connectionStateHasBeenSet =
false;
107 bool m_creationTimeHasBeenSet =
false;
110 bool m_lastModifiedTimeHasBeenSet =
false;
113 bool m_lastAuthorizedTimeHasBeenSet =
false;
116 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
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