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

The total number of invitations that were received by the account, not * including the currently accepted invitation.

*/ inline long long GetInvitationsCount() const{ return m_invitationsCount; } /** *

The total number of invitations that were received by the account, not * including the currently accepted invitation.

*/ inline void SetInvitationsCount(long long value) { m_invitationsCount = value; } /** *

The total number of invitations that were received by the account, not * including the currently accepted invitation.

*/ inline GetInvitationsCountResult& WithInvitationsCount(long long value) { SetInvitationsCount(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 GetInvitationsCountResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetInvitationsCountResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetInvitationsCountResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: long long m_invitationsCount; Aws::String m_requestId; }; } // namespace Model } // namespace Macie2 } // namespace Aws