AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchGetReportsResult.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/Report.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 BatchGetReportsResult() = default;
35
36
38
42 inline const Aws::Vector<Report>& GetReports() const { return m_reports; }
43 template<typename ReportsT = Aws::Vector<Report>>
44 void SetReports(ReportsT&& value) { m_reportsHasBeenSet = true; m_reports = std::forward<ReportsT>(value); }
45 template<typename ReportsT = Aws::Vector<Report>>
46 BatchGetReportsResult& WithReports(ReportsT&& value) { SetReports(std::forward<ReportsT>(value)); return *this;}
47 template<typename ReportsT = Report>
48 BatchGetReportsResult& AddReports(ReportsT&& value) { m_reportsHasBeenSet = true; m_reports.emplace_back(std::forward<ReportsT>(value)); return *this; }
50
52
56 inline const Aws::Vector<Aws::String>& GetReportsNotFound() const { return m_reportsNotFound; }
57 template<typename ReportsNotFoundT = Aws::Vector<Aws::String>>
58 void SetReportsNotFound(ReportsNotFoundT&& value) { m_reportsNotFoundHasBeenSet = true; m_reportsNotFound = std::forward<ReportsNotFoundT>(value); }
59 template<typename ReportsNotFoundT = Aws::Vector<Aws::String>>
60 BatchGetReportsResult& WithReportsNotFound(ReportsNotFoundT&& value) { SetReportsNotFound(std::forward<ReportsNotFoundT>(value)); return *this;}
61 template<typename ReportsNotFoundT = Aws::String>
62 BatchGetReportsResult& AddReportsNotFound(ReportsNotFoundT&& value) { m_reportsNotFoundHasBeenSet = true; m_reportsNotFound.emplace_back(std::forward<ReportsNotFoundT>(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 BatchGetReportsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
73 private:
74
75 Aws::Vector<Report> m_reports;
76 bool m_reportsHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_reportsNotFound;
79 bool m_reportsNotFoundHasBeenSet = false;
80
81 Aws::String m_requestId;
82 bool m_requestIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace CodeBuild
87} // namespace Aws
AWS_CODEBUILD_API BatchGetReportsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetReportsResult & WithReportsNotFound(ReportsNotFoundT &&value)
const Aws::Vector< Aws::String > & GetReportsNotFound() const
BatchGetReportsResult & WithRequestId(RequestIdT &&value)
BatchGetReportsResult & AddReportsNotFound(ReportsNotFoundT &&value)
AWS_CODEBUILD_API BatchGetReportsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReportsNotFound(ReportsNotFoundT &&value)
AWS_CODEBUILD_API BatchGetReportsResult()=default
const Aws::Vector< Report > & GetReports() const
BatchGetReportsResult & AddReports(ReportsT &&value)
BatchGetReportsResult & WithReports(ReportsT &&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