AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetEventStreamResult.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace CustomerProfiles
28{
29namespace Model
30{
32 {
33 public:
34 AWS_CUSTOMERPROFILES_API GetEventStreamResult() = default;
37
38
40
43 inline const Aws::String& GetDomainName() const { return m_domainName; }
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>
47 GetEventStreamResult& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetEventStreamArn() const { return m_eventStreamArn; }
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>
58 GetEventStreamResult& WithEventStreamArn(EventStreamArnT&& value) { SetEventStreamArn(std::forward<EventStreamArnT>(value)); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
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>
69 GetEventStreamResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
71
73
76 inline EventStreamState GetState() const { return m_state; }
77 inline void SetState(EventStreamState value) { m_stateHasBeenSet = true; m_state = value; }
78 inline GetEventStreamResult& WithState(EventStreamState value) { SetState(value); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetStoppedSince() const { return m_stoppedSince; }
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>
90 GetEventStreamResult& WithStoppedSince(StoppedSinceT&& value) { SetStoppedSince(std::forward<StoppedSinceT>(value)); return *this;}
92
94
97 inline const EventStreamDestinationDetails& GetDestinationDetails() const { return m_destinationDetails; }
98 template<typename DestinationDetailsT = EventStreamDestinationDetails>
99 void SetDestinationDetails(DestinationDetailsT&& value) { m_destinationDetailsHasBeenSet = true; m_destinationDetails = std::forward<DestinationDetailsT>(value); }
100 template<typename DestinationDetailsT = EventStreamDestinationDetails>
101 GetEventStreamResult& WithDestinationDetails(DestinationDetailsT&& value) { SetDestinationDetails(std::forward<DestinationDetailsT>(value)); return *this;}
103
105
108 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
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>>
112 GetEventStreamResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
113 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
114 GetEventStreamResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
115 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
116 }
118
120
121 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
125 GetEventStreamResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
127 private:
128
129 Aws::String m_domainName;
130 bool m_domainNameHasBeenSet = false;
131
132 Aws::String m_eventStreamArn;
133 bool m_eventStreamArnHasBeenSet = false;
134
135 Aws::Utils::DateTime m_createdAt{};
136 bool m_createdAtHasBeenSet = false;
137
139 bool m_stateHasBeenSet = false;
140
141 Aws::Utils::DateTime m_stoppedSince{};
142 bool m_stoppedSinceHasBeenSet = false;
143
144 EventStreamDestinationDetails m_destinationDetails;
145 bool m_destinationDetailsHasBeenSet = false;
146
148 bool m_tagsHasBeenSet = false;
149
150 Aws::String m_requestId;
151 bool m_requestIdHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace CustomerProfiles
156} // namespace Aws
GetEventStreamResult & WithDomainName(DomainNameT &&value)
GetEventStreamResult & WithDestinationDetails(DestinationDetailsT &&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
void SetDestinationDetails(DestinationDetailsT &&value)
GetEventStreamResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetEventStreamResult & WithCreatedAt(CreatedAtT &&value)
AWS_CUSTOMERPROFILES_API GetEventStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetStoppedSince() 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