AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoveAttributesFromFindingsResult.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/FailedItemDetails.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Inspector
26{
27namespace Model
28{
30 {
31 public:
35
36
38
42 inline const Aws::Map<Aws::String, FailedItemDetails>& GetFailedItems() const{ return m_failedItems; }
43 inline void SetFailedItems(const Aws::Map<Aws::String, FailedItemDetails>& value) { m_failedItems = value; }
44 inline void SetFailedItems(Aws::Map<Aws::String, FailedItemDetails>&& value) { m_failedItems = std::move(value); }
47 inline RemoveAttributesFromFindingsResult& AddFailedItems(const Aws::String& key, const FailedItemDetails& value) { m_failedItems.emplace(key, value); return *this; }
48 inline RemoveAttributesFromFindingsResult& AddFailedItems(Aws::String&& key, const FailedItemDetails& value) { m_failedItems.emplace(std::move(key), value); return *this; }
49 inline RemoveAttributesFromFindingsResult& AddFailedItems(const Aws::String& key, FailedItemDetails&& value) { m_failedItems.emplace(key, std::move(value)); return *this; }
50 inline RemoveAttributesFromFindingsResult& AddFailedItems(Aws::String&& key, FailedItemDetails&& value) { m_failedItems.emplace(std::move(key), std::move(value)); return *this; }
51 inline RemoveAttributesFromFindingsResult& AddFailedItems(const char* key, FailedItemDetails&& value) { m_failedItems.emplace(key, std::move(value)); return *this; }
52 inline RemoveAttributesFromFindingsResult& AddFailedItems(const char* key, const FailedItemDetails& value) { m_failedItems.emplace(key, value); return *this; }
54
56
57 inline const Aws::String& GetRequestId() const{ return m_requestId; }
58 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
59 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
60 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
61 inline RemoveAttributesFromFindingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
62 inline RemoveAttributesFromFindingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
63 inline RemoveAttributesFromFindingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
65 private:
66
68
69 Aws::String m_requestId;
70 };
71
72} // namespace Model
73} // namespace Inspector
74} // namespace Aws
RemoveAttributesFromFindingsResult & AddFailedItems(Aws::String &&key, const FailedItemDetails &value)
RemoveAttributesFromFindingsResult & WithRequestId(const Aws::String &value)
RemoveAttributesFromFindingsResult & AddFailedItems(const char *key, const FailedItemDetails &value)
void SetFailedItems(const Aws::Map< Aws::String, FailedItemDetails > &value)
RemoveAttributesFromFindingsResult & AddFailedItems(const Aws::String &key, FailedItemDetails &&value)
RemoveAttributesFromFindingsResult & AddFailedItems(Aws::String &&key, FailedItemDetails &&value)
RemoveAttributesFromFindingsResult & AddFailedItems(const char *key, FailedItemDetails &&value)
RemoveAttributesFromFindingsResult & WithRequestId(const char *value)
const Aws::Map< Aws::String, FailedItemDetails > & GetFailedItems() const
RemoveAttributesFromFindingsResult & WithFailedItems(const Aws::Map< Aws::String, FailedItemDetails > &value)
AWS_INSPECTOR_API RemoveAttributesFromFindingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_INSPECTOR_API RemoveAttributesFromFindingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RemoveAttributesFromFindingsResult & WithRequestId(Aws::String &&value)
RemoveAttributesFromFindingsResult & WithFailedItems(Aws::Map< Aws::String, FailedItemDetails > &&value)
void SetFailedItems(Aws::Map< Aws::String, FailedItemDetails > &&value)
RemoveAttributesFromFindingsResult & AddFailedItems(const Aws::String &key, const 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
Aws::Utils::Json::JsonValue JsonValue