/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Chime { namespace Model { class AWS_CHIME_API CreateMeetingWithAttendeesResult { public: CreateMeetingWithAttendeesResult(); CreateMeetingWithAttendeesResult(const Aws::AmazonWebServiceResult& result); CreateMeetingWithAttendeesResult& operator=(const Aws::AmazonWebServiceResult& result); inline const Meeting& GetMeeting() const{ return m_meeting; } inline void SetMeeting(const Meeting& value) { m_meeting = value; } inline void SetMeeting(Meeting&& value) { m_meeting = std::move(value); } inline CreateMeetingWithAttendeesResult& WithMeeting(const Meeting& value) { SetMeeting(value); return *this;} inline CreateMeetingWithAttendeesResult& WithMeeting(Meeting&& value) { SetMeeting(std::move(value)); return *this;} /** *

The attendee information, including attendees IDs and join tokens.

*/ inline const Aws::Vector& GetAttendees() const{ return m_attendees; } /** *

The attendee information, including attendees IDs and join tokens.

*/ inline void SetAttendees(const Aws::Vector& value) { m_attendees = value; } /** *

The attendee information, including attendees IDs and join tokens.

*/ inline void SetAttendees(Aws::Vector&& value) { m_attendees = std::move(value); } /** *

The attendee information, including attendees IDs and join tokens.

*/ inline CreateMeetingWithAttendeesResult& WithAttendees(const Aws::Vector& value) { SetAttendees(value); return *this;} /** *

The attendee information, including attendees IDs and join tokens.

*/ inline CreateMeetingWithAttendeesResult& WithAttendees(Aws::Vector&& value) { SetAttendees(std::move(value)); return *this;} /** *

The attendee information, including attendees IDs and join tokens.

*/ inline CreateMeetingWithAttendeesResult& AddAttendees(const Attendee& value) { m_attendees.push_back(value); return *this; } /** *

The attendee information, including attendees IDs and join tokens.

*/ inline CreateMeetingWithAttendeesResult& AddAttendees(Attendee&& value) { m_attendees.push_back(std::move(value)); return *this; } /** *

If the action fails for one or more of the attendees in the request, a list * of the attendees is returned, along with error codes and error messages.

*/ inline const Aws::Vector& GetErrors() const{ return m_errors; } /** *

If the action fails for one or more of the attendees in the request, a list * of the attendees is returned, along with error codes and error messages.

*/ inline void SetErrors(const Aws::Vector& value) { m_errors = value; } /** *

If the action fails for one or more of the attendees in the request, a list * of the attendees is returned, along with error codes and error messages.

*/ inline void SetErrors(Aws::Vector&& value) { m_errors = std::move(value); } /** *

If the action fails for one or more of the attendees in the request, a list * of the attendees is returned, along with error codes and error messages.

*/ inline CreateMeetingWithAttendeesResult& WithErrors(const Aws::Vector& value) { SetErrors(value); return *this;} /** *

If the action fails for one or more of the attendees in the request, a list * of the attendees is returned, along with error codes and error messages.

*/ inline CreateMeetingWithAttendeesResult& WithErrors(Aws::Vector&& value) { SetErrors(std::move(value)); return *this;} /** *

If the action fails for one or more of the attendees in the request, a list * of the attendees is returned, along with error codes and error messages.

*/ inline CreateMeetingWithAttendeesResult& AddErrors(const CreateAttendeeError& value) { m_errors.push_back(value); return *this; } /** *

If the action fails for one or more of the attendees in the request, a list * of the attendees is returned, along with error codes and error messages.

*/ inline CreateMeetingWithAttendeesResult& AddErrors(CreateAttendeeError&& value) { m_errors.push_back(std::move(value)); return *this; } private: Meeting m_meeting; Aws::Vector m_attendees; Aws::Vector m_errors; }; } // namespace Model } // namespace Chime } // namespace Aws