AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeExclusionsResult.h
1
6#pragma once
7#include <aws/inspector/Inspector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/inspector/model/Exclusion.h>
11#include <aws/inspector/model/FailedItemDetails.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 Inspector
27{
28namespace Model
29{
31 {
32 public:
33 AWS_INSPECTOR_API DescribeExclusionsResult();
36
37
39
42 inline const Aws::Map<Aws::String, Exclusion>& GetExclusions() const{ return m_exclusions; }
43 inline void SetExclusions(const Aws::Map<Aws::String, Exclusion>& value) { m_exclusions = value; }
44 inline void SetExclusions(Aws::Map<Aws::String, Exclusion>&& value) { m_exclusions = std::move(value); }
47 inline DescribeExclusionsResult& AddExclusions(const Aws::String& key, const Exclusion& value) { m_exclusions.emplace(key, value); return *this; }
48 inline DescribeExclusionsResult& AddExclusions(Aws::String&& key, const Exclusion& value) { m_exclusions.emplace(std::move(key), value); return *this; }
49 inline DescribeExclusionsResult& AddExclusions(const Aws::String& key, Exclusion&& value) { m_exclusions.emplace(key, std::move(value)); return *this; }
50 inline DescribeExclusionsResult& AddExclusions(Aws::String&& key, Exclusion&& value) { m_exclusions.emplace(std::move(key), std::move(value)); return *this; }
51 inline DescribeExclusionsResult& AddExclusions(const char* key, Exclusion&& value) { m_exclusions.emplace(key, std::move(value)); return *this; }
52 inline DescribeExclusionsResult& AddExclusions(const char* key, const Exclusion& value) { m_exclusions.emplace(key, value); return *this; }
54
56
60 inline const Aws::Map<Aws::String, FailedItemDetails>& GetFailedItems() const{ return m_failedItems; }
61 inline void SetFailedItems(const Aws::Map<Aws::String, FailedItemDetails>& value) { m_failedItems = value; }
62 inline void SetFailedItems(Aws::Map<Aws::String, FailedItemDetails>&& value) { m_failedItems = std::move(value); }
65 inline DescribeExclusionsResult& AddFailedItems(const Aws::String& key, const FailedItemDetails& value) { m_failedItems.emplace(key, value); return *this; }
66 inline DescribeExclusionsResult& AddFailedItems(Aws::String&& key, const FailedItemDetails& value) { m_failedItems.emplace(std::move(key), value); return *this; }
67 inline DescribeExclusionsResult& AddFailedItems(const Aws::String& key, FailedItemDetails&& value) { m_failedItems.emplace(key, std::move(value)); return *this; }
68 inline DescribeExclusionsResult& AddFailedItems(Aws::String&& key, FailedItemDetails&& value) { m_failedItems.emplace(std::move(key), std::move(value)); return *this; }
69 inline DescribeExclusionsResult& AddFailedItems(const char* key, FailedItemDetails&& value) { m_failedItems.emplace(key, std::move(value)); return *this; }
70 inline DescribeExclusionsResult& AddFailedItems(const char* key, const FailedItemDetails& value) { m_failedItems.emplace(key, value); return *this; }
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline DescribeExclusionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline DescribeExclusionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline DescribeExclusionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
86
88
89 Aws::String m_requestId;
90 };
91
92} // namespace Model
93} // namespace Inspector
94} // namespace Aws
DescribeExclusionsResult & WithExclusions(const Aws::Map< Aws::String, Exclusion > &value)
const Aws::Map< Aws::String, FailedItemDetails > & GetFailedItems() const
void SetExclusions(const Aws::Map< Aws::String, Exclusion > &value)
DescribeExclusionsResult & AddExclusions(const char *key, const Exclusion &value)
DescribeExclusionsResult & WithRequestId(const char *value)
DescribeExclusionsResult & AddExclusions(Aws::String &&key, const Exclusion &value)
DescribeExclusionsResult & AddExclusions(const Aws::String &key, const Exclusion &value)
DescribeExclusionsResult & AddExclusions(const Aws::String &key, Exclusion &&value)
DescribeExclusionsResult & AddFailedItems(Aws::String &&key, FailedItemDetails &&value)
void SetExclusions(Aws::Map< Aws::String, Exclusion > &&value)
AWS_INSPECTOR_API DescribeExclusionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExclusionsResult & AddExclusions(Aws::String &&key, Exclusion &&value)
DescribeExclusionsResult & AddExclusions(const char *key, Exclusion &&value)
void SetFailedItems(const Aws::Map< Aws::String, FailedItemDetails > &value)
const Aws::Map< Aws::String, Exclusion > & GetExclusions() const
DescribeExclusionsResult & AddFailedItems(const char *key, FailedItemDetails &&value)
AWS_INSPECTOR_API DescribeExclusionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExclusionsResult & AddFailedItems(Aws::String &&key, const FailedItemDetails &value)
DescribeExclusionsResult & AddFailedItems(const char *key, const FailedItemDetails &value)
DescribeExclusionsResult & WithExclusions(Aws::Map< Aws::String, Exclusion > &&value)
DescribeExclusionsResult & AddFailedItems(const Aws::String &key, FailedItemDetails &&value)
void SetFailedItems(Aws::Map< Aws::String, FailedItemDetails > &&value)
DescribeExclusionsResult & WithFailedItems(Aws::Map< Aws::String, FailedItemDetails > &&value)
DescribeExclusionsResult & WithFailedItems(const Aws::Map< Aws::String, FailedItemDetails > &value)
DescribeExclusionsResult & AddFailedItems(const Aws::String &key, const FailedItemDetails &value)
DescribeExclusionsResult & WithRequestId(Aws::String &&value)
DescribeExclusionsResult & WithRequestId(const Aws::String &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
Aws::Utils::Json::JsonValue JsonValue