AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
52 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
53 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
54 inline EventStreamSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
55 inline EventStreamSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
56 inline EventStreamSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
58
60
63 inline const Aws::String& GetEventStreamName() const{ return m_eventStreamName; }
64 inline bool EventStreamNameHasBeenSet() const { return m_eventStreamNameHasBeenSet; }
65 inline void SetEventStreamName(const Aws::String& value) { m_eventStreamNameHasBeenSet = true; m_eventStreamName = value; }
66 inline void SetEventStreamName(Aws::String&& value) { m_eventStreamNameHasBeenSet = true; m_eventStreamName = std::move(value); }
67 inline void SetEventStreamName(const char* value) { m_eventStreamNameHasBeenSet = true; m_eventStreamName.assign(value); }
68 inline EventStreamSummary& WithEventStreamName(const Aws::String& value) { SetEventStreamName(value); return *this;}
69 inline EventStreamSummary& WithEventStreamName(Aws::String&& value) { SetEventStreamName(std::move(value)); return *this;}
70 inline EventStreamSummary& WithEventStreamName(const char* value) { SetEventStreamName(value); return *this;}
72
74
77 inline const Aws::String& GetEventStreamArn() const{ return m_eventStreamArn; }
78 inline bool EventStreamArnHasBeenSet() const { return m_eventStreamArnHasBeenSet; }
79 inline void SetEventStreamArn(const Aws::String& value) { m_eventStreamArnHasBeenSet = true; m_eventStreamArn = value; }
80 inline void SetEventStreamArn(Aws::String&& value) { m_eventStreamArnHasBeenSet = true; m_eventStreamArn = std::move(value); }
81 inline void SetEventStreamArn(const char* value) { m_eventStreamArnHasBeenSet = true; m_eventStreamArn.assign(value); }
82 inline EventStreamSummary& WithEventStreamArn(const Aws::String& value) { SetEventStreamArn(value); return *this;}
83 inline EventStreamSummary& WithEventStreamArn(Aws::String&& value) { SetEventStreamArn(std::move(value)); return *this;}
84 inline EventStreamSummary& WithEventStreamArn(const char* value) { SetEventStreamArn(value); return *this;}
86
88
91 inline const EventStreamState& GetState() const{ return m_state; }
92 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
93 inline void SetState(const EventStreamState& value) { m_stateHasBeenSet = true; m_state = value; }
94 inline void SetState(EventStreamState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
95 inline EventStreamSummary& WithState(const EventStreamState& value) { SetState(value); return *this;}
96 inline EventStreamSummary& WithState(EventStreamState&& value) { SetState(std::move(value)); return *this;}
98
100
104 inline const Aws::Utils::DateTime& GetStoppedSince() const{ return m_stoppedSince; }
105 inline bool StoppedSinceHasBeenSet() const { return m_stoppedSinceHasBeenSet; }
106 inline void SetStoppedSince(const Aws::Utils::DateTime& value) { m_stoppedSinceHasBeenSet = true; m_stoppedSince = value; }
107 inline void SetStoppedSince(Aws::Utils::DateTime&& value) { m_stoppedSinceHasBeenSet = true; m_stoppedSince = std::move(value); }
108 inline EventStreamSummary& WithStoppedSince(const Aws::Utils::DateTime& value) { SetStoppedSince(value); return *this;}
109 inline EventStreamSummary& WithStoppedSince(Aws::Utils::DateTime&& value) { SetStoppedSince(std::move(value)); return *this;}
111
113
116 inline const DestinationSummary& GetDestinationSummary() const{ return m_destinationSummary; }
117 inline bool DestinationSummaryHasBeenSet() const { return m_destinationSummaryHasBeenSet; }
118 inline void SetDestinationSummary(const DestinationSummary& value) { m_destinationSummaryHasBeenSet = true; m_destinationSummary = value; }
119 inline void SetDestinationSummary(DestinationSummary&& value) { m_destinationSummaryHasBeenSet = true; m_destinationSummary = std::move(value); }
121 inline EventStreamSummary& WithDestinationSummary(DestinationSummary&& value) { SetDestinationSummary(std::move(value)); return *this;}
123
125
128 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
129 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
130 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
131 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
132 inline EventStreamSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
133 inline EventStreamSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
134 inline EventStreamSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
135 inline EventStreamSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
136 inline EventStreamSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
137 inline EventStreamSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
138 inline EventStreamSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
139 inline EventStreamSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
140 inline EventStreamSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
142 private:
143
144 Aws::String m_domainName;
145 bool m_domainNameHasBeenSet = false;
146
147 Aws::String m_eventStreamName;
148 bool m_eventStreamNameHasBeenSet = false;
149
150 Aws::String m_eventStreamArn;
151 bool m_eventStreamArnHasBeenSet = false;
152
153 EventStreamState m_state;
154 bool m_stateHasBeenSet = false;
155
156 Aws::Utils::DateTime m_stoppedSince;
157 bool m_stoppedSinceHasBeenSet = false;
158
159 DestinationSummary m_destinationSummary;
160 bool m_destinationSummaryHasBeenSet = false;
161
163 bool m_tagsHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace CustomerProfiles
168} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDestinationSummary(const DestinationSummary &value)
EventStreamSummary & WithDomainName(const char *value)
EventStreamSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
EventStreamSummary & WithDomainName(const Aws::String &value)
EventStreamSummary & AddTags(const Aws::String &key, const Aws::String &value)
EventStreamSummary & AddTags(const Aws::String &key, Aws::String &&value)
EventStreamSummary & WithDestinationSummary(const DestinationSummary &value)
EventStreamSummary & AddTags(Aws::String &&key, Aws::String &&value)
EventStreamSummary & WithEventStreamArn(const Aws::String &value)
void SetStoppedSince(Aws::Utils::DateTime &&value)
EventStreamSummary & AddTags(const char *key, Aws::String &&value)
EventStreamSummary & WithStoppedSince(Aws::Utils::DateTime &&value)
EventStreamSummary & WithEventStreamArn(const char *value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
EventStreamSummary & WithDomainName(Aws::String &&value)
EventStreamSummary & AddTags(Aws::String &&key, const Aws::String &value)
EventStreamSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
EventStreamSummary & WithState(const EventStreamState &value)
EventStreamSummary & WithEventStreamName(const Aws::String &value)
EventStreamSummary & AddTags(Aws::String &&key, const char *value)
EventStreamSummary & AddTags(const char *key, const char *value)
EventStreamSummary & WithEventStreamName(const char *value)
EventStreamSummary & WithStoppedSince(const Aws::Utils::DateTime &value)
AWS_CUSTOMERPROFILES_API EventStreamSummary(Aws::Utils::Json::JsonView jsonValue)
EventStreamSummary & WithEventStreamName(Aws::String &&value)
EventStreamSummary & WithDestinationSummary(DestinationSummary &&value)
AWS_CUSTOMERPROFILES_API EventStreamSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetState(const EventStreamState &value)
void SetStoppedSince(const Aws::Utils::DateTime &value)
EventStreamSummary & WithEventStreamArn(Aws::String &&value)
EventStreamSummary & WithState(EventStreamState &&value)
void SetDestinationSummary(DestinationSummary &&value)
const DestinationSummary & GetDestinationSummary() const
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