7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
52 template<
typename SourceVersionT = Aws::String>
53 void SetSourceVersion(SourceVersionT&& value) { m_sourceVersionHasBeenSet =
true; m_sourceVersion = std::forward<SourceVersionT>(value); }
54 template<
typename SourceVersionT = Aws::String>
66 template<
typename TargetVersionsT = Aws::Vector<Aws::String>>
67 void SetTargetVersions(TargetVersionsT&& value) { m_targetVersionsHasBeenSet =
true; m_targetVersions = std::forward<TargetVersionsT>(value); }
68 template<
typename TargetVersionsT = Aws::Vector<Aws::String>>
70 template<
typename TargetVersionsT = Aws::String>
76 bool m_sourceVersionHasBeenSet =
false;
79 bool m_targetVersionsHasBeenSet =
false;
void SetSourceVersion(SourceVersionT &&value)
bool TargetVersionsHasBeenSet() const
bool SourceVersionHasBeenSet() const
AWS_KAFKA_API CompatibleKafkaVersion(Aws::Utils::Json::JsonView jsonValue)
void SetTargetVersions(TargetVersionsT &&value)
CompatibleKafkaVersion & WithSourceVersion(SourceVersionT &&value)
const Aws::Vector< Aws::String > & GetTargetVersions() const
AWS_KAFKA_API CompatibleKafkaVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
CompatibleKafkaVersion & AddTargetVersions(TargetVersionsT &&value)
const Aws::String & GetSourceVersion() const
AWS_KAFKA_API CompatibleKafkaVersion()=default
CompatibleKafkaVersion & WithTargetVersions(TargetVersionsT &&value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue