AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
EventStream.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Pinpoint {
20namespace Model {
21
30 public:
31 AWS_PINPOINT_API EventStream() = default;
32 AWS_PINPOINT_API EventStream(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PINPOINT_API EventStream& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 template <typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) {
44 m_applicationIdHasBeenSet = true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
46 }
47 template <typename ApplicationIdT = Aws::String>
48 EventStream& WithApplicationId(ApplicationIdT&& value) {
49 SetApplicationId(std::forward<ApplicationIdT>(value));
50 return *this;
51 }
53
55
66 inline const Aws::String& GetDestinationStreamArn() const { return m_destinationStreamArn; }
67 inline bool DestinationStreamArnHasBeenSet() const { return m_destinationStreamArnHasBeenSet; }
68 template <typename DestinationStreamArnT = Aws::String>
69 void SetDestinationStreamArn(DestinationStreamArnT&& value) {
70 m_destinationStreamArnHasBeenSet = true;
71 m_destinationStreamArn = std::forward<DestinationStreamArnT>(value);
72 }
73 template <typename DestinationStreamArnT = Aws::String>
74 EventStream& WithDestinationStreamArn(DestinationStreamArnT&& value) {
75 SetDestinationStreamArn(std::forward<DestinationStreamArnT>(value));
76 return *this;
77 }
79
81
88 inline const Aws::String& GetExternalId() const { return m_externalId; }
89 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
90 template <typename ExternalIdT = Aws::String>
91 void SetExternalId(ExternalIdT&& value) {
92 m_externalIdHasBeenSet = true;
93 m_externalId = std::forward<ExternalIdT>(value);
94 }
95 template <typename ExternalIdT = Aws::String>
96 EventStream& WithExternalId(ExternalIdT&& value) {
97 SetExternalId(std::forward<ExternalIdT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
107 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
108 template <typename LastModifiedDateT = Aws::String>
109 void SetLastModifiedDate(LastModifiedDateT&& value) {
110 m_lastModifiedDateHasBeenSet = true;
111 m_lastModifiedDate = std::forward<LastModifiedDateT>(value);
112 }
113 template <typename LastModifiedDateT = Aws::String>
114 EventStream& WithLastModifiedDate(LastModifiedDateT&& value) {
115 SetLastModifiedDate(std::forward<LastModifiedDateT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
125 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
126 template <typename LastUpdatedByT = Aws::String>
127 void SetLastUpdatedBy(LastUpdatedByT&& value) {
128 m_lastUpdatedByHasBeenSet = true;
129 m_lastUpdatedBy = std::forward<LastUpdatedByT>(value);
130 }
131 template <typename LastUpdatedByT = Aws::String>
132 EventStream& WithLastUpdatedBy(LastUpdatedByT&& value) {
133 SetLastUpdatedBy(std::forward<LastUpdatedByT>(value));
134 return *this;
135 }
137
139
143 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
144 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
145 template <typename RoleArnT = Aws::String>
146 void SetRoleArn(RoleArnT&& value) {
147 m_roleArnHasBeenSet = true;
148 m_roleArn = std::forward<RoleArnT>(value);
149 }
150 template <typename RoleArnT = Aws::String>
151 EventStream& WithRoleArn(RoleArnT&& value) {
152 SetRoleArn(std::forward<RoleArnT>(value));
153 return *this;
154 }
156 private:
157 Aws::String m_applicationId;
158
159 Aws::String m_destinationStreamArn;
160
161 Aws::String m_externalId;
162
163 Aws::String m_lastModifiedDate;
164
165 Aws::String m_lastUpdatedBy;
166
167 Aws::String m_roleArn;
168 bool m_applicationIdHasBeenSet = false;
169 bool m_destinationStreamArnHasBeenSet = false;
170 bool m_externalIdHasBeenSet = false;
171 bool m_lastModifiedDateHasBeenSet = false;
172 bool m_lastUpdatedByHasBeenSet = false;
173 bool m_roleArnHasBeenSet = false;
174};
175
176} // namespace Model
177} // namespace Pinpoint
178} // namespace Aws
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLastUpdatedBy() const
EventStream & WithLastModifiedDate(LastModifiedDateT &&value)
void SetExternalId(ExternalIdT &&value)
Definition EventStream.h:91
bool DestinationStreamArnHasBeenSet() const
Definition EventStream.h:67
EventStream & WithDestinationStreamArn(DestinationStreamArnT &&value)
Definition EventStream.h:74
EventStream & WithLastUpdatedBy(LastUpdatedByT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
const Aws::String & GetLastModifiedDate() const
EventStream & WithExternalId(ExternalIdT &&value)
Definition EventStream.h:96
void SetApplicationId(ApplicationIdT &&value)
Definition EventStream.h:43
const Aws::String & GetDestinationStreamArn() const
Definition EventStream.h:66
EventStream & WithRoleArn(RoleArnT &&value)
EventStream & WithApplicationId(ApplicationIdT &&value)
Definition EventStream.h:48
AWS_PINPOINT_API EventStream & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API EventStream()=default
const Aws::String & GetExternalId() const
Definition EventStream.h:88
AWS_PINPOINT_API EventStream(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedBy(LastUpdatedByT &&value)
const Aws::String & GetApplicationId() const
Definition EventStream.h:40
const Aws::String & GetRoleArn() const
void SetRoleArn(RoleArnT &&value)
void SetDestinationStreamArn(DestinationStreamArnT &&value)
Definition EventStream.h:69
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue