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

A request to apply a service update

See Also:

AWS * API Reference

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

The unique ID of the service update

*/ inline const Aws::String& GetServiceUpdateNameToApply() const{ return m_serviceUpdateNameToApply; } /** *

The unique ID of the service update

*/ inline bool ServiceUpdateNameToApplyHasBeenSet() const { return m_serviceUpdateNameToApplyHasBeenSet; } /** *

The unique ID of the service update

*/ inline void SetServiceUpdateNameToApply(const Aws::String& value) { m_serviceUpdateNameToApplyHasBeenSet = true; m_serviceUpdateNameToApply = value; } /** *

The unique ID of the service update

*/ inline void SetServiceUpdateNameToApply(Aws::String&& value) { m_serviceUpdateNameToApplyHasBeenSet = true; m_serviceUpdateNameToApply = std::move(value); } /** *

The unique ID of the service update

*/ inline void SetServiceUpdateNameToApply(const char* value) { m_serviceUpdateNameToApplyHasBeenSet = true; m_serviceUpdateNameToApply.assign(value); } /** *

The unique ID of the service update

*/ inline ServiceUpdateRequest& WithServiceUpdateNameToApply(const Aws::String& value) { SetServiceUpdateNameToApply(value); return *this;} /** *

The unique ID of the service update

*/ inline ServiceUpdateRequest& WithServiceUpdateNameToApply(Aws::String&& value) { SetServiceUpdateNameToApply(std::move(value)); return *this;} /** *

The unique ID of the service update

*/ inline ServiceUpdateRequest& WithServiceUpdateNameToApply(const char* value) { SetServiceUpdateNameToApply(value); return *this;} private: Aws::String m_serviceUpdateNameToApply; bool m_serviceUpdateNameToApplyHasBeenSet = false; }; } // namespace Model } // namespace MemoryDB } // namespace Aws