AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
EventStreamSummary.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/customer-profiles/model/EventStreamState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/customer-profiles/model/DestinationSummary.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CustomerProfiles
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CUSTOMERPROFILES_API EventStreamSummary() = default;
40 AWS_CUSTOMERPROFILES_API EventStreamSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CUSTOMERPROFILES_API EventStreamSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetDomainName() const { return m_domainName; }
50 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
51 template<typename DomainNameT = Aws::String>
52 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
53 template<typename DomainNameT = Aws::String>
54 EventStreamSummary& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetEventStreamName() const { return m_eventStreamName; }
62 inline bool EventStreamNameHasBeenSet() const { return m_eventStreamNameHasBeenSet; }
63 template<typename EventStreamNameT = Aws::String>
64 void SetEventStreamName(EventStreamNameT&& value) { m_eventStreamNameHasBeenSet = true; m_eventStreamName = std::forward<EventStreamNameT>(value); }
65 template<typename EventStreamNameT = Aws::String>
66 EventStreamSummary& WithEventStreamName(EventStreamNameT&& value) { SetEventStreamName(std::forward<EventStreamNameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetEventStreamArn() const { return m_eventStreamArn; }
74 inline bool EventStreamArnHasBeenSet() const { return m_eventStreamArnHasBeenSet; }
75 template<typename EventStreamArnT = Aws::String>
76 void SetEventStreamArn(EventStreamArnT&& value) { m_eventStreamArnHasBeenSet = true; m_eventStreamArn = std::forward<EventStreamArnT>(value); }
77 template<typename EventStreamArnT = Aws::String>
78 EventStreamSummary& WithEventStreamArn(EventStreamArnT&& value) { SetEventStreamArn(std::forward<EventStreamArnT>(value)); return *this;}
80
82
85 inline EventStreamState GetState() const { return m_state; }
86 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
87 inline void SetState(EventStreamState value) { m_stateHasBeenSet = true; m_state = value; }
88 inline EventStreamSummary& WithState(EventStreamState value) { SetState(value); return *this;}
90
92
96 inline const Aws::Utils::DateTime& GetStoppedSince() const { return m_stoppedSince; }
97 inline bool StoppedSinceHasBeenSet() const { return m_stoppedSinceHasBeenSet; }
98 template<typename StoppedSinceT = Aws::Utils::DateTime>
99 void SetStoppedSince(StoppedSinceT&& value) { m_stoppedSinceHasBeenSet = true; m_stoppedSince = std::forward<StoppedSinceT>(value); }
100 template<typename StoppedSinceT = Aws::Utils::DateTime>
101 EventStreamSummary& WithStoppedSince(StoppedSinceT&& value) { SetStoppedSince(std::forward<StoppedSinceT>(value)); return *this;}
103
105
108 inline const DestinationSummary& GetDestinationSummary() const { return m_destinationSummary; }
109 inline bool DestinationSummaryHasBeenSet() const { return m_destinationSummaryHasBeenSet; }
110 template<typename DestinationSummaryT = DestinationSummary>
111 void SetDestinationSummary(DestinationSummaryT&& value) { m_destinationSummaryHasBeenSet = true; m_destinationSummary = std::forward<DestinationSummaryT>(value); }
112 template<typename DestinationSummaryT = DestinationSummary>
113 EventStreamSummary& WithDestinationSummary(DestinationSummaryT&& value) { SetDestinationSummary(std::forward<DestinationSummaryT>(value)); return *this;}
115
117
120 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
121 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
122 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
124 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
125 EventStreamSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
126 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
127 EventStreamSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
128 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
129 }
131 private:
132
133 Aws::String m_domainName;
134 bool m_domainNameHasBeenSet = false;
135
136 Aws::String m_eventStreamName;
137 bool m_eventStreamNameHasBeenSet = false;
138
139 Aws::String m_eventStreamArn;
140 bool m_eventStreamArnHasBeenSet = false;
141
143 bool m_stateHasBeenSet = false;
144
145 Aws::Utils::DateTime m_stoppedSince{};
146 bool m_stoppedSinceHasBeenSet = false;
147
148 DestinationSummary m_destinationSummary;
149 bool m_destinationSummaryHasBeenSet = false;
150
152 bool m_tagsHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace CustomerProfiles
157} // namespace Aws
EventStreamSummary & WithDomainName(DomainNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
EventStreamSummary & WithEventStreamArn(EventStreamArnT &&value)
EventStreamSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CUSTOMERPROFILES_API EventStreamSummary()=default
EventStreamSummary & WithState(EventStreamState value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
EventStreamSummary & WithStoppedSince(StoppedSinceT &&value)
EventStreamSummary & WithEventStreamName(EventStreamNameT &&value)
AWS_CUSTOMERPROFILES_API EventStreamSummary(Aws::Utils::Json::JsonView jsonValue)
EventStreamSummary & WithTags(TagsT &&value)
AWS_CUSTOMERPROFILES_API EventStreamSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDestinationSummary(DestinationSummaryT &&value)
const DestinationSummary & GetDestinationSummary() const
EventStreamSummary & WithDestinationSummary(DestinationSummaryT &&value)
const Aws::Utils::DateTime & GetStoppedSince() const
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