AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventStream.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Pinpoint
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_PINPOINT_API EventStream();
37 AWS_PINPOINT_API EventStream(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINT_API EventStream& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
47 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
48 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
49 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
50 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
51 inline EventStream& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
52 inline EventStream& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
53 inline EventStream& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
55
57
68 inline const Aws::String& GetDestinationStreamArn() const{ return m_destinationStreamArn; }
69 inline bool DestinationStreamArnHasBeenSet() const { return m_destinationStreamArnHasBeenSet; }
70 inline void SetDestinationStreamArn(const Aws::String& value) { m_destinationStreamArnHasBeenSet = true; m_destinationStreamArn = value; }
71 inline void SetDestinationStreamArn(Aws::String&& value) { m_destinationStreamArnHasBeenSet = true; m_destinationStreamArn = std::move(value); }
72 inline void SetDestinationStreamArn(const char* value) { m_destinationStreamArnHasBeenSet = true; m_destinationStreamArn.assign(value); }
73 inline EventStream& WithDestinationStreamArn(const Aws::String& value) { SetDestinationStreamArn(value); return *this;}
74 inline EventStream& WithDestinationStreamArn(Aws::String&& value) { SetDestinationStreamArn(std::move(value)); return *this;}
75 inline EventStream& WithDestinationStreamArn(const char* value) { SetDestinationStreamArn(value); return *this;}
77
79
86 inline const Aws::String& GetExternalId() const{ return m_externalId; }
87 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
88 inline void SetExternalId(const Aws::String& value) { m_externalIdHasBeenSet = true; m_externalId = value; }
89 inline void SetExternalId(Aws::String&& value) { m_externalIdHasBeenSet = true; m_externalId = std::move(value); }
90 inline void SetExternalId(const char* value) { m_externalIdHasBeenSet = true; m_externalId.assign(value); }
91 inline EventStream& WithExternalId(const Aws::String& value) { SetExternalId(value); return *this;}
92 inline EventStream& WithExternalId(Aws::String&& value) { SetExternalId(std::move(value)); return *this;}
93 inline EventStream& WithExternalId(const char* value) { SetExternalId(value); return *this;}
95
97
100 inline const Aws::String& GetLastModifiedDate() const{ return m_lastModifiedDate; }
101 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
102 inline void SetLastModifiedDate(const Aws::String& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; }
103 inline void SetLastModifiedDate(Aws::String&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); }
104 inline void SetLastModifiedDate(const char* value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate.assign(value); }
105 inline EventStream& WithLastModifiedDate(const Aws::String& value) { SetLastModifiedDate(value); return *this;}
106 inline EventStream& WithLastModifiedDate(Aws::String&& value) { SetLastModifiedDate(std::move(value)); return *this;}
107 inline EventStream& WithLastModifiedDate(const char* value) { SetLastModifiedDate(value); return *this;}
109
111
114 inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; }
115 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
116 inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = value; }
117 inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::move(value); }
118 inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy.assign(value); }
119 inline EventStream& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;}
120 inline EventStream& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;}
121 inline EventStream& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;}
123
125
129 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
130 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
131 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
132 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
133 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
134 inline EventStream& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
135 inline EventStream& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
136 inline EventStream& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
138 private:
139
140 Aws::String m_applicationId;
141 bool m_applicationIdHasBeenSet = false;
142
143 Aws::String m_destinationStreamArn;
144 bool m_destinationStreamArnHasBeenSet = false;
145
146 Aws::String m_externalId;
147 bool m_externalIdHasBeenSet = false;
148
149 Aws::String m_lastModifiedDate;
150 bool m_lastModifiedDateHasBeenSet = false;
151
152 Aws::String m_lastUpdatedBy;
153 bool m_lastUpdatedByHasBeenSet = false;
154
155 Aws::String m_roleArn;
156 bool m_roleArnHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace Pinpoint
161} // namespace Aws
EventStream & WithRoleArn(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedDate(const char *value)
void SetApplicationId(const Aws::String &value)
Definition EventStream.h:48
void SetExternalId(const char *value)
Definition EventStream.h:90
const Aws::String & GetLastUpdatedBy() const
EventStream & WithRoleArn(Aws::String &&value)
EventStream & WithApplicationId(Aws::String &&value)
Definition EventStream.h:52
void SetDestinationStreamArn(Aws::String &&value)
Definition EventStream.h:71
void SetDestinationStreamArn(const Aws::String &value)
Definition EventStream.h:70
void SetLastUpdatedBy(Aws::String &&value)
bool DestinationStreamArnHasBeenSet() const
Definition EventStream.h:69
EventStream & WithDestinationStreamArn(Aws::String &&value)
Definition EventStream.h:74
void SetDestinationStreamArn(const char *value)
Definition EventStream.h:72
EventStream & WithExternalId(const char *value)
Definition EventStream.h:93
void SetLastModifiedDate(Aws::String &&value)
EventStream & WithRoleArn(const Aws::String &value)
const Aws::String & GetLastModifiedDate() const
void SetLastUpdatedBy(const char *value)
void SetLastModifiedDate(const Aws::String &value)
EventStream & WithExternalId(const Aws::String &value)
Definition EventStream.h:91
EventStream & WithDestinationStreamArn(const char *value)
Definition EventStream.h:75
EventStream & WithLastUpdatedBy(Aws::String &&value)
EventStream & WithApplicationId(const char *value)
Definition EventStream.h:53
EventStream & WithLastModifiedDate(const char *value)
void SetExternalId(const Aws::String &value)
Definition EventStream.h:88
EventStream & WithLastUpdatedBy(const Aws::String &value)
const Aws::String & GetDestinationStreamArn() const
Definition EventStream.h:68
EventStream & WithLastModifiedDate(const Aws::String &value)
EventStream & WithApplicationId(const Aws::String &value)
Definition EventStream.h:51
EventStream & WithLastUpdatedBy(const char *value)
void SetRoleArn(const char *value)
AWS_PINPOINT_API EventStream & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExternalId() const
Definition EventStream.h:86
EventStream & WithExternalId(Aws::String &&value)
Definition EventStream.h:92
void SetRoleArn(Aws::String &&value)
AWS_PINPOINT_API EventStream(Aws::Utils::Json::JsonView jsonValue)
EventStream & WithLastModifiedDate(Aws::String &&value)
void SetApplicationId(const char *value)
Definition EventStream.h:50
EventStream & WithDestinationStreamArn(const Aws::String &value)
Definition EventStream.h:73
const Aws::String & GetApplicationId() const
Definition EventStream.h:46
const Aws::String & GetRoleArn() const
void SetApplicationId(Aws::String &&value)
Definition EventStream.h:49
void SetRoleArn(const Aws::String &value)
void SetExternalId(Aws::String &&value)
Definition EventStream.h:89
void SetLastUpdatedBy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue