AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchGetBuildBatchesResult.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codebuild/model/BuildBatch.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 CodeBuild
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CODEBUILD_API BatchGetBuildBatchesResult() = default;
35
36
38
42 inline const Aws::Vector<BuildBatch>& GetBuildBatches() const { return m_buildBatches; }
43 template<typename BuildBatchesT = Aws::Vector<BuildBatch>>
44 void SetBuildBatches(BuildBatchesT&& value) { m_buildBatchesHasBeenSet = true; m_buildBatches = std::forward<BuildBatchesT>(value); }
45 template<typename BuildBatchesT = Aws::Vector<BuildBatch>>
46 BatchGetBuildBatchesResult& WithBuildBatches(BuildBatchesT&& value) { SetBuildBatches(std::forward<BuildBatchesT>(value)); return *this;}
47 template<typename BuildBatchesT = BuildBatch>
48 BatchGetBuildBatchesResult& AddBuildBatches(BuildBatchesT&& value) { m_buildBatchesHasBeenSet = true; m_buildBatches.emplace_back(std::forward<BuildBatchesT>(value)); return *this; }
50
52
56 inline const Aws::Vector<Aws::String>& GetBuildBatchesNotFound() const { return m_buildBatchesNotFound; }
57 template<typename BuildBatchesNotFoundT = Aws::Vector<Aws::String>>
58 void SetBuildBatchesNotFound(BuildBatchesNotFoundT&& value) { m_buildBatchesNotFoundHasBeenSet = true; m_buildBatchesNotFound = std::forward<BuildBatchesNotFoundT>(value); }
59 template<typename BuildBatchesNotFoundT = Aws::Vector<Aws::String>>
60 BatchGetBuildBatchesResult& WithBuildBatchesNotFound(BuildBatchesNotFoundT&& value) { SetBuildBatchesNotFound(std::forward<BuildBatchesNotFoundT>(value)); return *this;}
61 template<typename BuildBatchesNotFoundT = Aws::String>
62 BatchGetBuildBatchesResult& AddBuildBatchesNotFound(BuildBatchesNotFoundT&& value) { m_buildBatchesNotFoundHasBeenSet = true; m_buildBatchesNotFound.emplace_back(std::forward<BuildBatchesNotFoundT>(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 BatchGetBuildBatchesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
73 private:
74
75 Aws::Vector<BuildBatch> m_buildBatches;
76 bool m_buildBatchesHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_buildBatchesNotFound;
79 bool m_buildBatchesNotFoundHasBeenSet = false;
80
81 Aws::String m_requestId;
82 bool m_requestIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace CodeBuild
87} // 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