7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
47 template<
typename ClusterVersionT = Aws::String>
48 void SetClusterVersion(ClusterVersionT&& value) { m_clusterVersionHasBeenSet =
true; m_clusterVersion = std::forward<ClusterVersionT>(value); }
49 template<
typename ClusterVersionT = Aws::String>
59 template<
typename PlatformVersionsT = Aws::Vector<Aws::String>>
60 void SetPlatformVersions(PlatformVersionsT&& value) { m_platformVersionsHasBeenSet =
true; m_platformVersions = std::forward<PlatformVersionsT>(value); }
61 template<
typename PlatformVersionsT = Aws::Vector<Aws::String>>
63 template<
typename PlatformVersionsT = Aws::String>
64 Compatibility&
AddPlatformVersions(PlatformVersionsT&& value) { m_platformVersionsHasBeenSet =
true; m_platformVersions.emplace_back(std::forward<PlatformVersionsT>(value));
return *
this; }
73 inline void SetDefaultVersion(
bool value) { m_defaultVersionHasBeenSet =
true; m_defaultVersion = value; }
79 bool m_clusterVersionHasBeenSet =
false;
82 bool m_platformVersionsHasBeenSet =
false;
84 bool m_defaultVersion{
false};
85 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