7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
46 template <
typename SourceVersionT = Aws::String>
48 m_sourceVersionHasBeenSet =
true;
49 m_sourceVersion = std::forward<SourceVersionT>(value);
51 template <
typename SourceVersionT = Aws::String>
66 template <
typename TargetVersionsT = Aws::Vector<Aws::String>>
68 m_targetVersionsHasBeenSet =
true;
69 m_targetVersions = std::forward<TargetVersionsT>(value);
71 template <
typename TargetVersionsT = Aws::Vector<Aws::String>>
76 template <
typename TargetVersionsT = Aws::String>
78 m_targetVersionsHasBeenSet =
true;
79 m_targetVersions.emplace_back(std::forward<TargetVersionsT>(value));
87 bool m_sourceVersionHasBeenSet =
false;
88 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