7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/customer-profiles/model/EventStreamState.h>
11#include <aws/customer-profiles/model/EventStreamDestinationDetails.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
27namespace CustomerProfiles
44 template<
typename DomainNameT = Aws::String>
45 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet =
true; m_domainName = std::forward<DomainNameT>(value); }
46 template<
typename DomainNameT = Aws::String>
55 template<
typename EventStreamArnT = Aws::String>
56 void SetEventStreamArn(EventStreamArnT&& value) { m_eventStreamArnHasBeenSet =
true; m_eventStreamArn = std::forward<EventStreamArnT>(value); }
57 template<
typename EventStreamArnT = Aws::String>
66 template<
typename CreatedAtT = Aws::Utils::DateTime>
67 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
68 template<
typename CreatedAtT = Aws::Utils::DateTime>
87 template<
typename StoppedSinceT = Aws::Utils::DateTime>
88 void SetStoppedSince(StoppedSinceT&& value) { m_stoppedSinceHasBeenSet =
true; m_stoppedSince = std::forward<StoppedSinceT>(value); }
89 template<
typename StoppedSinceT = Aws::Utils::DateTime>
98 template<
typename DestinationDetailsT = EventStreamDestinationDetails>
99 void SetDestinationDetails(DestinationDetailsT&& value) { m_destinationDetailsHasBeenSet =
true; m_destinationDetails = std::forward<DestinationDetailsT>(value); }
100 template<
typename DestinationDetailsT = EventStreamDestinationDetails>
109 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
110 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
111 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
115 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
122 template<
typename RequestIdT = Aws::String>
123 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
124 template<
typename RequestIdT = Aws::String>
130 bool m_domainNameHasBeenSet =
false;
133 bool m_eventStreamArnHasBeenSet =
false;
136 bool m_createdAtHasBeenSet =
false;
139 bool m_stateHasBeenSet =
false;
142 bool m_stoppedSinceHasBeenSet =
false;
144 EventStreamDestinationDetails m_destinationDetails;
145 bool m_destinationDetailsHasBeenSet =
false;
148 bool m_tagsHasBeenSet =
false;
151 bool m_requestIdHasBeenSet =
false;
GetEventStreamResult & WithDomainName(DomainNameT &&value)
GetEventStreamResult & WithDestinationDetails(DestinationDetailsT &&value)
void SetEventStreamArn(EventStreamArnT &&value)
GetEventStreamResult & WithEventStreamArn(EventStreamArnT &&value)
GetEventStreamResult & WithState(EventStreamState value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CUSTOMERPROFILES_API GetEventStreamResult()=default
AWS_CUSTOMERPROFILES_API GetEventStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventStreamResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::String & GetDomainName() const
void SetDomainName(DomainNameT &&value)
const Aws::String & GetRequestId() const
void SetCreatedAt(CreatedAtT &&value)
void SetDestinationDetails(DestinationDetailsT &&value)
GetEventStreamResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetRequestId(RequestIdT &&value)
GetEventStreamResult & WithCreatedAt(CreatedAtT &&value)
GetEventStreamResult & WithTags(TagsT &&value)
AWS_CUSTOMERPROFILES_API GetEventStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(TagsT &&value)
void SetStoppedSince(StoppedSinceT &&value)
const Aws::String & GetEventStreamArn() const
const Aws::Utils::DateTime & GetStoppedSince() const
void SetState(EventStreamState value)
EventStreamState GetState() const
const EventStreamDestinationDetails & GetDestinationDetails() const
GetEventStreamResult & WithStoppedSince(StoppedSinceT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue