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 <aws/kafka/model/ClusterState.h>
12#include <aws/kafka/model/StateInfo.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/kafka/model/Provisioned.h>
15#include <aws/kafka/model/Serverless.h>
61 inline void SetActiveOperationArn(
const char* value) { m_activeOperationArnHasBeenSet =
true; m_activeOperationArn.assign(value); }
92 inline void SetClusterArn(
const char* value) { m_clusterArnHasBeenSet =
true; m_clusterArn.assign(value); }
108 inline void SetClusterName(
const char* value) { m_clusterNameHasBeenSet =
true; m_clusterName.assign(value); }
138 inline void SetCurrentVersion(
const char* value) { m_currentVersionHasBeenSet =
true; m_currentVersion.assign(value); }
190 inline Cluster&
AddTags(
const char* key,
Aws::String&& value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, std::move(value));
return *
this; }
191 inline Cluster&
AddTags(
Aws::String&& key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(std::move(key), value);
return *
this; }
192 inline Cluster&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
225 bool m_activeOperationArnHasBeenSet =
false;
228 bool m_clusterTypeHasBeenSet =
false;
231 bool m_clusterArnHasBeenSet =
false;
234 bool m_clusterNameHasBeenSet =
false;
237 bool m_creationTimeHasBeenSet =
false;
240 bool m_currentVersionHasBeenSet =
false;
243 bool m_stateHasBeenSet =
false;
246 bool m_stateInfoHasBeenSet =
false;
249 bool m_tagsHasBeenSet =
false;
252 bool m_provisionedHasBeenSet =
false;
255 bool m_serverlessHasBeenSet =
false;
void SetProvisioned(Provisioned &&value)
Cluster & WithState(ClusterState &&value)
bool CreationTimeHasBeenSet() const
const Aws::String & GetActiveOperationArn() const
Cluster & WithProvisioned(Provisioned &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetClusterName(const Aws::String &value)
void SetActiveOperationArn(const Aws::String &value)
Cluster & WithStateInfo(const StateInfo &value)
bool StateHasBeenSet() const
Cluster & WithProvisioned(const Provisioned &value)
const StateInfo & GetStateInfo() const
bool ServerlessHasBeenSet() const
Cluster & WithClusterType(const ClusterType &value)
AWS_KAFKA_API Cluster & operator=(Aws::Utils::Json::JsonView jsonValue)
Cluster & WithActiveOperationArn(const Aws::String &value)
Cluster & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetClusterName(Aws::String &&value)
const Aws::String & GetClusterName() const
Cluster & WithCurrentVersion(const Aws::String &value)
Cluster & WithState(const ClusterState &value)
const Aws::Utils::DateTime & GetCreationTime() const
const Provisioned & GetProvisioned() const
bool CurrentVersionHasBeenSet() const
Cluster & WithStateInfo(StateInfo &&value)
Cluster & AddTags(const Aws::String &key, Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
const ClusterState & GetState() const
const Aws::String & GetCurrentVersion() const
void SetClusterName(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetServerless(const Serverless &value)
void SetActiveOperationArn(Aws::String &&value)
Cluster & WithClusterArn(const Aws::String &value)
const Serverless & GetServerless() const
Cluster & WithActiveOperationArn(Aws::String &&value)
void SetClusterType(ClusterType &&value)
void SetClusterArn(Aws::String &&value)
Cluster & WithActiveOperationArn(const char *value)
bool ClusterNameHasBeenSet() const
void SetStateInfo(const StateInfo &value)
bool ClusterTypeHasBeenSet() const
bool TagsHasBeenSet() const
Cluster & WithServerless(const Serverless &value)
AWS_KAFKA_API Cluster(Aws::Utils::Json::JsonView jsonValue)
void SetCurrentVersion(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Cluster & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCurrentVersion(const char *value)
Cluster & WithClusterArn(const char *value)
void SetProvisioned(const Provisioned &value)
void SetClusterArn(const char *value)
Cluster & AddTags(Aws::String &&key, Aws::String &&value)
bool ClusterArnHasBeenSet() const
bool StateInfoHasBeenSet() const
bool ActiveOperationArnHasBeenSet() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
Cluster & AddTags(const Aws::String &key, const Aws::String &value)
Cluster & AddTags(Aws::String &&key, const char *value)
Cluster & WithServerless(Serverless &&value)
Cluster & WithClusterName(const char *value)
const ClusterType & GetClusterType() const
void SetClusterArn(const Aws::String &value)
Cluster & WithCurrentVersion(const char *value)
Cluster & WithClusterName(const Aws::String &value)
Cluster & WithClusterType(ClusterType &&value)
Cluster & WithCreationTime(Aws::Utils::DateTime &&value)
Cluster & WithClusterName(Aws::String &&value)
Cluster & AddTags(const char *key, Aws::String &&value)
Cluster & WithClusterArn(Aws::String &&value)
void SetState(ClusterState &&value)
Cluster & AddTags(Aws::String &&key, const Aws::String &value)
Cluster & WithCurrentVersion(Aws::String &&value)
bool ProvisionedHasBeenSet() const
Cluster & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Cluster & AddTags(const char *key, const char *value)
void SetState(const ClusterState &value)
void SetActiveOperationArn(const char *value)
void SetServerless(Serverless &&value)
void SetClusterType(const ClusterType &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetClusterArn() const
void SetCurrentVersion(const Aws::String &value)
void SetStateInfo(StateInfo &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue