/** * 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 GameLift { namespace Model { class UpdateRuntimeConfigurationResult { public: AWS_GAMELIFT_API UpdateRuntimeConfigurationResult(); AWS_GAMELIFT_API UpdateRuntimeConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_GAMELIFT_API UpdateRuntimeConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The runtime configuration currently in use by all instances in the fleet. If * the update was successful, all property changes are shown.

*/ inline const RuntimeConfiguration& GetRuntimeConfiguration() const{ return m_runtimeConfiguration; } /** *

The runtime configuration currently in use by all instances in the fleet. If * the update was successful, all property changes are shown.

*/ inline void SetRuntimeConfiguration(const RuntimeConfiguration& value) { m_runtimeConfiguration = value; } /** *

The runtime configuration currently in use by all instances in the fleet. If * the update was successful, all property changes are shown.

*/ inline void SetRuntimeConfiguration(RuntimeConfiguration&& value) { m_runtimeConfiguration = std::move(value); } /** *

The runtime configuration currently in use by all instances in the fleet. If * the update was successful, all property changes are shown.

*/ inline UpdateRuntimeConfigurationResult& WithRuntimeConfiguration(const RuntimeConfiguration& value) { SetRuntimeConfiguration(value); return *this;} /** *

The runtime configuration currently in use by all instances in the fleet. If * the update was successful, all property changes are shown.

*/ inline UpdateRuntimeConfigurationResult& WithRuntimeConfiguration(RuntimeConfiguration&& value) { SetRuntimeConfiguration(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 UpdateRuntimeConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateRuntimeConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateRuntimeConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RuntimeConfiguration m_runtimeConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace GameLift } // namespace Aws