7#include <aws/events/CloudWatchEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/events/model/EventSourceState.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace CloudWatchEvents
42 template<
typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
44 template<
typename ArnT = Aws::String>
53 template<
typename CreatedByT = Aws::String>
54 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
55 template<
typename CreatedByT = Aws::String>
64 template<
typename CreationTimeT = Aws::Utils::DateTime>
65 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
66 template<
typename CreationTimeT = Aws::Utils::DateTime>
76 template<
typename ExpirationTimeT = Aws::Utils::DateTime>
77 void SetExpirationTime(ExpirationTimeT&& value) { m_expirationTimeHasBeenSet =
true; m_expirationTime = std::forward<ExpirationTimeT>(value); }
78 template<
typename ExpirationTimeT = Aws::Utils::DateTime>
87 template<
typename NameT = Aws::String>
88 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
89 template<
typename NameT = Aws::String>
109 template<
typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
111 template<
typename RequestIdT = Aws::String>
117 bool m_arnHasBeenSet =
false;
120 bool m_createdByHasBeenSet =
false;
123 bool m_creationTimeHasBeenSet =
false;
126 bool m_expirationTimeHasBeenSet =
false;
129 bool m_nameHasBeenSet =
false;
132 bool m_stateHasBeenSet =
false;
135 bool m_requestIdHasBeenSet =
false;
void SetCreatedBy(CreatedByT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetExpirationTime(ExpirationTimeT &&value)
DescribeEventSourceResult & WithExpirationTime(ExpirationTimeT &&value)
DescribeEventSourceResult & WithRequestId(RequestIdT &&value)
DescribeEventSourceResult & WithCreatedBy(CreatedByT &&value)
DescribeEventSourceResult & WithCreationTime(CreationTimeT &&value)
AWS_CLOUDWATCHEVENTS_API DescribeEventSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetName(NameT &&value)
const Aws::String & GetArn() const
const Aws::String & GetCreatedBy() const
AWS_CLOUDWATCHEVENTS_API DescribeEventSourceResult()=default
const Aws::Utils::DateTime & GetExpirationTime() const
EventSourceState GetState() const
DescribeEventSourceResult & WithName(NameT &&value)
void SetArn(ArnT &&value)
AWS_CLOUDWATCHEVENTS_API DescribeEventSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetState(EventSourceState value)
void SetRequestId(RequestIdT &&value)
DescribeEventSourceResult & WithState(EventSourceState value)
void SetCreationTime(CreationTimeT &&value)
DescribeEventSourceResult & WithArn(ArnT &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue