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

A list of details about the Security Hub master account for the current * member account.

*/ inline const Invitation& GetMaster() const{ return m_master; } /** *

A list of details about the Security Hub master account for the current * member account.

*/ inline void SetMaster(const Invitation& value) { m_master = value; } /** *

A list of details about the Security Hub master account for the current * member account.

*/ inline void SetMaster(Invitation&& value) { m_master = std::move(value); } /** *

A list of details about the Security Hub master account for the current * member account.

*/ inline GetMasterAccountResult& WithMaster(const Invitation& value) { SetMaster(value); return *this;} /** *

A list of details about the Security Hub master account for the current * member account.

*/ inline GetMasterAccountResult& WithMaster(Invitation&& value) { SetMaster(std::move(value)); return *this;} private: Invitation m_master; }; } // namespace Model } // namespace SecurityHub } // namespace Aws