/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Inspector2 { namespace Model { class DisableDelegatedAdminAccountResult { public: AWS_INSPECTOR2_API DisableDelegatedAdminAccountResult(); AWS_INSPECTOR2_API DisableDelegatedAdminAccountResult(const Aws::AmazonWebServiceResult& result); AWS_INSPECTOR2_API DisableDelegatedAdminAccountResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Web Services account ID of the successfully disabled delegated * administrator.

*/ inline const Aws::String& GetDelegatedAdminAccountId() const{ return m_delegatedAdminAccountId; } /** *

The Amazon Web Services account ID of the successfully disabled delegated * administrator.

*/ inline void SetDelegatedAdminAccountId(const Aws::String& value) { m_delegatedAdminAccountId = value; } /** *

The Amazon Web Services account ID of the successfully disabled delegated * administrator.

*/ inline void SetDelegatedAdminAccountId(Aws::String&& value) { m_delegatedAdminAccountId = std::move(value); } /** *

The Amazon Web Services account ID of the successfully disabled delegated * administrator.

*/ inline void SetDelegatedAdminAccountId(const char* value) { m_delegatedAdminAccountId.assign(value); } /** *

The Amazon Web Services account ID of the successfully disabled delegated * administrator.

*/ inline DisableDelegatedAdminAccountResult& WithDelegatedAdminAccountId(const Aws::String& value) { SetDelegatedAdminAccountId(value); return *this;} /** *

The Amazon Web Services account ID of the successfully disabled delegated * administrator.

*/ inline DisableDelegatedAdminAccountResult& WithDelegatedAdminAccountId(Aws::String&& value) { SetDelegatedAdminAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the successfully disabled delegated * administrator.

*/ inline DisableDelegatedAdminAccountResult& WithDelegatedAdminAccountId(const char* value) { SetDelegatedAdminAccountId(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 DisableDelegatedAdminAccountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DisableDelegatedAdminAccountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DisableDelegatedAdminAccountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_delegatedAdminAccountId; Aws::String m_requestId; }; } // namespace Model } // namespace Inspector2 } // namespace Aws