7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/kafka/model/ConfigurationRevision.h>
12#include <aws/kafka/model/ConfigurationState.h>
56 template<
typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
58 template<
typename ArnT = Aws::String>
70 template<
typename CreationTimeT = Aws::Utils::DateTime>
71 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
72 template<
typename CreationTimeT = Aws::Utils::DateTime>
84 template<
typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
86 template<
typename DescriptionT = Aws::String>
101 template<
typename KafkaVersionsT = Aws::Vector<Aws::String>>
102 void SetKafkaVersions(KafkaVersionsT&& value) { m_kafkaVersionsHasBeenSet =
true; m_kafkaVersions = std::forward<KafkaVersionsT>(value); }
103 template<
typename KafkaVersionsT = Aws::Vector<Aws::String>>
105 template<
typename KafkaVersionsT = Aws::String>
106 Configuration&
AddKafkaVersions(KafkaVersionsT&& value) { m_kafkaVersionsHasBeenSet =
true; m_kafkaVersions.emplace_back(std::forward<KafkaVersionsT>(value));
return *
this; }
117 template<
typename LatestRevisionT = ConfigurationRevision>
118 void SetLatestRevision(LatestRevisionT&& value) { m_latestRevisionHasBeenSet =
true; m_latestRevision = std::forward<LatestRevisionT>(value); }
119 template<
typename LatestRevisionT = ConfigurationRevision>
131 template<
typename NameT = Aws::String>
132 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
133 template<
typename NameT = Aws::String>
152 bool m_arnHasBeenSet =
false;
155 bool m_creationTimeHasBeenSet =
false;
158 bool m_descriptionHasBeenSet =
false;
161 bool m_kafkaVersionsHasBeenSet =
false;
163 ConfigurationRevision m_latestRevision;
164 bool m_latestRevisionHasBeenSet =
false;
167 bool m_nameHasBeenSet =
false;
170 bool m_stateHasBeenSet =
false;
void SetState(ConfigurationState value)
Configuration & WithLatestRevision(LatestRevisionT &&value)
bool ArnHasBeenSet() const
const Aws::Vector< Aws::String > & GetKafkaVersions() const
AWS_KAFKA_API Configuration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationTime() const
Configuration & WithDescription(DescriptionT &&value)
const Aws::String & GetArn() const
Configuration & WithArn(ArnT &&value)
bool CreationTimeHasBeenSet() const
const Aws::String & GetDescription() const
const ConfigurationRevision & GetLatestRevision() const
bool NameHasBeenSet() const
ConfigurationState GetState() const
void SetKafkaVersions(KafkaVersionsT &&value)
bool DescriptionHasBeenSet() const
bool StateHasBeenSet() const
Configuration & WithState(ConfigurationState value)
void SetDescription(DescriptionT &&value)
AWS_KAFKA_API Configuration()=default
bool KafkaVersionsHasBeenSet() const
void SetLatestRevision(LatestRevisionT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetName() const
Configuration & WithCreationTime(CreationTimeT &&value)
Configuration & WithName(NameT &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
bool LatestRevisionHasBeenSet() const
Configuration & AddKafkaVersions(KafkaVersionsT &&value)
AWS_KAFKA_API Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
void SetArn(ArnT &&value)
Configuration & WithKafkaVersions(KafkaVersionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue