AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
BatchGetBuildBatchesResult.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/BuildBatch.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 CodeBuild {
24namespace Model {
26 public:
27 AWS_CODEBUILD_API BatchGetBuildBatchesResult() = default;
30
32
36 inline const Aws::Vector<BuildBatch>& GetBuildBatches() const { return m_buildBatches; }
37 template <typename BuildBatchesT = Aws::Vector<BuildBatch>>
38 void SetBuildBatches(BuildBatchesT&& value) {
39 m_buildBatchesHasBeenSet = true;
40 m_buildBatches = std::forward<BuildBatchesT>(value);
41 }
42 template <typename BuildBatchesT = Aws::Vector<BuildBatch>>
44 SetBuildBatches(std::forward<BuildBatchesT>(value));
45 return *this;
46 }
47 template <typename BuildBatchesT = BuildBatch>
49 m_buildBatchesHasBeenSet = true;
50 m_buildBatches.emplace_back(std::forward<BuildBatchesT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<Aws::String>& GetBuildBatchesNotFound() const { return m_buildBatchesNotFound; }
61 template <typename BuildBatchesNotFoundT = Aws::Vector<Aws::String>>
62 void SetBuildBatchesNotFound(BuildBatchesNotFoundT&& value) {
63 m_buildBatchesNotFoundHasBeenSet = true;
64 m_buildBatchesNotFound = std::forward<BuildBatchesNotFoundT>(value);
65 }
66 template <typename BuildBatchesNotFoundT = Aws::Vector<Aws::String>>
67 BatchGetBuildBatchesResult& WithBuildBatchesNotFound(BuildBatchesNotFoundT&& value) {
68 SetBuildBatchesNotFound(std::forward<BuildBatchesNotFoundT>(value));
69 return *this;
70 }
71 template <typename BuildBatchesNotFoundT = Aws::String>
72 BatchGetBuildBatchesResult& AddBuildBatchesNotFound(BuildBatchesNotFoundT&& value) {
73 m_buildBatchesNotFoundHasBeenSet = true;
74 m_buildBatchesNotFound.emplace_back(std::forward<BuildBatchesNotFoundT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::Vector<BuildBatch> m_buildBatches;
95
96 Aws::Vector<Aws::String> m_buildBatchesNotFound;
97
98 Aws::String m_requestId;
99 bool m_buildBatchesHasBeenSet = false;
100 bool m_buildBatchesNotFoundHasBeenSet = false;
101 bool m_requestIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace CodeBuild
106} // namespace Aws
const Aws::Vector< Aws::String > & GetBuildBatchesNotFound() const
AWS_CODEBUILD_API BatchGetBuildBatchesResult()=default
BatchGetBuildBatchesResult & WithBuildBatchesNotFound(BuildBatchesNotFoundT &&value)
BatchGetBuildBatchesResult & AddBuildBatchesNotFound(BuildBatchesNotFoundT &&value)
AWS_CODEBUILD_API BatchGetBuildBatchesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< BuildBatch > & GetBuildBatches() const
BatchGetBuildBatchesResult & WithRequestId(RequestIdT &&value)
AWS_CODEBUILD_API BatchGetBuildBatchesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetBuildBatchesResult & AddBuildBatches(BuildBatchesT &&value)
BatchGetBuildBatchesResult & WithBuildBatches(BuildBatchesT &&value)
void SetBuildBatchesNotFound(BuildBatchesNotFoundT &&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