/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace MemoryDB { namespace Model { class UpdateParameterGroupResult { public: AWS_MEMORYDB_API UpdateParameterGroupResult(); AWS_MEMORYDB_API UpdateParameterGroupResult(const Aws::AmazonWebServiceResult& result); AWS_MEMORYDB_API UpdateParameterGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The updated parameter group

*/ inline const ParameterGroup& GetParameterGroup() const{ return m_parameterGroup; } /** *

The updated parameter group

*/ inline void SetParameterGroup(const ParameterGroup& value) { m_parameterGroup = value; } /** *

The updated parameter group

*/ inline void SetParameterGroup(ParameterGroup&& value) { m_parameterGroup = std::move(value); } /** *

The updated parameter group

*/ inline UpdateParameterGroupResult& WithParameterGroup(const ParameterGroup& value) { SetParameterGroup(value); return *this;} /** *

The updated parameter group

*/ inline UpdateParameterGroupResult& WithParameterGroup(ParameterGroup&& value) { SetParameterGroup(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateParameterGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateParameterGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateParameterGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ParameterGroup m_parameterGroup; Aws::String m_requestId; }; } // namespace Model } // namespace MemoryDB } // namespace Aws