AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ClusterOperationV2Summary.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/ClusterType.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Kafka
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_KAFKA_API ClusterOperationV2Summary() = default;
41 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
50 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
51 template<typename ClusterArnT = Aws::String>
52 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
53 template<typename ClusterArnT = Aws::String>
54 ClusterOperationV2Summary& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
56
58
62 inline ClusterType GetClusterType() const { return m_clusterType; }
63 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
64 inline void SetClusterType(ClusterType value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
67
69
73 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
74 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
75 template<typename StartTimeT = Aws::Utils::DateTime>
76 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
77 template<typename StartTimeT = Aws::Utils::DateTime>
78 ClusterOperationV2Summary& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
87 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
88 template<typename EndTimeT = Aws::Utils::DateTime>
89 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
90 template<typename EndTimeT = Aws::Utils::DateTime>
91 ClusterOperationV2Summary& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
93
95
99 inline const Aws::String& GetOperationArn() const { return m_operationArn; }
100 inline bool OperationArnHasBeenSet() const { return m_operationArnHasBeenSet; }
101 template<typename OperationArnT = Aws::String>
102 void SetOperationArn(OperationArnT&& value) { m_operationArnHasBeenSet = true; m_operationArn = std::forward<OperationArnT>(value); }
103 template<typename OperationArnT = Aws::String>
104 ClusterOperationV2Summary& WithOperationArn(OperationArnT&& value) { SetOperationArn(std::forward<OperationArnT>(value)); return *this;}
106
108
112 inline const Aws::String& GetOperationState() const { return m_operationState; }
113 inline bool OperationStateHasBeenSet() const { return m_operationStateHasBeenSet; }
114 template<typename OperationStateT = Aws::String>
115 void SetOperationState(OperationStateT&& value) { m_operationStateHasBeenSet = true; m_operationState = std::forward<OperationStateT>(value); }
116 template<typename OperationStateT = Aws::String>
117 ClusterOperationV2Summary& WithOperationState(OperationStateT&& value) { SetOperationState(std::forward<OperationStateT>(value)); return *this;}
119
121
125 inline const Aws::String& GetOperationType() const { return m_operationType; }
126 inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
127 template<typename OperationTypeT = Aws::String>
128 void SetOperationType(OperationTypeT&& value) { m_operationTypeHasBeenSet = true; m_operationType = std::forward<OperationTypeT>(value); }
129 template<typename OperationTypeT = Aws::String>
130 ClusterOperationV2Summary& WithOperationType(OperationTypeT&& value) { SetOperationType(std::forward<OperationTypeT>(value)); return *this;}
132 private:
133
134 Aws::String m_clusterArn;
135 bool m_clusterArnHasBeenSet = false;
136
137 ClusterType m_clusterType{ClusterType::NOT_SET};
138 bool m_clusterTypeHasBeenSet = false;
139
140 Aws::Utils::DateTime m_startTime{};
141 bool m_startTimeHasBeenSet = false;
142
143 Aws::Utils::DateTime m_endTime{};
144 bool m_endTimeHasBeenSet = false;
145
146 Aws::String m_operationArn;
147 bool m_operationArnHasBeenSet = false;
148
149 Aws::String m_operationState;
150 bool m_operationStateHasBeenSet = false;
151
152 Aws::String m_operationType;
153 bool m_operationTypeHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace Kafka
158} // 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