AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAssessmentTemplatesResult.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/AssessmentTemplate.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:
37
38
40
43 inline const Aws::Vector<AssessmentTemplate>& GetAssessmentTemplates() const{ return m_assessmentTemplates; }
44 inline void SetAssessmentTemplates(const Aws::Vector<AssessmentTemplate>& value) { m_assessmentTemplates = value; }
45 inline void SetAssessmentTemplates(Aws::Vector<AssessmentTemplate>&& value) { m_assessmentTemplates = std::move(value); }
48 inline DescribeAssessmentTemplatesResult& AddAssessmentTemplates(const AssessmentTemplate& value) { m_assessmentTemplates.push_back(value); return *this; }
49 inline DescribeAssessmentTemplatesResult& AddAssessmentTemplates(AssessmentTemplate&& value) { m_assessmentTemplates.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 DescribeAssessmentTemplatesResult& AddFailedItems(const Aws::String& key, const FailedItemDetails& value) { m_failedItems.emplace(key, value); return *this; }
63 inline DescribeAssessmentTemplatesResult& AddFailedItems(Aws::String&& key, const FailedItemDetails& value) { m_failedItems.emplace(std::move(key), value); return *this; }
64 inline DescribeAssessmentTemplatesResult& AddFailedItems(const Aws::String& key, FailedItemDetails&& value) { m_failedItems.emplace(key, std::move(value)); return *this; }
65 inline DescribeAssessmentTemplatesResult& AddFailedItems(Aws::String&& key, FailedItemDetails&& value) { m_failedItems.emplace(std::move(key), std::move(value)); return *this; }
66 inline DescribeAssessmentTemplatesResult& AddFailedItems(const char* key, FailedItemDetails&& value) { m_failedItems.emplace(key, std::move(value)); return *this; }
67 inline DescribeAssessmentTemplatesResult& 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 DescribeAssessmentTemplatesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline DescribeAssessmentTemplatesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline DescribeAssessmentTemplatesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::Vector<AssessmentTemplate> m_assessmentTemplates;
83
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace Inspector
91} // namespace Aws
DescribeAssessmentTemplatesResult & WithAssessmentTemplates(const Aws::Vector< AssessmentTemplate > &value)
DescribeAssessmentTemplatesResult & AddFailedItems(const char *key, const FailedItemDetails &value)
DescribeAssessmentTemplatesResult & WithRequestId(const char *value)
DescribeAssessmentTemplatesResult & AddFailedItems(Aws::String &&key, FailedItemDetails &&value)
DescribeAssessmentTemplatesResult & AddAssessmentTemplates(AssessmentTemplate &&value)
void SetFailedItems(const Aws::Map< Aws::String, FailedItemDetails > &value)
DescribeAssessmentTemplatesResult & WithRequestId(const Aws::String &value)
DescribeAssessmentTemplatesResult & WithFailedItems(const Aws::Map< Aws::String, FailedItemDetails > &value)
void SetFailedItems(Aws::Map< Aws::String, FailedItemDetails > &&value)
DescribeAssessmentTemplatesResult & AddFailedItems(Aws::String &&key, const FailedItemDetails &value)
AWS_INSPECTOR_API DescribeAssessmentTemplatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< AssessmentTemplate > & GetAssessmentTemplates() const
DescribeAssessmentTemplatesResult & AddFailedItems(const Aws::String &key, FailedItemDetails &&value)
DescribeAssessmentTemplatesResult & WithRequestId(Aws::String &&value)
const Aws::Map< Aws::String, FailedItemDetails > & GetFailedItems() const
DescribeAssessmentTemplatesResult & AddFailedItems(const char *key, FailedItemDetails &&value)
DescribeAssessmentTemplatesResult & AddFailedItems(const Aws::String &key, const FailedItemDetails &value)
DescribeAssessmentTemplatesResult & WithFailedItems(Aws::Map< Aws::String, FailedItemDetails > &&value)
void SetAssessmentTemplates(const Aws::Vector< AssessmentTemplate > &value)
DescribeAssessmentTemplatesResult & WithAssessmentTemplates(Aws::Vector< AssessmentTemplate > &&value)
DescribeAssessmentTemplatesResult & AddAssessmentTemplates(const AssessmentTemplate &value)
AWS_INSPECTOR_API DescribeAssessmentTemplatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAssessmentTemplates(Aws::Vector< AssessmentTemplate > &&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