AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchStopResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/medialive/model/BatchFailedResultModel.h>
11#include <aws/medialive/model/BatchSuccessfulResultModel.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace MediaLive
27{
28namespace Model
29{
36 {
37 public:
38 AWS_MEDIALIVE_API BatchStopResult();
41
42
44
47 inline const Aws::Vector<BatchFailedResultModel>& GetFailed() const{ return m_failed; }
48 inline void SetFailed(const Aws::Vector<BatchFailedResultModel>& value) { m_failed = value; }
49 inline void SetFailed(Aws::Vector<BatchFailedResultModel>&& value) { m_failed = std::move(value); }
50 inline BatchStopResult& WithFailed(const Aws::Vector<BatchFailedResultModel>& value) { SetFailed(value); return *this;}
51 inline BatchStopResult& WithFailed(Aws::Vector<BatchFailedResultModel>&& value) { SetFailed(std::move(value)); return *this;}
52 inline BatchStopResult& AddFailed(const BatchFailedResultModel& value) { m_failed.push_back(value); return *this; }
53 inline BatchStopResult& AddFailed(BatchFailedResultModel&& value) { m_failed.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::Vector<BatchSuccessfulResultModel>& GetSuccessful() const{ return m_successful; }
61 inline void SetSuccessful(const Aws::Vector<BatchSuccessfulResultModel>& value) { m_successful = value; }
62 inline void SetSuccessful(Aws::Vector<BatchSuccessfulResultModel>&& value) { m_successful = std::move(value); }
64 inline BatchStopResult& WithSuccessful(Aws::Vector<BatchSuccessfulResultModel>&& value) { SetSuccessful(std::move(value)); return *this;}
65 inline BatchStopResult& AddSuccessful(const BatchSuccessfulResultModel& value) { m_successful.push_back(value); return *this; }
66 inline BatchStopResult& AddSuccessful(BatchSuccessfulResultModel&& value) { m_successful.push_back(std::move(value)); return *this; }
68
70
71 inline const Aws::String& GetRequestId() const{ return m_requestId; }
72 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
73 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
74 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
75 inline BatchStopResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
76 inline BatchStopResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
77 inline BatchStopResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
79 private:
80
82
84
85 Aws::String m_requestId;
86 };
87
88} // namespace Model
89} // namespace MediaLive
90} // namespace Aws
BatchStopResult & WithFailed(const Aws::Vector< BatchFailedResultModel > &value)
BatchStopResult & WithRequestId(const Aws::String &value)
void SetSuccessful(Aws::Vector< BatchSuccessfulResultModel > &&value)
BatchStopResult & WithSuccessful(Aws::Vector< BatchSuccessfulResultModel > &&value)
const Aws::String & GetRequestId() const
BatchStopResult & AddSuccessful(BatchSuccessfulResultModel &&value)
BatchStopResult & WithSuccessful(const Aws::Vector< BatchSuccessfulResultModel > &value)
const Aws::Vector< BatchFailedResultModel > & GetFailed() const
BatchStopResult & AddFailed(const BatchFailedResultModel &value)
void SetRequestId(Aws::String &&value)
void SetFailed(Aws::Vector< BatchFailedResultModel > &&value)
AWS_MEDIALIVE_API BatchStopResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIALIVE_API BatchStopResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
BatchStopResult & WithRequestId(const char *value)
BatchStopResult & AddFailed(BatchFailedResultModel &&value)
const Aws::Vector< BatchSuccessfulResultModel > & GetSuccessful() const
BatchStopResult & WithRequestId(Aws::String &&value)
BatchStopResult & WithFailed(Aws::Vector< BatchFailedResultModel > &&value)
void SetSuccessful(const Aws::Vector< BatchSuccessfulResultModel > &value)
BatchStopResult & AddSuccessful(const BatchSuccessfulResultModel &value)
void SetFailed(const Aws::Vector< BatchFailedResultModel > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue