/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Update action that has yet to be processed for the corresponding apply/stop
* requestSee Also:
AWS
* API Reference
The unique ID of the service update
*/ inline const Aws::String& GetServiceUpdateName() const{ return m_serviceUpdateName; } /** *The unique ID of the service update
*/ inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; } /** *The unique ID of the service update
*/ inline void SetServiceUpdateName(const Aws::String& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = value; } /** *The unique ID of the service update
*/ inline void SetServiceUpdateName(Aws::String&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::move(value); } /** *The unique ID of the service update
*/ inline void SetServiceUpdateName(const char* value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName.assign(value); } /** *The unique ID of the service update
*/ inline PendingModifiedServiceUpdate& WithServiceUpdateName(const Aws::String& value) { SetServiceUpdateName(value); return *this;} /** *The unique ID of the service update
*/ inline PendingModifiedServiceUpdate& WithServiceUpdateName(Aws::String&& value) { SetServiceUpdateName(std::move(value)); return *this;} /** *The unique ID of the service update
*/ inline PendingModifiedServiceUpdate& WithServiceUpdateName(const char* value) { SetServiceUpdateName(value); return *this;} /** *The status of the service update
*/ inline const ServiceUpdateStatus& GetStatus() const{ return m_status; } /** *The status of the service update
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the service update
*/ inline void SetStatus(const ServiceUpdateStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the service update
*/ inline void SetStatus(ServiceUpdateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the service update
*/ inline PendingModifiedServiceUpdate& WithStatus(const ServiceUpdateStatus& value) { SetStatus(value); return *this;} /** *The status of the service update
*/ inline PendingModifiedServiceUpdate& WithStatus(ServiceUpdateStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_serviceUpdateName; bool m_serviceUpdateNameHasBeenSet = false; ServiceUpdateStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace MemoryDB } // namespace Aws