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

Describes the pending maintenance actions for a resource.

See * Also:

AWS * API Reference

*/ class ResourcePendingMaintenanceActions { public: AWS_NEPTUNE_API ResourcePendingMaintenanceActions(); AWS_NEPTUNE_API ResourcePendingMaintenanceActions(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API ResourcePendingMaintenanceActions& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The ARN of the resource that has pending maintenance actions.

*/ inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; } /** *

The ARN of the resource that has pending maintenance actions.

*/ inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; } /** *

The ARN of the resource that has pending maintenance actions.

*/ inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; } /** *

The ARN of the resource that has pending maintenance actions.

*/ inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); } /** *

The ARN of the resource that has pending maintenance actions.

*/ inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); } /** *

The ARN of the resource that has pending maintenance actions.

*/ inline ResourcePendingMaintenanceActions& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;} /** *

The ARN of the resource that has pending maintenance actions.

*/ inline ResourcePendingMaintenanceActions& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;} /** *

The ARN of the resource that has pending maintenance actions.

*/ inline ResourcePendingMaintenanceActions& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;} /** *

A list that provides details about the pending maintenance actions for the * resource.

*/ inline const Aws::Vector& GetPendingMaintenanceActionDetails() const{ return m_pendingMaintenanceActionDetails; } /** *

A list that provides details about the pending maintenance actions for the * resource.

*/ inline bool PendingMaintenanceActionDetailsHasBeenSet() const { return m_pendingMaintenanceActionDetailsHasBeenSet; } /** *

A list that provides details about the pending maintenance actions for the * resource.

*/ inline void SetPendingMaintenanceActionDetails(const Aws::Vector& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails = value; } /** *

A list that provides details about the pending maintenance actions for the * resource.

*/ inline void SetPendingMaintenanceActionDetails(Aws::Vector&& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails = std::move(value); } /** *

A list that provides details about the pending maintenance actions for the * resource.

*/ inline ResourcePendingMaintenanceActions& WithPendingMaintenanceActionDetails(const Aws::Vector& value) { SetPendingMaintenanceActionDetails(value); return *this;} /** *

A list that provides details about the pending maintenance actions for the * resource.

*/ inline ResourcePendingMaintenanceActions& WithPendingMaintenanceActionDetails(Aws::Vector&& value) { SetPendingMaintenanceActionDetails(std::move(value)); return *this;} /** *

A list that provides details about the pending maintenance actions for the * resource.

*/ inline ResourcePendingMaintenanceActions& AddPendingMaintenanceActionDetails(const PendingMaintenanceAction& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails.push_back(value); return *this; } /** *

A list that provides details about the pending maintenance actions for the * resource.

*/ inline ResourcePendingMaintenanceActions& AddPendingMaintenanceActionDetails(PendingMaintenanceAction&& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails.push_back(std::move(value)); return *this; } private: Aws::String m_resourceIdentifier; bool m_resourceIdentifierHasBeenSet = false; Aws::Vector m_pendingMaintenanceActionDetails; bool m_pendingMaintenanceActionDetailsHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws