AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
52 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
53 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
54 inline ClusterOperationV2Summary& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
55 inline ClusterOperationV2Summary& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
56 inline ClusterOperationV2Summary& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
58
60
64 inline const ClusterType& GetClusterType() const{ return m_clusterType; }
65 inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; }
66 inline void SetClusterType(const ClusterType& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
67 inline void SetClusterType(ClusterType&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); }
68 inline ClusterOperationV2Summary& WithClusterType(const ClusterType& value) { SetClusterType(value); return *this;}
69 inline ClusterOperationV2Summary& WithClusterType(ClusterType&& value) { SetClusterType(std::move(value)); return *this;}
71
73
77 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
78 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
79 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
80 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
81 inline ClusterOperationV2Summary& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
82 inline ClusterOperationV2Summary& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
84
86
90 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
91 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
92 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
93 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
94 inline ClusterOperationV2Summary& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
95 inline ClusterOperationV2Summary& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
97
99
103 inline const Aws::String& GetOperationArn() const{ return m_operationArn; }
104 inline bool OperationArnHasBeenSet() const { return m_operationArnHasBeenSet; }
105 inline void SetOperationArn(const Aws::String& value) { m_operationArnHasBeenSet = true; m_operationArn = value; }
106 inline void SetOperationArn(Aws::String&& value) { m_operationArnHasBeenSet = true; m_operationArn = std::move(value); }
107 inline void SetOperationArn(const char* value) { m_operationArnHasBeenSet = true; m_operationArn.assign(value); }
108 inline ClusterOperationV2Summary& WithOperationArn(const Aws::String& value) { SetOperationArn(value); return *this;}
109 inline ClusterOperationV2Summary& WithOperationArn(Aws::String&& value) { SetOperationArn(std::move(value)); return *this;}
110 inline ClusterOperationV2Summary& WithOperationArn(const char* value) { SetOperationArn(value); return *this;}
112
114
118 inline const Aws::String& GetOperationState() const{ return m_operationState; }
119 inline bool OperationStateHasBeenSet() const { return m_operationStateHasBeenSet; }
120 inline void SetOperationState(const Aws::String& value) { m_operationStateHasBeenSet = true; m_operationState = value; }
121 inline void SetOperationState(Aws::String&& value) { m_operationStateHasBeenSet = true; m_operationState = std::move(value); }
122 inline void SetOperationState(const char* value) { m_operationStateHasBeenSet = true; m_operationState.assign(value); }
123 inline ClusterOperationV2Summary& WithOperationState(const Aws::String& value) { SetOperationState(value); return *this;}
124 inline ClusterOperationV2Summary& WithOperationState(Aws::String&& value) { SetOperationState(std::move(value)); return *this;}
125 inline ClusterOperationV2Summary& WithOperationState(const char* value) { SetOperationState(value); return *this;}
127
129
133 inline const Aws::String& GetOperationType() const{ return m_operationType; }
134 inline bool OperationTypeHasBeenSet() const { return m_operationTypeHasBeenSet; }
135 inline void SetOperationType(const Aws::String& value) { m_operationTypeHasBeenSet = true; m_operationType = value; }
136 inline void SetOperationType(Aws::String&& value) { m_operationTypeHasBeenSet = true; m_operationType = std::move(value); }
137 inline void SetOperationType(const char* value) { m_operationTypeHasBeenSet = true; m_operationType.assign(value); }
138 inline ClusterOperationV2Summary& WithOperationType(const Aws::String& value) { SetOperationType(value); return *this;}
139 inline ClusterOperationV2Summary& WithOperationType(Aws::String&& value) { SetOperationType(std::move(value)); return *this;}
140 inline ClusterOperationV2Summary& WithOperationType(const char* value) { SetOperationType(value); return *this;}
142 private:
143
144 Aws::String m_clusterArn;
145 bool m_clusterArnHasBeenSet = false;
146
147 ClusterType m_clusterType;
148 bool m_clusterTypeHasBeenSet = false;
149
150 Aws::Utils::DateTime m_startTime;
151 bool m_startTimeHasBeenSet = false;
152
153 Aws::Utils::DateTime m_endTime;
154 bool m_endTimeHasBeenSet = false;
155
156 Aws::String m_operationArn;
157 bool m_operationArnHasBeenSet = false;
158
159 Aws::String m_operationState;
160 bool m_operationStateHasBeenSet = false;
161
162 Aws::String m_operationType;
163 bool m_operationTypeHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace Kafka
168} // namespace Aws
const Aws::Utils::DateTime & GetStartTime() const
ClusterOperationV2Summary & WithStartTime(const Aws::Utils::DateTime &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 & WithOperationState(Aws::String &&value)
ClusterOperationV2Summary & WithEndTime(const Aws::Utils::DateTime &value)
ClusterOperationV2Summary & WithOperationState(const Aws::String &value)
ClusterOperationV2Summary & WithClusterType(ClusterType &&value)
ClusterOperationV2Summary & WithClusterArn(Aws::String &&value)
ClusterOperationV2Summary & WithClusterArn(const Aws::String &value)
ClusterOperationV2Summary & WithOperationArn(Aws::String &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
ClusterOperationV2Summary & WithOperationState(const char *value)
ClusterOperationV2Summary & WithOperationType(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_KAFKA_API ClusterOperationV2Summary(Aws::Utils::Json::JsonView jsonValue)
ClusterOperationV2Summary & WithClusterArn(const char *value)
ClusterOperationV2Summary & WithOperationType(const char *value)
ClusterOperationV2Summary & WithOperationArn(const char *value)
ClusterOperationV2Summary & WithOperationArn(const Aws::String &value)
ClusterOperationV2Summary & WithClusterType(const ClusterType &value)
ClusterOperationV2Summary & WithOperationType(Aws::String &&value)
ClusterOperationV2Summary & WithStartTime(Aws::Utils::DateTime &&value)
ClusterOperationV2Summary & WithEndTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue