AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetReportGroupsResult.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/ReportGroup.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 BatchGetReportGroupsResult() = default;
35
36
38
42 inline const Aws::Vector<ReportGroup>& GetReportGroups() const { return m_reportGroups; }
43 template<typename ReportGroupsT = Aws::Vector<ReportGroup>>
44 void SetReportGroups(ReportGroupsT&& value) { m_reportGroupsHasBeenSet = true; m_reportGroups = std::forward<ReportGroupsT>(value); }
45 template<typename ReportGroupsT = Aws::Vector<ReportGroup>>
46 BatchGetReportGroupsResult& WithReportGroups(ReportGroupsT&& value) { SetReportGroups(std::forward<ReportGroupsT>(value)); return *this;}
47 template<typename ReportGroupsT = ReportGroup>
48 BatchGetReportGroupsResult& AddReportGroups(ReportGroupsT&& value) { m_reportGroupsHasBeenSet = true; m_reportGroups.emplace_back(std::forward<ReportGroupsT>(value)); return *this; }
50
52
56 inline const Aws::Vector<Aws::String>& GetReportGroupsNotFound() const { return m_reportGroupsNotFound; }
57 template<typename ReportGroupsNotFoundT = Aws::Vector<Aws::String>>
58 void SetReportGroupsNotFound(ReportGroupsNotFoundT&& value) { m_reportGroupsNotFoundHasBeenSet = true; m_reportGroupsNotFound = std::forward<ReportGroupsNotFoundT>(value); }
59 template<typename ReportGroupsNotFoundT = Aws::Vector<Aws::String>>
60 BatchGetReportGroupsResult& WithReportGroupsNotFound(ReportGroupsNotFoundT&& value) { SetReportGroupsNotFound(std::forward<ReportGroupsNotFoundT>(value)); return *this;}
61 template<typename ReportGroupsNotFoundT = Aws::String>
62 BatchGetReportGroupsResult& AddReportGroupsNotFound(ReportGroupsNotFoundT&& value) { m_reportGroupsNotFoundHasBeenSet = true; m_reportGroupsNotFound.emplace_back(std::forward<ReportGroupsNotFoundT>(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 BatchGetReportGroupsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
73 private:
74
75 Aws::Vector<ReportGroup> m_reportGroups;
76 bool m_reportGroupsHasBeenSet = false;
77
78 Aws::Vector<Aws::String> m_reportGroupsNotFound;
79 bool m_reportGroupsNotFoundHasBeenSet = false;
80
81 Aws::String m_requestId;
82 bool m_requestIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace CodeBuild
87} // namespace Aws
BatchGetReportGroupsResult & AddReportGroupsNotFound(ReportGroupsNotFoundT &&value)
void SetReportGroupsNotFound(ReportGroupsNotFoundT &&value)
BatchGetReportGroupsResult & WithReportGroups(ReportGroupsT &&value)
AWS_CODEBUILD_API BatchGetReportGroupsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetReportGroupsNotFound() const
AWS_CODEBUILD_API BatchGetReportGroupsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetReportGroupsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< ReportGroup > & GetReportGroups() const
BatchGetReportGroupsResult & WithReportGroupsNotFound(ReportGroupsNotFoundT &&value)
BatchGetReportGroupsResult & AddReportGroups(ReportGroupsT &&value)
AWS_CODEBUILD_API BatchGetReportGroupsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue