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/EventSourceState.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
23namespace EventBridge {
36 template <
typename ArnT = Aws::String>
38 m_arnHasBeenSet =
true;
39 m_arn = std::forward<ArnT>(value);
41 template <
typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
53 template <
typename CreatedByT = Aws::String>
55 m_createdByHasBeenSet =
true;
56 m_createdBy = std::forward<CreatedByT>(value);
58 template <
typename CreatedByT = Aws::String>
70 template <
typename CreationTimeT = Aws::Utils::DateTime>
72 m_creationTimeHasBeenSet =
true;
73 m_creationTime = std::forward<CreationTimeT>(value);
75 template <
typename CreationTimeT = Aws::Utils::DateTime>
88 template <
typename ExpirationTimeT = Aws::Utils::DateTime>
90 m_expirationTimeHasBeenSet =
true;
91 m_expirationTime = std::forward<ExpirationTimeT>(value);
93 template <
typename ExpirationTimeT = Aws::Utils::DateTime>
105 template <
typename NameT = Aws::String>
107 m_nameHasBeenSet =
true;
108 m_name = std::forward<NameT>(value);
110 template <
typename NameT = Aws::String>
112 SetName(std::forward<NameT>(value));
127 m_stateHasBeenSet =
true;
139 template <
typename RequestIdT = Aws::String>
141 m_requestIdHasBeenSet =
true;
142 m_requestId = std::forward<RequestIdT>(value);
144 template <
typename RequestIdT = Aws::String>
164 bool m_arnHasBeenSet =
false;
165 bool m_createdByHasBeenSet =
false;
166 bool m_creationTimeHasBeenSet =
false;
167 bool m_expirationTimeHasBeenSet =
false;
168 bool m_nameHasBeenSet =
false;
169 bool m_stateHasBeenSet =
false;
170 bool m_requestIdHasBeenSet =
false;
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetCreatedBy() const
const Aws::String & GetRequestId() const
DescribeEventSourceResult & WithExpirationTime(ExpirationTimeT &&value)
EventSourceState GetState() const
DescribeEventSourceResult & WithCreationTime(CreationTimeT &&value)
DescribeEventSourceResult & WithArn(ArnT &&value)
DescribeEventSourceResult & WithState(EventSourceState value)
void SetState(EventSourceState value)
void SetName(NameT &&value)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetArn() const
const Aws::Utils::DateTime & GetExpirationTime() const
DescribeEventSourceResult & WithName(NameT &&value)
void SetExpirationTime(ExpirationTimeT &&value)
AWS_EVENTBRIDGE_API DescribeEventSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetName() const
void SetCreationTime(CreationTimeT &&value)
DescribeEventSourceResult & WithCreatedBy(CreatedByT &&value)
void SetArn(ArnT &&value)
void SetCreatedBy(CreatedByT &&value)
DescribeEventSourceResult & WithRequestId(RequestIdT &&value)
AWS_EVENTBRIDGE_API DescribeEventSourceResult()=default
AWS_EVENTBRIDGE_API DescribeEventSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue