/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace EKS { namespace Model { /** *

An object representing the details of an update request.

See * Also:

AWS API * Reference

*/ class UpdateParam { public: AWS_EKS_API UpdateParam(); AWS_EKS_API UpdateParam(Aws::Utils::Json::JsonView jsonValue); AWS_EKS_API UpdateParam& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The keys associated with an update request.

*/ inline const UpdateParamType& GetType() const{ return m_type; } /** *

The keys associated with an update request.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The keys associated with an update request.

*/ inline void SetType(const UpdateParamType& value) { m_typeHasBeenSet = true; m_type = value; } /** *

The keys associated with an update request.

*/ inline void SetType(UpdateParamType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *

The keys associated with an update request.

*/ inline UpdateParam& WithType(const UpdateParamType& value) { SetType(value); return *this;} /** *

The keys associated with an update request.

*/ inline UpdateParam& WithType(UpdateParamType&& value) { SetType(std::move(value)); return *this;} /** *

The value of the keys submitted as part of an update request.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

The value of the keys submitted as part of an update request.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The value of the keys submitted as part of an update request.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The value of the keys submitted as part of an update request.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The value of the keys submitted as part of an update request.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

The value of the keys submitted as part of an update request.

*/ inline UpdateParam& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

The value of the keys submitted as part of an update request.

*/ inline UpdateParam& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

The value of the keys submitted as part of an update request.

*/ inline UpdateParam& WithValue(const char* value) { SetValue(value); return *this;} private: UpdateParamType m_type; bool m_typeHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws