7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/eks/EKS_EXPORTS.h>
41 template <
typename ClusterVersionT = Aws::String>
43 m_clusterVersionHasBeenSet =
true;
44 m_clusterVersion = std::forward<ClusterVersionT>(value);
46 template <
typename ClusterVersionT = Aws::String>
59 template <
typename PlatformVersionsT = Aws::Vector<Aws::String>>
61 m_platformVersionsHasBeenSet =
true;
62 m_platformVersions = std::forward<PlatformVersionsT>(value);
64 template <
typename PlatformVersionsT = Aws::Vector<Aws::String>>
69 template <
typename PlatformVersionsT = Aws::String>
71 m_platformVersionsHasBeenSet =
true;
72 m_platformVersions.emplace_back(std::forward<PlatformVersionsT>(value));
84 m_defaultVersionHasBeenSet =
true;
85 m_defaultVersion = value;
97 bool m_defaultVersion{
false};
98 bool m_clusterVersionHasBeenSet =
false;
99 bool m_platformVersionsHasBeenSet =
false;
100 bool m_defaultVersionHasBeenSet =
false;
void SetDefaultVersion(bool value)
Compatibility & WithClusterVersion(ClusterVersionT &&value)
void SetClusterVersion(ClusterVersionT &&value)
Compatibility & WithPlatformVersions(PlatformVersionsT &&value)
const Aws::String & GetClusterVersion() const
Compatibility & AddPlatformVersions(PlatformVersionsT &&value)
AWS_EKS_API Compatibility(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API Compatibility()=default
bool GetDefaultVersion() const
bool ClusterVersionHasBeenSet() const
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EKS_API Compatibility & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DefaultVersionHasBeenSet() const
bool PlatformVersionsHasBeenSet() const
Compatibility & WithDefaultVersion(bool value)
void SetPlatformVersions(PlatformVersionsT &&value)
const Aws::Vector< Aws::String > & GetPlatformVersions() 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