/** * 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 ElastiCache { namespace Model { /** *

The status of the service update on the node group

See Also:

* AWS * API Reference

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

The ID of the node group

*/ inline const Aws::String& GetNodeGroupId() const{ return m_nodeGroupId; } /** *

The ID of the node group

*/ inline bool NodeGroupIdHasBeenSet() const { return m_nodeGroupIdHasBeenSet; } /** *

The ID of the node group

*/ inline void SetNodeGroupId(const Aws::String& value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId = value; } /** *

The ID of the node group

*/ inline void SetNodeGroupId(Aws::String&& value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId = std::move(value); } /** *

The ID of the node group

*/ inline void SetNodeGroupId(const char* value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId.assign(value); } /** *

The ID of the node group

*/ inline NodeGroupUpdateStatus& WithNodeGroupId(const Aws::String& value) { SetNodeGroupId(value); return *this;} /** *

The ID of the node group

*/ inline NodeGroupUpdateStatus& WithNodeGroupId(Aws::String&& value) { SetNodeGroupId(std::move(value)); return *this;} /** *

The ID of the node group

*/ inline NodeGroupUpdateStatus& WithNodeGroupId(const char* value) { SetNodeGroupId(value); return *this;} /** *

The status of the service update on the node group member

*/ inline const Aws::Vector& GetNodeGroupMemberUpdateStatus() const{ return m_nodeGroupMemberUpdateStatus; } /** *

The status of the service update on the node group member

*/ inline bool NodeGroupMemberUpdateStatusHasBeenSet() const { return m_nodeGroupMemberUpdateStatusHasBeenSet; } /** *

The status of the service update on the node group member

*/ inline void SetNodeGroupMemberUpdateStatus(const Aws::Vector& value) { m_nodeGroupMemberUpdateStatusHasBeenSet = true; m_nodeGroupMemberUpdateStatus = value; } /** *

The status of the service update on the node group member

*/ inline void SetNodeGroupMemberUpdateStatus(Aws::Vector&& value) { m_nodeGroupMemberUpdateStatusHasBeenSet = true; m_nodeGroupMemberUpdateStatus = std::move(value); } /** *

The status of the service update on the node group member

*/ inline NodeGroupUpdateStatus& WithNodeGroupMemberUpdateStatus(const Aws::Vector& value) { SetNodeGroupMemberUpdateStatus(value); return *this;} /** *

The status of the service update on the node group member

*/ inline NodeGroupUpdateStatus& WithNodeGroupMemberUpdateStatus(Aws::Vector&& value) { SetNodeGroupMemberUpdateStatus(std::move(value)); return *this;} /** *

The status of the service update on the node group member

*/ inline NodeGroupUpdateStatus& AddNodeGroupMemberUpdateStatus(const NodeGroupMemberUpdateStatus& value) { m_nodeGroupMemberUpdateStatusHasBeenSet = true; m_nodeGroupMemberUpdateStatus.push_back(value); return *this; } /** *

The status of the service update on the node group member

*/ inline NodeGroupUpdateStatus& AddNodeGroupMemberUpdateStatus(NodeGroupMemberUpdateStatus&& value) { m_nodeGroupMemberUpdateStatusHasBeenSet = true; m_nodeGroupMemberUpdateStatus.push_back(std::move(value)); return *this; } private: Aws::String m_nodeGroupId; bool m_nodeGroupIdHasBeenSet = false; Aws::Vector m_nodeGroupMemberUpdateStatus; bool m_nodeGroupMemberUpdateStatusHasBeenSet = false; }; } // namespace Model } // namespace ElastiCache } // namespace Aws