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

The result body of the ResetServiceSetting API operation.

See * Also:

AWS * API Reference

*/ class ResetServiceSettingResult { public: AWS_SSM_API ResetServiceSettingResult(); AWS_SSM_API ResetServiceSettingResult(const Aws::AmazonWebServiceResult& result); AWS_SSM_API ResetServiceSettingResult& operator=(const Aws::AmazonWebServiceResult& result); ///@{ /** *

The current, effective service setting after calling the ResetServiceSetting * API operation.

*/ inline const ServiceSetting& GetServiceSetting() const{ return m_serviceSetting; } inline void SetServiceSetting(const ServiceSetting& value) { m_serviceSetting = value; } inline void SetServiceSetting(ServiceSetting&& value) { m_serviceSetting = std::move(value); } inline ResetServiceSettingResult& WithServiceSetting(const ServiceSetting& value) { SetServiceSetting(value); return *this;} inline ResetServiceSettingResult& WithServiceSetting(ServiceSetting&& value) { SetServiceSetting(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 ResetServiceSettingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ResetServiceSettingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ResetServiceSettingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} ///@} private: ServiceSetting m_serviceSetting; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws