/** * 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 Greengrass { namespace Model { class GetThingRuntimeConfigurationResult { public: AWS_GREENGRASS_API GetThingRuntimeConfigurationResult(); AWS_GREENGRASS_API GetThingRuntimeConfigurationResult(const Aws::AmazonWebServiceResult& result); AWS_GREENGRASS_API GetThingRuntimeConfigurationResult& operator=(const Aws::AmazonWebServiceResult& result); /** * Runtime configuration for a thing. */ inline const RuntimeConfiguration& GetRuntimeConfiguration() const{ return m_runtimeConfiguration; } /** * Runtime configuration for a thing. */ inline void SetRuntimeConfiguration(const RuntimeConfiguration& value) { m_runtimeConfiguration = value; } /** * Runtime configuration for a thing. */ inline void SetRuntimeConfiguration(RuntimeConfiguration&& value) { m_runtimeConfiguration = std::move(value); } /** * Runtime configuration for a thing. */ inline GetThingRuntimeConfigurationResult& WithRuntimeConfiguration(const RuntimeConfiguration& value) { SetRuntimeConfiguration(value); return *this;} /** * Runtime configuration for a thing. */ inline GetThingRuntimeConfigurationResult& 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 GetThingRuntimeConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetThingRuntimeConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetThingRuntimeConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: RuntimeConfiguration m_runtimeConfiguration; Aws::String m_requestId; }; } // namespace Model } // namespace Greengrass } // namespace Aws