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>
101 template <
typename RequestIdT = Aws::String>
103 m_requestIdHasBeenSet =
true;
104 m_requestId = std::forward<RequestIdT>(value);
106 template <
typename RequestIdT = Aws::String>
125 bool m_connectionArnHasBeenSet =
false;
126 bool m_connectionStateHasBeenSet =
false;
127 bool m_creationTimeHasBeenSet =
false;
128 bool m_lastModifiedTimeHasBeenSet =
false;
129 bool m_requestIdHasBeenSet =
false;
CreateConnectionResult & WithLastModifiedTime(LastModifiedTimeT &&value)
CreateConnectionResult & WithRequestId(RequestIdT &&value)
AWS_EVENTBRIDGE_API CreateConnectionResult()=default
AWS_EVENTBRIDGE_API CreateConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateConnectionResult & WithConnectionArn(ConnectionArnT &&value)
void SetConnectionState(ConnectionState value)
CreateConnectionResult & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetRequestId() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
void SetConnectionArn(ConnectionArnT &&value)
const Aws::String & GetConnectionArn() const
ConnectionState GetConnectionState() const
CreateConnectionResult & WithConnectionState(ConnectionState value)
AWS_EVENTBRIDGE_API CreateConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue