AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
BatchUpdateScheduleResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/BatchScheduleActionCreateResult.h>
10#include <aws/medialive/model/BatchScheduleActionDeleteResult.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive {
24namespace Model {
32 public:
33 AWS_MEDIALIVE_API BatchUpdateScheduleResult() = default;
36
38
41 inline const BatchScheduleActionCreateResult& GetCreates() const { return m_creates; }
42 template <typename CreatesT = BatchScheduleActionCreateResult>
43 void SetCreates(CreatesT&& value) {
44 m_createsHasBeenSet = true;
45 m_creates = std::forward<CreatesT>(value);
46 }
47 template <typename CreatesT = BatchScheduleActionCreateResult>
49 SetCreates(std::forward<CreatesT>(value));
50 return *this;
51 }
53
55
58 inline const BatchScheduleActionDeleteResult& GetDeletes() const { return m_deletes; }
59 template <typename DeletesT = BatchScheduleActionDeleteResult>
60 void SetDeletes(DeletesT&& value) {
61 m_deletesHasBeenSet = true;
62 m_deletes = std::forward<DeletesT>(value);
63 }
64 template <typename DeletesT = BatchScheduleActionDeleteResult>
66 SetDeletes(std::forward<DeletesT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 private:
87
89
90 Aws::String m_requestId;
91 bool m_createsHasBeenSet = false;
92 bool m_deletesHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace MediaLive
98} // namespace Aws
BatchUpdateScheduleResult & WithDeletes(DeletesT &&value)
const BatchScheduleActionCreateResult & GetCreates() const
BatchUpdateScheduleResult & WithRequestId(RequestIdT &&value)
AWS_MEDIALIVE_API BatchUpdateScheduleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIALIVE_API BatchUpdateScheduleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIALIVE_API BatchUpdateScheduleResult()=default
const BatchScheduleActionDeleteResult & GetDeletes() const
BatchUpdateScheduleResult & WithCreates(CreatesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue