AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetJobEntityResult.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/model/JobEntity.h>
11#include <aws/deadline/model/GetJobEntityError.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 deadline
27{
28namespace Model
29{
31 {
32 public:
33 AWS_DEADLINE_API BatchGetJobEntityResult();
36
37
39
42 inline const Aws::Vector<JobEntity>& GetEntities() const{ return m_entities; }
43 inline void SetEntities(const Aws::Vector<JobEntity>& value) { m_entities = value; }
44 inline void SetEntities(Aws::Vector<JobEntity>&& value) { m_entities = std::move(value); }
45 inline BatchGetJobEntityResult& WithEntities(const Aws::Vector<JobEntity>& value) { SetEntities(value); return *this;}
46 inline BatchGetJobEntityResult& WithEntities(Aws::Vector<JobEntity>&& value) { SetEntities(std::move(value)); return *this;}
47 inline BatchGetJobEntityResult& AddEntities(const JobEntity& value) { m_entities.push_back(value); return *this; }
48 inline BatchGetJobEntityResult& AddEntities(JobEntity&& value) { m_entities.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<GetJobEntityError>& GetErrors() const{ return m_errors; }
56 inline void SetErrors(const Aws::Vector<GetJobEntityError>& value) { m_errors = value; }
57 inline void SetErrors(Aws::Vector<GetJobEntityError>&& value) { m_errors = std::move(value); }
58 inline BatchGetJobEntityResult& WithErrors(const Aws::Vector<GetJobEntityError>& value) { SetErrors(value); return *this;}
59 inline BatchGetJobEntityResult& WithErrors(Aws::Vector<GetJobEntityError>&& value) { SetErrors(std::move(value)); return *this;}
60 inline BatchGetJobEntityResult& AddErrors(const GetJobEntityError& value) { m_errors.push_back(value); return *this; }
61 inline BatchGetJobEntityResult& AddErrors(GetJobEntityError&& value) { m_errors.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline BatchGetJobEntityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline BatchGetJobEntityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline BatchGetJobEntityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::Vector<JobEntity> m_entities;
77
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace deadline
85} // namespace Aws
BatchGetJobEntityResult & WithEntities(const Aws::Vector< JobEntity > &value)
AWS_DEADLINE_API BatchGetJobEntityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< JobEntity > & GetEntities() const
BatchGetJobEntityResult & AddEntities(const JobEntity &value)
BatchGetJobEntityResult & WithEntities(Aws::Vector< JobEntity > &&value)
BatchGetJobEntityResult & WithErrors(Aws::Vector< GetJobEntityError > &&value)
BatchGetJobEntityResult & WithRequestId(const char *value)
void SetEntities(Aws::Vector< JobEntity > &&value)
BatchGetJobEntityResult & WithErrors(const Aws::Vector< GetJobEntityError > &value)
BatchGetJobEntityResult & AddEntities(JobEntity &&value)
BatchGetJobEntityResult & WithRequestId(Aws::String &&value)
void SetEntities(const Aws::Vector< JobEntity > &value)
BatchGetJobEntityResult & WithRequestId(const Aws::String &value)
void SetErrors(Aws::Vector< GetJobEntityError > &&value)
BatchGetJobEntityResult & AddErrors(GetJobEntityError &&value)
void SetErrors(const Aws::Vector< GetJobEntityError > &value)
const Aws::Vector< GetJobEntityError > & GetErrors() const
AWS_DEADLINE_API BatchGetJobEntityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetJobEntityResult & AddErrors(const GetJobEntityError &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