AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
BatchUpdateScheduleResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10#include <aws/medialive/model/BatchScheduleActionCreateResult.h>
11#include <aws/medialive/model/BatchScheduleActionDeleteResult.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive {
25namespace Model {
33 public:
34 AWS_MEDIALIVE_API BatchUpdateScheduleResult() = default;
37
39
42 inline const BatchScheduleActionCreateResult& GetCreates() const { return m_creates; }
43 template <typename CreatesT = BatchScheduleActionCreateResult>
44 void SetCreates(CreatesT&& value) {
45 m_createsHasBeenSet = true;
46 m_creates = std::forward<CreatesT>(value);
47 }
48 template <typename CreatesT = BatchScheduleActionCreateResult>
50 SetCreates(std::forward<CreatesT>(value));
51 return *this;
52 }
54
56
59 inline const BatchScheduleActionDeleteResult& GetDeletes() const { return m_deletes; }
60 template <typename DeletesT = BatchScheduleActionDeleteResult>
61 void SetDeletes(DeletesT&& value) {
62 m_deletesHasBeenSet = true;
63 m_deletes = std::forward<DeletesT>(value);
64 }
65 template <typename DeletesT = BatchScheduleActionDeleteResult>
67 SetDeletes(std::forward<DeletesT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template <typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) {
77 m_requestIdHasBeenSet = true;
78 m_requestId = std::forward<RequestIdT>(value);
79 }
80 template <typename RequestIdT = Aws::String>
82 SetRequestId(std::forward<RequestIdT>(value));
83 return *this;
84 }
86 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
87
88 private:
90
92
93 Aws::String m_requestId;
94 Aws::Http::HttpResponseCode m_HttpResponseCode;
95 bool m_createsHasBeenSet = false;
96 bool m_deletesHasBeenSet = false;
97 bool m_requestIdHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace MediaLive
102} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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