AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetCustomDataIdentifiersResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/macie2/model/BatchGetCustomDataIdentifierSummary.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 Macie2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MACIE2_API BatchGetCustomDataIdentifiersResult() = default;
35
36
38
42 inline const Aws::Vector<BatchGetCustomDataIdentifierSummary>& GetCustomDataIdentifiers() const { return m_customDataIdentifiers; }
43 template<typename CustomDataIdentifiersT = Aws::Vector<BatchGetCustomDataIdentifierSummary>>
44 void SetCustomDataIdentifiers(CustomDataIdentifiersT&& value) { m_customDataIdentifiersHasBeenSet = true; m_customDataIdentifiers = std::forward<CustomDataIdentifiersT>(value); }
45 template<typename CustomDataIdentifiersT = Aws::Vector<BatchGetCustomDataIdentifierSummary>>
46 BatchGetCustomDataIdentifiersResult& WithCustomDataIdentifiers(CustomDataIdentifiersT&& value) { SetCustomDataIdentifiers(std::forward<CustomDataIdentifiersT>(value)); return *this;}
47 template<typename CustomDataIdentifiersT = BatchGetCustomDataIdentifierSummary>
48 BatchGetCustomDataIdentifiersResult& AddCustomDataIdentifiers(CustomDataIdentifiersT&& value) { m_customDataIdentifiersHasBeenSet = true; m_customDataIdentifiers.emplace_back(std::forward<CustomDataIdentifiersT>(value)); return *this; }
50
52
57 inline const Aws::Vector<Aws::String>& GetNotFoundIdentifierIds() const { return m_notFoundIdentifierIds; }
58 template<typename NotFoundIdentifierIdsT = Aws::Vector<Aws::String>>
59 void SetNotFoundIdentifierIds(NotFoundIdentifierIdsT&& value) { m_notFoundIdentifierIdsHasBeenSet = true; m_notFoundIdentifierIds = std::forward<NotFoundIdentifierIdsT>(value); }
60 template<typename NotFoundIdentifierIdsT = Aws::Vector<Aws::String>>
61 BatchGetCustomDataIdentifiersResult& WithNotFoundIdentifierIds(NotFoundIdentifierIdsT&& value) { SetNotFoundIdentifierIds(std::forward<NotFoundIdentifierIdsT>(value)); return *this;}
62 template<typename NotFoundIdentifierIdsT = Aws::String>
63 BatchGetCustomDataIdentifiersResult& AddNotFoundIdentifierIds(NotFoundIdentifierIdsT&& value) { m_notFoundIdentifierIdsHasBeenSet = true; m_notFoundIdentifierIds.emplace_back(std::forward<NotFoundIdentifierIdsT>(value)); return *this; }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template<typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
71 template<typename RequestIdT = Aws::String>
72 BatchGetCustomDataIdentifiersResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
74 private:
75
77 bool m_customDataIdentifiersHasBeenSet = false;
78
79 Aws::Vector<Aws::String> m_notFoundIdentifierIds;
80 bool m_notFoundIdentifierIdsHasBeenSet = false;
81
82 Aws::String m_requestId;
83 bool m_requestIdHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Macie2
88} // namespace Aws
BatchGetCustomDataIdentifiersResult & WithRequestId(RequestIdT &&value)
AWS_MACIE2_API BatchGetCustomDataIdentifiersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetCustomDataIdentifiersResult & AddCustomDataIdentifiers(CustomDataIdentifiersT &&value)
AWS_MACIE2_API BatchGetCustomDataIdentifiersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetCustomDataIdentifiersResult & WithCustomDataIdentifiers(CustomDataIdentifiersT &&value)
BatchGetCustomDataIdentifiersResult & WithNotFoundIdentifierIds(NotFoundIdentifierIdsT &&value)
BatchGetCustomDataIdentifiersResult & AddNotFoundIdentifierIds(NotFoundIdentifierIdsT &&value)
const Aws::Vector< BatchGetCustomDataIdentifierSummary > & GetCustomDataIdentifiers() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue