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

The current setting for a resource.

*/ inline const Setting& GetSetting() const{ return m_setting; } /** *

The current setting for a resource.

*/ inline void SetSetting(const Setting& value) { m_setting = value; } /** *

The current setting for a resource.

*/ inline void SetSetting(Setting&& value) { m_setting = std::move(value); } /** *

The current setting for a resource.

*/ inline PutAccountSettingDefaultResult& WithSetting(const Setting& value) { SetSetting(value); return *this;} /** *

The current setting for a resource.

*/ inline PutAccountSettingDefaultResult& WithSetting(Setting&& value) { SetSetting(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 PutAccountSettingDefaultResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline PutAccountSettingDefaultResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline PutAccountSettingDefaultResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Setting m_setting; Aws::String m_requestId; }; } // namespace Model } // namespace ECS } // namespace Aws