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

Information about the installed EKS add-on (GuardDuty security * agent).

See Also:

AWS * API Reference

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

Version of the installed EKS add-on.

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

Version of the installed EKS add-on.

*/ inline bool AddonVersionHasBeenSet() const { return m_addonVersionHasBeenSet; } /** *

Version of the installed EKS add-on.

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

Version of the installed EKS add-on.

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

Version of the installed EKS add-on.

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

Version of the installed EKS add-on.

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

Version of the installed EKS add-on.

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

Version of the installed EKS add-on.

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

Status of the installed EKS add-on.

*/ inline const Aws::String& GetAddonStatus() const{ return m_addonStatus; } /** *

Status of the installed EKS add-on.

*/ inline bool AddonStatusHasBeenSet() const { return m_addonStatusHasBeenSet; } /** *

Status of the installed EKS add-on.

*/ inline void SetAddonStatus(const Aws::String& value) { m_addonStatusHasBeenSet = true; m_addonStatus = value; } /** *

Status of the installed EKS add-on.

*/ inline void SetAddonStatus(Aws::String&& value) { m_addonStatusHasBeenSet = true; m_addonStatus = std::move(value); } /** *

Status of the installed EKS add-on.

*/ inline void SetAddonStatus(const char* value) { m_addonStatusHasBeenSet = true; m_addonStatus.assign(value); } /** *

Status of the installed EKS add-on.

*/ inline AddonDetails& WithAddonStatus(const Aws::String& value) { SetAddonStatus(value); return *this;} /** *

Status of the installed EKS add-on.

*/ inline AddonDetails& WithAddonStatus(Aws::String&& value) { SetAddonStatus(std::move(value)); return *this;} /** *

Status of the installed EKS add-on.

*/ inline AddonDetails& WithAddonStatus(const char* value) { SetAddonStatus(value); return *this;} private: Aws::String m_addonVersion; bool m_addonVersionHasBeenSet = false; Aws::String m_addonStatus; bool m_addonStatusHasBeenSet = false; }; } // namespace Model } // namespace GuardDuty } // namespace Aws