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/medialive/MediaLive_EXPORTS.h>
8 #include <aws/medialive/model/BatchScheduleActionCreateResult.h>
9 #include <aws/medialive/model/BatchScheduleActionDeleteResult.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21   class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace MediaLive
25 {
26 namespace Model
27 {
28   /**
29    * Placeholder documentation for BatchUpdateScheduleResponse<p><h3>See Also:</h3>
30    * <a
31    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BatchUpdateScheduleResponse">AWS
32    * API Reference</a></p>
33    */
34   class AWS_MEDIALIVE_API BatchUpdateScheduleResult
35   {
36   public:
37     BatchUpdateScheduleResult();
38     BatchUpdateScheduleResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
39     BatchUpdateScheduleResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
40 
41 
42     /**
43      * Schedule actions created in the schedule.
44      */
GetCreates()45     inline const BatchScheduleActionCreateResult& GetCreates() const{ return m_creates; }
46 
47     /**
48      * Schedule actions created in the schedule.
49      */
SetCreates(const BatchScheduleActionCreateResult & value)50     inline void SetCreates(const BatchScheduleActionCreateResult& value) { m_creates = value; }
51 
52     /**
53      * Schedule actions created in the schedule.
54      */
SetCreates(BatchScheduleActionCreateResult && value)55     inline void SetCreates(BatchScheduleActionCreateResult&& value) { m_creates = std::move(value); }
56 
57     /**
58      * Schedule actions created in the schedule.
59      */
WithCreates(const BatchScheduleActionCreateResult & value)60     inline BatchUpdateScheduleResult& WithCreates(const BatchScheduleActionCreateResult& value) { SetCreates(value); return *this;}
61 
62     /**
63      * Schedule actions created in the schedule.
64      */
WithCreates(BatchScheduleActionCreateResult && value)65     inline BatchUpdateScheduleResult& WithCreates(BatchScheduleActionCreateResult&& value) { SetCreates(std::move(value)); return *this;}
66 
67 
68     /**
69      * Schedule actions deleted from the schedule.
70      */
GetDeletes()71     inline const BatchScheduleActionDeleteResult& GetDeletes() const{ return m_deletes; }
72 
73     /**
74      * Schedule actions deleted from the schedule.
75      */
SetDeletes(const BatchScheduleActionDeleteResult & value)76     inline void SetDeletes(const BatchScheduleActionDeleteResult& value) { m_deletes = value; }
77 
78     /**
79      * Schedule actions deleted from the schedule.
80      */
SetDeletes(BatchScheduleActionDeleteResult && value)81     inline void SetDeletes(BatchScheduleActionDeleteResult&& value) { m_deletes = std::move(value); }
82 
83     /**
84      * Schedule actions deleted from the schedule.
85      */
WithDeletes(const BatchScheduleActionDeleteResult & value)86     inline BatchUpdateScheduleResult& WithDeletes(const BatchScheduleActionDeleteResult& value) { SetDeletes(value); return *this;}
87 
88     /**
89      * Schedule actions deleted from the schedule.
90      */
WithDeletes(BatchScheduleActionDeleteResult && value)91     inline BatchUpdateScheduleResult& WithDeletes(BatchScheduleActionDeleteResult&& value) { SetDeletes(std::move(value)); return *this;}
92 
93   private:
94 
95     BatchScheduleActionCreateResult m_creates;
96 
97     BatchScheduleActionDeleteResult m_deletes;
98   };
99 
100 } // namespace Model
101 } // namespace MediaLive
102 } // namespace Aws
103