/** * 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 Http { class URI; } //namespace Http namespace EKS { namespace Model { /** */ class DescribeAddonConfigurationRequest : public EKSRequest { public: AWS_EKS_API DescribeAddonConfigurationRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeAddonConfiguration"; } AWS_EKS_API Aws::String SerializePayload() const override; AWS_EKS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The name of the add-on. The name must match one of the names that * DescribeAddonVersions returns.

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

The name of the add-on. The name must match one of the names that * DescribeAddonVersions returns.

*/ inline bool AddonNameHasBeenSet() const { return m_addonNameHasBeenSet; } /** *

The name of the add-on. The name must match one of the names that * DescribeAddonVersions returns.

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

The name of the add-on. The name must match one of the names that * DescribeAddonVersions returns.

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

The name of the add-on. The name must match one of the names that * DescribeAddonVersions returns.

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

The name of the add-on. The name must match one of the names that * DescribeAddonVersions returns.

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

The name of the add-on. The name must match one of the names that * DescribeAddonVersions returns.

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

The name of the add-on. The name must match one of the names that * DescribeAddonVersions returns.

*/ inline DescribeAddonConfigurationRequest& 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 bool AddonVersionHasBeenSet() const { return m_addonVersionHasBeenSet; } /** *

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_addonVersionHasBeenSet = true; 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_addonVersionHasBeenSet = true; 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_addonVersionHasBeenSet = true; m_addonVersion.assign(value); } /** *

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

*/ inline DescribeAddonConfigurationRequest& 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 DescribeAddonConfigurationRequest& 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 DescribeAddonConfigurationRequest& WithAddonVersion(const char* value) { SetAddonVersion(value); return *this;} private: Aws::String m_addonName; bool m_addonNameHasBeenSet = false; Aws::String m_addonVersion; bool m_addonVersionHasBeenSet = false; }; } // namespace Model } // namespace EKS } // namespace Aws