AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
37
38
40
43 inline const Aws::String& GetDomainName() const{ return m_domainName; }
44 inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
45 inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
46 inline void SetDomainName(const char* value) { m_domainName.assign(value); }
47 inline GetEventStreamResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
48 inline GetEventStreamResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
49 inline GetEventStreamResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
51
53
56 inline const Aws::String& GetEventStreamArn() const{ return m_eventStreamArn; }
57 inline void SetEventStreamArn(const Aws::String& value) { m_eventStreamArn = value; }
58 inline void SetEventStreamArn(Aws::String&& value) { m_eventStreamArn = std::move(value); }
59 inline void SetEventStreamArn(const char* value) { m_eventStreamArn.assign(value); }
60 inline GetEventStreamResult& WithEventStreamArn(const Aws::String& value) { SetEventStreamArn(value); return *this;}
61 inline GetEventStreamResult& WithEventStreamArn(Aws::String&& value) { SetEventStreamArn(std::move(value)); return *this;}
62 inline GetEventStreamResult& WithEventStreamArn(const char* value) { SetEventStreamArn(value); return *this;}
64
66
69 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
70 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
71 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
72 inline GetEventStreamResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
73 inline GetEventStreamResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
75
77
80 inline const EventStreamState& GetState() const{ return m_state; }
81 inline void SetState(const EventStreamState& value) { m_state = value; }
82 inline void SetState(EventStreamState&& value) { m_state = std::move(value); }
83 inline GetEventStreamResult& WithState(const EventStreamState& value) { SetState(value); return *this;}
84 inline GetEventStreamResult& WithState(EventStreamState&& value) { SetState(std::move(value)); return *this;}
86
88
92 inline const Aws::Utils::DateTime& GetStoppedSince() const{ return m_stoppedSince; }
93 inline void SetStoppedSince(const Aws::Utils::DateTime& value) { m_stoppedSince = value; }
94 inline void SetStoppedSince(Aws::Utils::DateTime&& value) { m_stoppedSince = std::move(value); }
95 inline GetEventStreamResult& WithStoppedSince(const Aws::Utils::DateTime& value) { SetStoppedSince(value); return *this;}
96 inline GetEventStreamResult& WithStoppedSince(Aws::Utils::DateTime&& value) { SetStoppedSince(std::move(value)); return *this;}
98
100
103 inline const EventStreamDestinationDetails& GetDestinationDetails() const{ return m_destinationDetails; }
104 inline void SetDestinationDetails(const EventStreamDestinationDetails& value) { m_destinationDetails = value; }
105 inline void SetDestinationDetails(EventStreamDestinationDetails&& value) { m_destinationDetails = std::move(value); }
109
111
114 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
115 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
116 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
117 inline GetEventStreamResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
118 inline GetEventStreamResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
119 inline GetEventStreamResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
120 inline GetEventStreamResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
121 inline GetEventStreamResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
122 inline GetEventStreamResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
123 inline GetEventStreamResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
124 inline GetEventStreamResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
125 inline GetEventStreamResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
127
129
130 inline const Aws::String& GetRequestId() const{ return m_requestId; }
131 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
132 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
133 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
134 inline GetEventStreamResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
135 inline GetEventStreamResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
136 inline GetEventStreamResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
138 private:
139
140 Aws::String m_domainName;
141
142 Aws::String m_eventStreamArn;
143
144 Aws::Utils::DateTime m_createdAt;
145
146 EventStreamState m_state;
147
148 Aws::Utils::DateTime m_stoppedSince;
149
150 EventStreamDestinationDetails m_destinationDetails;
151
153
154 Aws::String m_requestId;
155 };
156
157} // namespace Model
158} // namespace CustomerProfiles
159} // namespace Aws
GetEventStreamResult & WithEventStreamArn(Aws::String &&value)
GetEventStreamResult & WithStoppedSince(const Aws::Utils::DateTime &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetEventStreamResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetEventStreamResult & WithRequestId(const char *value)
GetEventStreamResult & WithEventStreamArn(const char *value)
void SetDestinationDetails(const EventStreamDestinationDetails &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetEventStreamResult & AddTags(const char *key, const char *value)
AWS_CUSTOMERPROFILES_API GetEventStreamResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetEventStreamResult & AddTags(Aws::String &&key, Aws::String &&value)
GetEventStreamResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetEventStreamResult & WithRequestId(Aws::String &&value)
GetEventStreamResult & WithDomainName(const char *value)
GetEventStreamResult & WithDestinationDetails(const EventStreamDestinationDetails &value)
GetEventStreamResult & WithDestinationDetails(EventStreamDestinationDetails &&value)
GetEventStreamResult & WithDomainName(const Aws::String &value)
GetEventStreamResult & WithEventStreamArn(const Aws::String &value)
GetEventStreamResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetEventStreamResult & WithState(const EventStreamState &value)
GetEventStreamResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetStoppedSince(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_CUSTOMERPROFILES_API GetEventStreamResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventStreamResult & AddTags(const Aws::String &key, const Aws::String &value)
GetEventStreamResult & AddTags(Aws::String &&key, const char *value)
GetEventStreamResult & WithRequestId(const Aws::String &value)
GetEventStreamResult & WithDomainName(Aws::String &&value)
GetEventStreamResult & AddTags(Aws::String &&key, const Aws::String &value)
GetEventStreamResult & WithStoppedSince(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStoppedSince() const
void SetDestinationDetails(EventStreamDestinationDetails &&value)
GetEventStreamResult & WithState(EventStreamState &&value)
const EventStreamDestinationDetails & GetDestinationDetails() const
GetEventStreamResult & AddTags(const char *key, Aws::String &&value)
GetEventStreamResult & WithCreatedAt(Aws::Utils::DateTime &&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