AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ClusterOperationV2Summary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10#include <aws/kafka/model/ClusterType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kafka {
22namespace Model {
23
32 public:
33 AWS_KAFKA_API ClusterOperationV2Summary() = default;
36 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
44 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
45 template <typename ClusterArnT = Aws::String>
46 void SetClusterArn(ClusterArnT&& value) {
47 m_clusterArnHasBeenSet = true;
48 m_clusterArn = std::forward<ClusterArnT>(value);
49 }
50 template <typename ClusterArnT = Aws::String>
52 SetClusterArn(std::forward<ClusterArnT>(value));
53 return *this;
54 }
56
58
62 inline ClusterType GetClusterType() const { return m_clusterType; }
63 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
64 inline void SetClusterType(ClusterType value) {
65 m_clusterTypeHasBeenSet = true;
66 m_clusterType = value;
67 }
69 SetClusterType(value);
70 return *this;
71 }
73
75
79 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
80 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
81 template <typename StartTimeT = Aws::Utils::DateTime>
82 void SetStartTime(StartTimeT&& value) {
83 m_startTimeHasBeenSet = true;
84 m_startTime = std::forward<StartTimeT>(value);
85 }
86 template <typename StartTimeT = Aws::Utils::DateTime>
88 SetStartTime(std::forward<StartTimeT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
99 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
100 template <typename EndTimeT = Aws::Utils::DateTime>
101 void SetEndTime(EndTimeT&& value) {
102 m_endTimeHasBeenSet = true;
103 m_endTime = std::forward<EndTimeT>(value);
104 }
105 template <typename EndTimeT = Aws::Utils::DateTime>
107 SetEndTime(std::forward<EndTimeT>(value));
108 return *this;
109 }
111
113
117 inline const Aws::String& GetOperationArn() const { return m_operationArn; }
118 inline bool OperationArnHasBeenSet() const { return m_operationArnHasBeenSet; }
119 template <typename OperationArnT = Aws::String>
120 void SetOperationArn(OperationArnT&& value) {
121 m_operationArnHasBeenSet = true;
122 m_operationArn = std::forward<OperationArnT>(value);
123 }
124 template <typename OperationArnT = Aws::String>
126 SetOperationArn(std::forward<OperationArnT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::String& GetOperationState() const { return m_operationState; }
137 inline bool OperationStateHasBeenSet() const { return m_operationStateHasBeenSet; }
138 template <typename OperationStateT = Aws::String>
139 void SetOperationState(OperationStateT&& value) {
140 m_operationStateHasBeenSet = true;
141 m_operationState = std::forward<OperationStateT>(value);
142 }
143 template <typename OperationStateT = Aws::String>
145 SetOperationState(std::forward<OperationStateT>(value));
146 return *this;
147 }
149
151
155 inline const Aws::String& GetOperationType() const { return m_operationType; }
156 inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
157 template <typename OperationTypeT = Aws::String>
158 void SetOperationType(OperationTypeT&& value) {
159 m_operationTypeHasBeenSet = true;
160 m_operationType = std::forward<OperationTypeT>(value);
161 }
162 template <typename OperationTypeT = Aws::String>
164 SetOperationType(std::forward<OperationTypeT>(value));
165 return *this;
166 }
168 private:
169 Aws::String m_clusterArn;
170
171 ClusterType m_clusterType{ClusterType::NOT_SET};
172
173 Aws::Utils::DateTime m_startTime{};
174
175 Aws::Utils::DateTime m_endTime{};
176
177 Aws::String m_operationArn;
178
179 Aws::String m_operationState;
180
181 Aws::String m_operationType;
182 bool m_clusterArnHasBeenSet = false;
183 bool m_clusterTypeHasBeenSet = false;
184 bool m_startTimeHasBeenSet = false;
185 bool m_endTimeHasBeenSet = false;
186 bool m_operationArnHasBeenSet = false;
187 bool m_operationStateHasBeenSet = false;
188 bool m_operationTypeHasBeenSet = false;
189};
190
191} // namespace Model
192} // namespace Kafka
193} // namespace Aws
const Aws::Utils::DateTime & GetStartTime() const
AWS_KAFKA_API ClusterOperationV2Summary()=default
ClusterOperationV2Summary & WithClusterType(ClusterType value)
ClusterOperationV2Summary & WithOperationType(OperationTypeT &&value)
AWS_KAFKA_API ClusterOperationV2Summary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEndTime() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
ClusterOperationV2Summary & WithStartTime(StartTimeT &&value)
ClusterOperationV2Summary & WithOperationState(OperationStateT &&value)
ClusterOperationV2Summary & WithEndTime(EndTimeT &&value)
ClusterOperationV2Summary & WithClusterArn(ClusterArnT &&value)
ClusterOperationV2Summary & WithOperationArn(OperationArnT &&value)
AWS_KAFKA_API ClusterOperationV2Summary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue