AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetFindingDetailsResult.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector2/model/FindingDetailsError.h>
11#include <aws/inspector2/model/FindingDetail.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 Inspector2
27{
28namespace Model
29{
31 {
32 public:
33 AWS_INSPECTOR2_API BatchGetFindingDetailsResult();
36
37
39
42 inline const Aws::Vector<FindingDetailsError>& GetErrors() const{ return m_errors; }
43 inline void SetErrors(const Aws::Vector<FindingDetailsError>& value) { m_errors = value; }
44 inline void SetErrors(Aws::Vector<FindingDetailsError>&& value) { m_errors = std::move(value); }
46 inline BatchGetFindingDetailsResult& WithErrors(Aws::Vector<FindingDetailsError>&& value) { SetErrors(std::move(value)); return *this;}
47 inline BatchGetFindingDetailsResult& AddErrors(const FindingDetailsError& value) { m_errors.push_back(value); return *this; }
48 inline BatchGetFindingDetailsResult& AddErrors(FindingDetailsError&& value) { m_errors.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<FindingDetail>& GetFindingDetails() const{ return m_findingDetails; }
56 inline void SetFindingDetails(const Aws::Vector<FindingDetail>& value) { m_findingDetails = value; }
57 inline void SetFindingDetails(Aws::Vector<FindingDetail>&& value) { m_findingDetails = std::move(value); }
60 inline BatchGetFindingDetailsResult& AddFindingDetails(const FindingDetail& value) { m_findingDetails.push_back(value); return *this; }
61 inline BatchGetFindingDetailsResult& AddFindingDetails(FindingDetail&& value) { m_findingDetails.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 BatchGetFindingDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline BatchGetFindingDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline BatchGetFindingDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
77
78 Aws::Vector<FindingDetail> m_findingDetails;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace Inspector2
85} // namespace Aws
BatchGetFindingDetailsResult & WithRequestId(const Aws::String &value)
void SetErrors(Aws::Vector< FindingDetailsError > &&value)
BatchGetFindingDetailsResult & AddFindingDetails(FindingDetail &&value)
void SetFindingDetails(const Aws::Vector< FindingDetail > &value)
const Aws::Vector< FindingDetail > & GetFindingDetails() const
AWS_INSPECTOR2_API BatchGetFindingDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetFindingDetailsResult & WithErrors(Aws::Vector< FindingDetailsError > &&value)
BatchGetFindingDetailsResult & WithFindingDetails(const Aws::Vector< FindingDetail > &value)
BatchGetFindingDetailsResult & WithFindingDetails(Aws::Vector< FindingDetail > &&value)
BatchGetFindingDetailsResult & AddErrors(FindingDetailsError &&value)
BatchGetFindingDetailsResult & WithErrors(const Aws::Vector< FindingDetailsError > &value)
BatchGetFindingDetailsResult & AddFindingDetails(const FindingDetail &value)
void SetErrors(const Aws::Vector< FindingDetailsError > &value)
const Aws::Vector< FindingDetailsError > & GetErrors() const
BatchGetFindingDetailsResult & WithRequestId(Aws::String &&value)
void SetFindingDetails(Aws::Vector< FindingDetail > &&value)
BatchGetFindingDetailsResult & WithRequestId(const char *value)
AWS_INSPECTOR2_API BatchGetFindingDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetFindingDetailsResult & AddErrors(const FindingDetailsError &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