/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The status of the service update on the cache nodeSee Also:
* AWS
* API Reference
The node ID of the cache cluster
*/ inline const Aws::String& GetCacheNodeId() const{ return m_cacheNodeId; } /** *The node ID of the cache cluster
*/ inline bool CacheNodeIdHasBeenSet() const { return m_cacheNodeIdHasBeenSet; } /** *The node ID of the cache cluster
*/ inline void SetCacheNodeId(const Aws::String& value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId = value; } /** *The node ID of the cache cluster
*/ inline void SetCacheNodeId(Aws::String&& value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId = std::move(value); } /** *The node ID of the cache cluster
*/ inline void SetCacheNodeId(const char* value) { m_cacheNodeIdHasBeenSet = true; m_cacheNodeId.assign(value); } /** *The node ID of the cache cluster
*/ inline CacheNodeUpdateStatus& WithCacheNodeId(const Aws::String& value) { SetCacheNodeId(value); return *this;} /** *The node ID of the cache cluster
*/ inline CacheNodeUpdateStatus& WithCacheNodeId(Aws::String&& value) { SetCacheNodeId(std::move(value)); return *this;} /** *The node ID of the cache cluster
*/ inline CacheNodeUpdateStatus& WithCacheNodeId(const char* value) { SetCacheNodeId(value); return *this;} /** *The update status of the node
*/ inline const NodeUpdateStatus& GetNodeUpdateStatus() const{ return m_nodeUpdateStatus; } /** *The update status of the node
*/ inline bool NodeUpdateStatusHasBeenSet() const { return m_nodeUpdateStatusHasBeenSet; } /** *The update status of the node
*/ inline void SetNodeUpdateStatus(const NodeUpdateStatus& value) { m_nodeUpdateStatusHasBeenSet = true; m_nodeUpdateStatus = value; } /** *The update status of the node
*/ inline void SetNodeUpdateStatus(NodeUpdateStatus&& value) { m_nodeUpdateStatusHasBeenSet = true; m_nodeUpdateStatus = std::move(value); } /** *The update status of the node
*/ inline CacheNodeUpdateStatus& WithNodeUpdateStatus(const NodeUpdateStatus& value) { SetNodeUpdateStatus(value); return *this;} /** *The update status of the node
*/ inline CacheNodeUpdateStatus& WithNodeUpdateStatus(NodeUpdateStatus&& value) { SetNodeUpdateStatus(std::move(value)); return *this;} /** *The deletion date of the node
*/ inline const Aws::Utils::DateTime& GetNodeDeletionDate() const{ return m_nodeDeletionDate; } /** *The deletion date of the node
*/ inline bool NodeDeletionDateHasBeenSet() const { return m_nodeDeletionDateHasBeenSet; } /** *The deletion date of the node
*/ inline void SetNodeDeletionDate(const Aws::Utils::DateTime& value) { m_nodeDeletionDateHasBeenSet = true; m_nodeDeletionDate = value; } /** *The deletion date of the node
*/ inline void SetNodeDeletionDate(Aws::Utils::DateTime&& value) { m_nodeDeletionDateHasBeenSet = true; m_nodeDeletionDate = std::move(value); } /** *The deletion date of the node
*/ inline CacheNodeUpdateStatus& WithNodeDeletionDate(const Aws::Utils::DateTime& value) { SetNodeDeletionDate(value); return *this;} /** *The deletion date of the node
*/ inline CacheNodeUpdateStatus& WithNodeDeletionDate(Aws::Utils::DateTime&& value) { SetNodeDeletionDate(std::move(value)); return *this;} /** *The start date of the update for a node
*/ inline const Aws::Utils::DateTime& GetNodeUpdateStartDate() const{ return m_nodeUpdateStartDate; } /** *The start date of the update for a node
*/ inline bool NodeUpdateStartDateHasBeenSet() const { return m_nodeUpdateStartDateHasBeenSet; } /** *The start date of the update for a node
*/ inline void SetNodeUpdateStartDate(const Aws::Utils::DateTime& value) { m_nodeUpdateStartDateHasBeenSet = true; m_nodeUpdateStartDate = value; } /** *The start date of the update for a node
*/ inline void SetNodeUpdateStartDate(Aws::Utils::DateTime&& value) { m_nodeUpdateStartDateHasBeenSet = true; m_nodeUpdateStartDate = std::move(value); } /** *The start date of the update for a node
*/ inline CacheNodeUpdateStatus& WithNodeUpdateStartDate(const Aws::Utils::DateTime& value) { SetNodeUpdateStartDate(value); return *this;} /** *The start date of the update for a node
*/ inline CacheNodeUpdateStatus& WithNodeUpdateStartDate(Aws::Utils::DateTime&& value) { SetNodeUpdateStartDate(std::move(value)); return *this;} /** *The end date of the update for a node
*/ inline const Aws::Utils::DateTime& GetNodeUpdateEndDate() const{ return m_nodeUpdateEndDate; } /** *The end date of the update for a node
*/ inline bool NodeUpdateEndDateHasBeenSet() const { return m_nodeUpdateEndDateHasBeenSet; } /** *The end date of the update for a node
*/ inline void SetNodeUpdateEndDate(const Aws::Utils::DateTime& value) { m_nodeUpdateEndDateHasBeenSet = true; m_nodeUpdateEndDate = value; } /** *The end date of the update for a node
*/ inline void SetNodeUpdateEndDate(Aws::Utils::DateTime&& value) { m_nodeUpdateEndDateHasBeenSet = true; m_nodeUpdateEndDate = std::move(value); } /** *The end date of the update for a node
*/ inline CacheNodeUpdateStatus& WithNodeUpdateEndDate(const Aws::Utils::DateTime& value) { SetNodeUpdateEndDate(value); return *this;} /** *The end date of the update for a node
*/ inline CacheNodeUpdateStatus& WithNodeUpdateEndDate(Aws::Utils::DateTime&& value) { SetNodeUpdateEndDate(std::move(value)); return *this;} /** *Reflects whether the update was initiated by the customer or automatically * applied
*/ inline const NodeUpdateInitiatedBy& GetNodeUpdateInitiatedBy() const{ return m_nodeUpdateInitiatedBy; } /** *Reflects whether the update was initiated by the customer or automatically * applied
*/ inline bool NodeUpdateInitiatedByHasBeenSet() const { return m_nodeUpdateInitiatedByHasBeenSet; } /** *Reflects whether the update was initiated by the customer or automatically * applied
*/ inline void SetNodeUpdateInitiatedBy(const NodeUpdateInitiatedBy& value) { m_nodeUpdateInitiatedByHasBeenSet = true; m_nodeUpdateInitiatedBy = value; } /** *Reflects whether the update was initiated by the customer or automatically * applied
*/ inline void SetNodeUpdateInitiatedBy(NodeUpdateInitiatedBy&& value) { m_nodeUpdateInitiatedByHasBeenSet = true; m_nodeUpdateInitiatedBy = std::move(value); } /** *Reflects whether the update was initiated by the customer or automatically * applied
*/ inline CacheNodeUpdateStatus& WithNodeUpdateInitiatedBy(const NodeUpdateInitiatedBy& value) { SetNodeUpdateInitiatedBy(value); return *this;} /** *Reflects whether the update was initiated by the customer or automatically * applied
*/ inline CacheNodeUpdateStatus& WithNodeUpdateInitiatedBy(NodeUpdateInitiatedBy&& value) { SetNodeUpdateInitiatedBy(std::move(value)); return *this;} /** *The date when the update is triggered
*/ inline const Aws::Utils::DateTime& GetNodeUpdateInitiatedDate() const{ return m_nodeUpdateInitiatedDate; } /** *The date when the update is triggered
*/ inline bool NodeUpdateInitiatedDateHasBeenSet() const { return m_nodeUpdateInitiatedDateHasBeenSet; } /** *The date when the update is triggered
*/ inline void SetNodeUpdateInitiatedDate(const Aws::Utils::DateTime& value) { m_nodeUpdateInitiatedDateHasBeenSet = true; m_nodeUpdateInitiatedDate = value; } /** *The date when the update is triggered
*/ inline void SetNodeUpdateInitiatedDate(Aws::Utils::DateTime&& value) { m_nodeUpdateInitiatedDateHasBeenSet = true; m_nodeUpdateInitiatedDate = std::move(value); } /** *The date when the update is triggered
*/ inline CacheNodeUpdateStatus& WithNodeUpdateInitiatedDate(const Aws::Utils::DateTime& value) { SetNodeUpdateInitiatedDate(value); return *this;} /** *The date when the update is triggered
*/ inline CacheNodeUpdateStatus& WithNodeUpdateInitiatedDate(Aws::Utils::DateTime&& value) { SetNodeUpdateInitiatedDate(std::move(value)); return *this;} /** *The date when the NodeUpdateStatus was last modified>
*/ inline const Aws::Utils::DateTime& GetNodeUpdateStatusModifiedDate() const{ return m_nodeUpdateStatusModifiedDate; } /** *The date when the NodeUpdateStatus was last modified>
*/ inline bool NodeUpdateStatusModifiedDateHasBeenSet() const { return m_nodeUpdateStatusModifiedDateHasBeenSet; } /** *The date when the NodeUpdateStatus was last modified>
*/ inline void SetNodeUpdateStatusModifiedDate(const Aws::Utils::DateTime& value) { m_nodeUpdateStatusModifiedDateHasBeenSet = true; m_nodeUpdateStatusModifiedDate = value; } /** *The date when the NodeUpdateStatus was last modified>
*/ inline void SetNodeUpdateStatusModifiedDate(Aws::Utils::DateTime&& value) { m_nodeUpdateStatusModifiedDateHasBeenSet = true; m_nodeUpdateStatusModifiedDate = std::move(value); } /** *The date when the NodeUpdateStatus was last modified>
*/ inline CacheNodeUpdateStatus& WithNodeUpdateStatusModifiedDate(const Aws::Utils::DateTime& value) { SetNodeUpdateStatusModifiedDate(value); return *this;} /** *The date when the NodeUpdateStatus was last modified>
*/ inline CacheNodeUpdateStatus& WithNodeUpdateStatusModifiedDate(Aws::Utils::DateTime&& value) { SetNodeUpdateStatusModifiedDate(std::move(value)); return *this;} private: Aws::String m_cacheNodeId; bool m_cacheNodeIdHasBeenSet = false; NodeUpdateStatus m_nodeUpdateStatus; bool m_nodeUpdateStatusHasBeenSet = false; Aws::Utils::DateTime m_nodeDeletionDate; bool m_nodeDeletionDateHasBeenSet = false; Aws::Utils::DateTime m_nodeUpdateStartDate; bool m_nodeUpdateStartDateHasBeenSet = false; Aws::Utils::DateTime m_nodeUpdateEndDate; bool m_nodeUpdateEndDateHasBeenSet = false; NodeUpdateInitiatedBy m_nodeUpdateInitiatedBy; bool m_nodeUpdateInitiatedByHasBeenSet = false; Aws::Utils::DateTime m_nodeUpdateInitiatedDate; bool m_nodeUpdateInitiatedDateHasBeenSet = false; Aws::Utils::DateTime m_nodeUpdateStatusModifiedDate; bool m_nodeUpdateStatusModifiedDateHasBeenSet = false; }; } // namespace Model } // namespace ElastiCache } // namespace Aws