AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetFindingsResult.h
1
6#pragma once
7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeguru-security/model/BatchGetFindingsError.h>
11#include <aws/codeguru-security/model/Finding.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 CodeGuruSecurity
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CODEGURUSECURITY_API BatchGetFindingsResult();
36
37
39
45 inline const Aws::Vector<BatchGetFindingsError>& GetFailedFindings() const{ return m_failedFindings; }
46 inline void SetFailedFindings(const Aws::Vector<BatchGetFindingsError>& value) { m_failedFindings = value; }
47 inline void SetFailedFindings(Aws::Vector<BatchGetFindingsError>&& value) { m_failedFindings = std::move(value); }
50 inline BatchGetFindingsResult& AddFailedFindings(const BatchGetFindingsError& value) { m_failedFindings.push_back(value); return *this; }
51 inline BatchGetFindingsResult& AddFailedFindings(BatchGetFindingsError&& value) { m_failedFindings.push_back(std::move(value)); return *this; }
53
55
58 inline const Aws::Vector<Finding>& GetFindings() const{ return m_findings; }
59 inline void SetFindings(const Aws::Vector<Finding>& value) { m_findings = value; }
60 inline void SetFindings(Aws::Vector<Finding>&& value) { m_findings = std::move(value); }
61 inline BatchGetFindingsResult& WithFindings(const Aws::Vector<Finding>& value) { SetFindings(value); return *this;}
62 inline BatchGetFindingsResult& WithFindings(Aws::Vector<Finding>&& value) { SetFindings(std::move(value)); return *this;}
63 inline BatchGetFindingsResult& AddFindings(const Finding& value) { m_findings.push_back(value); return *this; }
64 inline BatchGetFindingsResult& AddFindings(Finding&& value) { m_findings.push_back(std::move(value)); return *this; }
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline BatchGetFindingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline BatchGetFindingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline BatchGetFindingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
80
81 Aws::Vector<Finding> m_findings;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace CodeGuruSecurity
88} // namespace Aws
void SetFailedFindings(Aws::Vector< BatchGetFindingsError > &&value)
BatchGetFindingsResult & WithRequestId(const Aws::String &value)
void SetFailedFindings(const Aws::Vector< BatchGetFindingsError > &value)
BatchGetFindingsResult & AddFindings(Finding &&value)
BatchGetFindingsResult & WithRequestId(const char *value)
BatchGetFindingsResult & WithFailedFindings(Aws::Vector< BatchGetFindingsError > &&value)
AWS_CODEGURUSECURITY_API BatchGetFindingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetFindingsResult & WithFailedFindings(const Aws::Vector< BatchGetFindingsError > &value)
BatchGetFindingsResult & AddFindings(const Finding &value)
const Aws::Vector< BatchGetFindingsError > & GetFailedFindings() const
BatchGetFindingsResult & WithFindings(Aws::Vector< Finding > &&value)
AWS_CODEGURUSECURITY_API BatchGetFindingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetFindingsResult & AddFailedFindings(const BatchGetFindingsError &value)
void SetFindings(const Aws::Vector< Finding > &value)
BatchGetFindingsResult & WithFindings(const Aws::Vector< Finding > &value)
BatchGetFindingsResult & AddFailedFindings(BatchGetFindingsError &&value)
BatchGetFindingsResult & WithRequestId(Aws::String &&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