AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAssessmentRunsResult.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/inspector/model/AssessmentRun.h>
12#include <aws/inspector/model/FailedItemDetails.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Inspector
28{
29namespace Model
30{
32 {
33 public:
34 AWS_INSPECTOR_API DescribeAssessmentRunsResult();
37
38
40
43 inline const Aws::Vector<AssessmentRun>& GetAssessmentRuns() const{ return m_assessmentRuns; }
44 inline void SetAssessmentRuns(const Aws::Vector<AssessmentRun>& value) { m_assessmentRuns = value; }
45 inline void SetAssessmentRuns(Aws::Vector<AssessmentRun>&& value) { m_assessmentRuns = std::move(value); }
48 inline DescribeAssessmentRunsResult& AddAssessmentRuns(const AssessmentRun& value) { m_assessmentRuns.push_back(value); return *this; }
49 inline DescribeAssessmentRunsResult& AddAssessmentRuns(AssessmentRun&& value) { m_assessmentRuns.push_back(std::move(value)); return *this; }
51
53
57 inline const Aws::Map<Aws::String, FailedItemDetails>& GetFailedItems() const{ return m_failedItems; }
58 inline void SetFailedItems(const Aws::Map<Aws::String, FailedItemDetails>& value) { m_failedItems = value; }
59 inline void SetFailedItems(Aws::Map<Aws::String, FailedItemDetails>&& value) { m_failedItems = std::move(value); }
62 inline DescribeAssessmentRunsResult& AddFailedItems(const Aws::String& key, const FailedItemDetails& value) { m_failedItems.emplace(key, value); return *this; }
63 inline DescribeAssessmentRunsResult& AddFailedItems(Aws::String&& key, const FailedItemDetails& value) { m_failedItems.emplace(std::move(key), value); return *this; }
64 inline DescribeAssessmentRunsResult& AddFailedItems(const Aws::String& key, FailedItemDetails&& value) { m_failedItems.emplace(key, std::move(value)); return *this; }
65 inline DescribeAssessmentRunsResult& AddFailedItems(Aws::String&& key, FailedItemDetails&& value) { m_failedItems.emplace(std::move(key), std::move(value)); return *this; }
66 inline DescribeAssessmentRunsResult& AddFailedItems(const char* key, FailedItemDetails&& value) { m_failedItems.emplace(key, std::move(value)); return *this; }
67 inline DescribeAssessmentRunsResult& AddFailedItems(const char* key, const FailedItemDetails& value) { m_failedItems.emplace(key, value); return *this; }
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline DescribeAssessmentRunsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline DescribeAssessmentRunsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline DescribeAssessmentRunsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::Vector<AssessmentRun> m_assessmentRuns;
83
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace Inspector
91} // namespace Aws
const Aws::Vector< AssessmentRun > & GetAssessmentRuns() const
AWS_INSPECTOR_API DescribeAssessmentRunsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_INSPECTOR_API DescribeAssessmentRunsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAssessmentRunsResult & WithRequestId(const char *value)
void SetFailedItems(Aws::Map< Aws::String, FailedItemDetails > &&value)
DescribeAssessmentRunsResult & WithFailedItems(Aws::Map< Aws::String, FailedItemDetails > &&value)
DescribeAssessmentRunsResult & AddAssessmentRuns(AssessmentRun &&value)
DescribeAssessmentRunsResult & AddFailedItems(const char *key, FailedItemDetails &&value)
DescribeAssessmentRunsResult & WithRequestId(Aws::String &&value)
void SetAssessmentRuns(Aws::Vector< AssessmentRun > &&value)
void SetAssessmentRuns(const Aws::Vector< AssessmentRun > &value)
DescribeAssessmentRunsResult & WithRequestId(const Aws::String &value)
DescribeAssessmentRunsResult & AddFailedItems(const char *key, const FailedItemDetails &value)
DescribeAssessmentRunsResult & AddFailedItems(const Aws::String &key, const FailedItemDetails &value)
DescribeAssessmentRunsResult & WithFailedItems(const Aws::Map< Aws::String, FailedItemDetails > &value)
const Aws::Map< Aws::String, FailedItemDetails > & GetFailedItems() const
DescribeAssessmentRunsResult & AddFailedItems(Aws::String &&key, FailedItemDetails &&value)
DescribeAssessmentRunsResult & AddFailedItems(Aws::String &&key, const FailedItemDetails &value)
DescribeAssessmentRunsResult & WithAssessmentRuns(Aws::Vector< AssessmentRun > &&value)
DescribeAssessmentRunsResult & WithAssessmentRuns(const Aws::Vector< AssessmentRun > &value)
void SetFailedItems(const Aws::Map< Aws::String, FailedItemDetails > &value)
DescribeAssessmentRunsResult & AddAssessmentRuns(const AssessmentRun &value)
DescribeAssessmentRunsResult & AddFailedItems(const Aws::String &key, FailedItemDetails &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue