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

The account setting for the specified principal ARN.

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

The account setting for the specified principal ARN.

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

The account setting for the specified principal ARN.

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

The account setting for the specified principal ARN.

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

The account setting for the specified principal ARN.

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