/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The information about the container provider.See Also:
AWS
* API Reference
The type of the container provider. Amazon EKS is the only supported type as * of now.
*/ inline const ContainerProviderType& GetType() const{ return m_type; } /** *The type of the container provider. Amazon EKS is the only supported type as * of now.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the container provider. Amazon EKS is the only supported type as * of now.
*/ inline void SetType(const ContainerProviderType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the container provider. Amazon EKS is the only supported type as * of now.
*/ inline void SetType(ContainerProviderType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the container provider. Amazon EKS is the only supported type as * of now.
*/ inline ContainerProvider& WithType(const ContainerProviderType& value) { SetType(value); return *this;} /** *The type of the container provider. Amazon EKS is the only supported type as * of now.
*/ inline ContainerProvider& WithType(ContainerProviderType&& value) { SetType(std::move(value)); return *this;} /** *The ID of the container cluster.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the container cluster.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the container cluster.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the container cluster.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the container cluster.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the container cluster.
*/ inline ContainerProvider& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the container cluster.
*/ inline ContainerProvider& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the container cluster.
*/ inline ContainerProvider& WithId(const char* value) { SetId(value); return *this;} /** *The information about the container cluster.
*/ inline const ContainerInfo& GetInfo() const{ return m_info; } /** *The information about the container cluster.
*/ inline bool InfoHasBeenSet() const { return m_infoHasBeenSet; } /** *The information about the container cluster.
*/ inline void SetInfo(const ContainerInfo& value) { m_infoHasBeenSet = true; m_info = value; } /** *The information about the container cluster.
*/ inline void SetInfo(ContainerInfo&& value) { m_infoHasBeenSet = true; m_info = std::move(value); } /** *The information about the container cluster.
*/ inline ContainerProvider& WithInfo(const ContainerInfo& value) { SetInfo(value); return *this;} /** *The information about the container cluster.
*/ inline ContainerProvider& WithInfo(ContainerInfo&& value) { SetInfo(std::move(value)); return *this;} private: ContainerProviderType m_type; bool m_typeHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; ContainerInfo m_info; bool m_infoHasBeenSet = false; }; } // namespace Model } // namespace EMRContainers } // namespace Aws