1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/chime/Chime_EXPORTS.h>
8 #include <aws/chime/model/Meeting.h>
9 #include <aws/core/utils/memory/stl/AWSVector.h>
10 #include <aws/chime/model/Attendee.h>
11 #include <aws/chime/model/CreateAttendeeError.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23   class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace Chime
27 {
28 namespace Model
29 {
30   class AWS_CHIME_API CreateMeetingWithAttendeesResult
31   {
32   public:
33     CreateMeetingWithAttendeesResult();
34     CreateMeetingWithAttendeesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
35     CreateMeetingWithAttendeesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
36 
37 
38 
GetMeeting()39     inline const Meeting& GetMeeting() const{ return m_meeting; }
40 
41 
SetMeeting(const Meeting & value)42     inline void SetMeeting(const Meeting& value) { m_meeting = value; }
43 
44 
SetMeeting(Meeting && value)45     inline void SetMeeting(Meeting&& value) { m_meeting = std::move(value); }
46 
47 
WithMeeting(const Meeting & value)48     inline CreateMeetingWithAttendeesResult& WithMeeting(const Meeting& value) { SetMeeting(value); return *this;}
49 
50 
WithMeeting(Meeting && value)51     inline CreateMeetingWithAttendeesResult& WithMeeting(Meeting&& value) { SetMeeting(std::move(value)); return *this;}
52 
53 
54     /**
55      * <p>The attendee information, including attendees IDs and join tokens.</p>
56      */
GetAttendees()57     inline const Aws::Vector<Attendee>& GetAttendees() const{ return m_attendees; }
58 
59     /**
60      * <p>The attendee information, including attendees IDs and join tokens.</p>
61      */
SetAttendees(const Aws::Vector<Attendee> & value)62     inline void SetAttendees(const Aws::Vector<Attendee>& value) { m_attendees = value; }
63 
64     /**
65      * <p>The attendee information, including attendees IDs and join tokens.</p>
66      */
SetAttendees(Aws::Vector<Attendee> && value)67     inline void SetAttendees(Aws::Vector<Attendee>&& value) { m_attendees = std::move(value); }
68 
69     /**
70      * <p>The attendee information, including attendees IDs and join tokens.</p>
71      */
WithAttendees(const Aws::Vector<Attendee> & value)72     inline CreateMeetingWithAttendeesResult& WithAttendees(const Aws::Vector<Attendee>& value) { SetAttendees(value); return *this;}
73 
74     /**
75      * <p>The attendee information, including attendees IDs and join tokens.</p>
76      */
WithAttendees(Aws::Vector<Attendee> && value)77     inline CreateMeetingWithAttendeesResult& WithAttendees(Aws::Vector<Attendee>&& value) { SetAttendees(std::move(value)); return *this;}
78 
79     /**
80      * <p>The attendee information, including attendees IDs and join tokens.</p>
81      */
AddAttendees(const Attendee & value)82     inline CreateMeetingWithAttendeesResult& AddAttendees(const Attendee& value) { m_attendees.push_back(value); return *this; }
83 
84     /**
85      * <p>The attendee information, including attendees IDs and join tokens.</p>
86      */
AddAttendees(Attendee && value)87     inline CreateMeetingWithAttendeesResult& AddAttendees(Attendee&& value) { m_attendees.push_back(std::move(value)); return *this; }
88 
89 
90     /**
91      * <p>If the action fails for one or more of the attendees in the request, a list
92      * of the attendees is returned, along with error codes and error messages.</p>
93      */
GetErrors()94     inline const Aws::Vector<CreateAttendeeError>& GetErrors() const{ return m_errors; }
95 
96     /**
97      * <p>If the action fails for one or more of the attendees in the request, a list
98      * of the attendees is returned, along with error codes and error messages.</p>
99      */
SetErrors(const Aws::Vector<CreateAttendeeError> & value)100     inline void SetErrors(const Aws::Vector<CreateAttendeeError>& value) { m_errors = value; }
101 
102     /**
103      * <p>If the action fails for one or more of the attendees in the request, a list
104      * of the attendees is returned, along with error codes and error messages.</p>
105      */
SetErrors(Aws::Vector<CreateAttendeeError> && value)106     inline void SetErrors(Aws::Vector<CreateAttendeeError>&& value) { m_errors = std::move(value); }
107 
108     /**
109      * <p>If the action fails for one or more of the attendees in the request, a list
110      * of the attendees is returned, along with error codes and error messages.</p>
111      */
WithErrors(const Aws::Vector<CreateAttendeeError> & value)112     inline CreateMeetingWithAttendeesResult& WithErrors(const Aws::Vector<CreateAttendeeError>& value) { SetErrors(value); return *this;}
113 
114     /**
115      * <p>If the action fails for one or more of the attendees in the request, a list
116      * of the attendees is returned, along with error codes and error messages.</p>
117      */
WithErrors(Aws::Vector<CreateAttendeeError> && value)118     inline CreateMeetingWithAttendeesResult& WithErrors(Aws::Vector<CreateAttendeeError>&& value) { SetErrors(std::move(value)); return *this;}
119 
120     /**
121      * <p>If the action fails for one or more of the attendees in the request, a list
122      * of the attendees is returned, along with error codes and error messages.</p>
123      */
AddErrors(const CreateAttendeeError & value)124     inline CreateMeetingWithAttendeesResult& AddErrors(const CreateAttendeeError& value) { m_errors.push_back(value); return *this; }
125 
126     /**
127      * <p>If the action fails for one or more of the attendees in the request, a list
128      * of the attendees is returned, along with error codes and error messages.</p>
129      */
AddErrors(CreateAttendeeError && value)130     inline CreateMeetingWithAttendeesResult& AddErrors(CreateAttendeeError&& value) { m_errors.push_back(std::move(value)); return *this; }
131 
132   private:
133 
134     Meeting m_meeting;
135 
136     Aws::Vector<Attendee> m_attendees;
137 
138     Aws::Vector<CreateAttendeeError> m_errors;
139   };
140 
141 } // namespace Model
142 } // namespace Chime
143 } // namespace Aws
144