AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
StreamSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dsql/DSQL_EXPORTS.h>
10#include <aws/dsql/model/StreamStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DSQL {
22namespace Model {
23
30 public:
31 AWS_DSQL_API StreamSummary() = default;
35
37
40 inline const Aws::String& GetClusterIdentifier() const { return m_clusterIdentifier; }
41 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
42 template <typename ClusterIdentifierT = Aws::String>
43 void SetClusterIdentifier(ClusterIdentifierT&& value) {
44 m_clusterIdentifierHasBeenSet = true;
45 m_clusterIdentifier = std::forward<ClusterIdentifierT>(value);
46 }
47 template <typename ClusterIdentifierT = Aws::String>
48 StreamSummary& WithClusterIdentifier(ClusterIdentifierT&& value) {
49 SetClusterIdentifier(std::forward<ClusterIdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetStreamIdentifier() const { return m_streamIdentifier; }
59 inline bool StreamIdentifierHasBeenSet() const { return m_streamIdentifierHasBeenSet; }
60 template <typename StreamIdentifierT = Aws::String>
61 void SetStreamIdentifier(StreamIdentifierT&& value) {
62 m_streamIdentifierHasBeenSet = true;
63 m_streamIdentifier = std::forward<StreamIdentifierT>(value);
64 }
65 template <typename StreamIdentifierT = Aws::String>
66 StreamSummary& WithStreamIdentifier(StreamIdentifierT&& value) {
67 SetStreamIdentifier(std::forward<StreamIdentifierT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetArn() const { return m_arn; }
77 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
78 template <typename ArnT = Aws::String>
79 void SetArn(ArnT&& value) {
80 m_arnHasBeenSet = true;
81 m_arn = std::forward<ArnT>(value);
82 }
83 template <typename ArnT = Aws::String>
84 StreamSummary& WithArn(ArnT&& value) {
85 SetArn(std::forward<ArnT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
95 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
96 template <typename CreationTimeT = Aws::Utils::DateTime>
97 void SetCreationTime(CreationTimeT&& value) {
98 m_creationTimeHasBeenSet = true;
99 m_creationTime = std::forward<CreationTimeT>(value);
100 }
101 template <typename CreationTimeT = Aws::Utils::DateTime>
102 StreamSummary& WithCreationTime(CreationTimeT&& value) {
103 SetCreationTime(std::forward<CreationTimeT>(value));
104 return *this;
105 }
107
109
112 inline StreamStatus GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 inline void SetStatus(StreamStatus value) {
115 m_statusHasBeenSet = true;
116 m_status = value;
117 }
119 SetStatus(value);
120 return *this;
121 }
123 private:
124 Aws::String m_clusterIdentifier;
125
126 Aws::String m_streamIdentifier;
127
128 Aws::String m_arn;
129
130 Aws::Utils::DateTime m_creationTime{};
131
133 bool m_clusterIdentifierHasBeenSet = false;
134 bool m_streamIdentifierHasBeenSet = false;
135 bool m_arnHasBeenSet = false;
136 bool m_creationTimeHasBeenSet = false;
137 bool m_statusHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace DSQL
142} // namespace Aws
AWS_DSQL_API StreamSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetClusterIdentifier(ClusterIdentifierT &&value)
AWS_DSQL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DSQL_API StreamSummary()=default
StreamSummary & WithStreamIdentifier(StreamIdentifierT &&value)
StreamSummary & WithStatus(StreamStatus value)
void SetStatus(StreamStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetClusterIdentifier() const
StreamSummary & WithClusterIdentifier(ClusterIdentifierT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetStreamIdentifier(StreamIdentifierT &&value)
AWS_DSQL_API StreamSummary(Aws::Utils::Json::JsonView jsonValue)
StreamStatus GetStatus() const
StreamSummary & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetArn() const
const Aws::String & GetStreamIdentifier() const
StreamSummary & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue