/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EKS { namespace Model { class DescribeAddonConfigurationResult { public: AWS_EKS_API DescribeAddonConfigurationResult(); AWS_EKS_API DescribeAddonConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_EKS_API DescribeAddonConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the add-on.

*/ inline const Aws::String& GetAddonName() const{ return m_addonName; } /** *

The name of the add-on.

*/ inline void SetAddonName(const Aws::String& value) { m_addonName = value; } /** *

The name of the add-on.

*/ inline void SetAddonName(Aws::String&& value) { m_addonName = std::move(value); } /** *

The name of the add-on.

*/ inline void SetAddonName(const char* value) { m_addonName.assign(value); } /** *

The name of the add-on.

*/ inline DescribeAddonConfigurationResult& WithAddonName(const Aws::String& value) { SetAddonName(value); return *this;} /** *

The name of the add-on.

*/ inline DescribeAddonConfigurationResult& WithAddonName(Aws::String&& value) { SetAddonName(std::move(value)); return *this;} /** *

The name of the add-on.

*/ inline DescribeAddonConfigurationResult& WithAddonName(const char* value) { SetAddonName(value); return *this;} /** *

The version of the add-on. The version must match one of the versions * returned by * DescribeAddonVersions .

*/ inline const Aws::String& GetAddonVersion() const{ return m_addonVersion; } /** *

The version of the add-on. The version must match one of the versions * returned by * DescribeAddonVersions .

*/ inline void SetAddonVersion(const Aws::String& value) { m_addonVersion = value; } /** *

The version of the add-on. The version must match one of the versions * returned by * DescribeAddonVersions .

*/ inline void SetAddonVersion(Aws::String&& value) { m_addonVersion = std::move(value); } /** *

The version of the add-on. The version must match one of the versions * returned by * DescribeAddonVersions .

*/ inline void SetAddonVersion(const char* value) { m_addonVersion.assign(value); } /** *

The version of the add-on. The version must match one of the versions * returned by * DescribeAddonVersions .

*/ inline DescribeAddonConfigurationResult& WithAddonVersion(const Aws::String& value) { SetAddonVersion(value); return *this;} /** *

The version of the add-on. The version must match one of the versions * returned by * DescribeAddonVersions .

*/ inline DescribeAddonConfigurationResult& WithAddonVersion(Aws::String&& value) { SetAddonVersion(std::move(value)); return *this;} /** *

The version of the add-on. The version must match one of the versions * returned by * DescribeAddonVersions .

*/ inline DescribeAddonConfigurationResult& WithAddonVersion(const char* value) { SetAddonVersion(value); return *this;} /** *

A JSON schema that's used to validate the configuration values that you * provide when an addon is created or updated.

*/ inline const Aws::String& GetConfigurationSchema() const{ return m_configurationSchema; } /** *

A JSON schema that's used to validate the configuration values that you * provide when an addon is created or updated.

*/ inline void SetConfigurationSchema(const Aws::String& value) { m_configurationSchema = value; } /** *

A JSON schema that's used to validate the configuration values that you * provide when an addon is created or updated.

*/ inline void SetConfigurationSchema(Aws::String&& value) { m_configurationSchema = std::move(value); } /** *

A JSON schema that's used to validate the configuration values that you * provide when an addon is created or updated.

*/ inline void SetConfigurationSchema(const char* value) { m_configurationSchema.assign(value); } /** *

A JSON schema that's used to validate the configuration values that you * provide when an addon is created or updated.

*/ inline DescribeAddonConfigurationResult& WithConfigurationSchema(const Aws::String& value) { SetConfigurationSchema(value); return *this;} /** *

A JSON schema that's used to validate the configuration values that you * provide when an addon is created or updated.

*/ inline DescribeAddonConfigurationResult& WithConfigurationSchema(Aws::String&& value) { SetConfigurationSchema(std::move(value)); return *this;} /** *

A JSON schema that's used to validate the configuration values that you * provide when an addon is created or updated.

*/ inline DescribeAddonConfigurationResult& WithConfigurationSchema(const char* value) { SetConfigurationSchema(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeAddonConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAddonConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAddonConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_addonName; Aws::String m_addonVersion; Aws::String m_configurationSchema; Aws::String m_requestId; }; } // namespace Model } // namespace EKS } // namespace Aws