AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
BatchUpdateScheduleResult.h
1
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 <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MediaLive
26{
27namespace Model
28{
36 {
37 public:
38 AWS_MEDIALIVE_API BatchUpdateScheduleResult() = default;
41
42
44
47 inline const BatchScheduleActionCreateResult& GetCreates() const { return m_creates; }
48 template<typename CreatesT = BatchScheduleActionCreateResult>
49 void SetCreates(CreatesT&& value) { m_createsHasBeenSet = true; m_creates = std::forward<CreatesT>(value); }
50 template<typename CreatesT = BatchScheduleActionCreateResult>
51 BatchUpdateScheduleResult& WithCreates(CreatesT&& value) { SetCreates(std::forward<CreatesT>(value)); return *this;}
53
55
58 inline const BatchScheduleActionDeleteResult& GetDeletes() const { return m_deletes; }
59 template<typename DeletesT = BatchScheduleActionDeleteResult>
60 void SetDeletes(DeletesT&& value) { m_deletesHasBeenSet = true; m_deletes = std::forward<DeletesT>(value); }
61 template<typename DeletesT = BatchScheduleActionDeleteResult>
62 BatchUpdateScheduleResult& WithDeletes(DeletesT&& value) { SetDeletes(std::forward<DeletesT>(value)); return *this;}
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template<typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
70 template<typename RequestIdT = Aws::String>
71 BatchUpdateScheduleResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
73 private:
74
76 bool m_createsHasBeenSet = false;
77
79 bool m_deletesHasBeenSet = false;
80
81 Aws::String m_requestId;
82 bool m_requestIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace MediaLive
87} // 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