AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename ApplicationIdT = Aws::String>
49 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
50 template<typename ApplicationIdT = Aws::String>
51 EventStream& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
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) { m_destinationStreamArnHasBeenSet = true; m_destinationStreamArn = std::forward<DestinationStreamArnT>(value); }
70 template<typename DestinationStreamArnT = Aws::String>
71 EventStream& WithDestinationStreamArn(DestinationStreamArnT&& value) { SetDestinationStreamArn(std::forward<DestinationStreamArnT>(value)); return *this;}
73
75
82 inline const Aws::String& GetExternalId() const { return m_externalId; }
83 inline bool ExternalIdHasBeenSet() const { return m_externalIdHasBeenSet; }
84 template<typename ExternalIdT = Aws::String>
85 void SetExternalId(ExternalIdT&& value) { m_externalIdHasBeenSet = true; m_externalId = std::forward<ExternalIdT>(value); }
86 template<typename ExternalIdT = Aws::String>
87 EventStream& WithExternalId(ExternalIdT&& value) { SetExternalId(std::forward<ExternalIdT>(value)); return *this;}
89
91
94 inline const Aws::String& GetLastModifiedDate() const { return m_lastModifiedDate; }
95 inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; }
96 template<typename LastModifiedDateT = Aws::String>
97 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
98 template<typename LastModifiedDateT = Aws::String>
99 EventStream& WithLastModifiedDate(LastModifiedDateT&& value) { SetLastModifiedDate(std::forward<LastModifiedDateT>(value)); return *this;}
101
103
106 inline const Aws::String& GetLastUpdatedBy() const { return m_lastUpdatedBy; }
107 inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; }
108 template<typename LastUpdatedByT = Aws::String>
109 void SetLastUpdatedBy(LastUpdatedByT&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::forward<LastUpdatedByT>(value); }
110 template<typename LastUpdatedByT = Aws::String>
111 EventStream& WithLastUpdatedBy(LastUpdatedByT&& value) { SetLastUpdatedBy(std::forward<LastUpdatedByT>(value)); return *this;}
113
115
119 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
120 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
121 template<typename RoleArnT = Aws::String>
122 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
123 template<typename RoleArnT = Aws::String>
124 EventStream& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
126 private:
127
128 Aws::String m_applicationId;
129 bool m_applicationIdHasBeenSet = false;
130
131 Aws::String m_destinationStreamArn;
132 bool m_destinationStreamArnHasBeenSet = false;
133
134 Aws::String m_externalId;
135 bool m_externalIdHasBeenSet = false;
136
137 Aws::String m_lastModifiedDate;
138 bool m_lastModifiedDateHasBeenSet = false;
139
140 Aws::String m_lastUpdatedBy;
141 bool m_lastUpdatedByHasBeenSet = false;
142
143 Aws::String m_roleArn;
144 bool m_roleArnHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace Pinpoint
149} // namespace Aws
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLastUpdatedBy() const
EventStream & WithLastModifiedDate(LastModifiedDateT &&value)
Definition EventStream.h:99
void SetExternalId(ExternalIdT &&value)
Definition EventStream.h:85
bool DestinationStreamArnHasBeenSet() const
Definition EventStream.h:67
EventStream & WithDestinationStreamArn(DestinationStreamArnT &&value)
Definition EventStream.h:71
EventStream & WithLastUpdatedBy(LastUpdatedByT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
Definition EventStream.h:97
const Aws::String & GetLastModifiedDate() const
Definition EventStream.h:94
EventStream & WithExternalId(ExternalIdT &&value)
Definition EventStream.h:87
void SetApplicationId(ApplicationIdT &&value)
Definition EventStream.h:49
const Aws::String & GetDestinationStreamArn() const
Definition EventStream.h:66
EventStream & WithRoleArn(RoleArnT &&value)
EventStream & WithApplicationId(ApplicationIdT &&value)
Definition EventStream.h:51
AWS_PINPOINT_API EventStream & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API EventStream()=default
const Aws::String & GetExternalId() const
Definition EventStream.h:82
AWS_PINPOINT_API EventStream(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedBy(LastUpdatedByT &&value)
const Aws::String & GetApplicationId() const
Definition EventStream.h:46
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