AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
BatchDeleteUniqueIdResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/entityresolution/EntityResolution_EXPORTS.h>
10#include <aws/entityresolution/model/DeleteUniqueIdError.h>
11#include <aws/entityresolution/model/DeleteUniqueIdStatus.h>
12#include <aws/entityresolution/model/DeletedUniqueId.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace EntityResolution {
26namespace Model {
28 public:
29 AWS_ENTITYRESOLUTION_API BatchDeleteUniqueIdResult() = default;
32
34
37 inline DeleteUniqueIdStatus GetStatus() const { return m_status; }
38 inline void SetStatus(DeleteUniqueIdStatus value) {
39 m_statusHasBeenSet = true;
40 m_status = value;
41 }
43 SetStatus(value);
44 return *this;
45 }
47
49
52 inline const Aws::Vector<DeleteUniqueIdError>& GetErrors() const { return m_errors; }
53 template <typename ErrorsT = Aws::Vector<DeleteUniqueIdError>>
54 void SetErrors(ErrorsT&& value) {
55 m_errorsHasBeenSet = true;
56 m_errors = std::forward<ErrorsT>(value);
57 }
58 template <typename ErrorsT = Aws::Vector<DeleteUniqueIdError>>
60 SetErrors(std::forward<ErrorsT>(value));
61 return *this;
62 }
63 template <typename ErrorsT = DeleteUniqueIdError>
65 m_errorsHasBeenSet = true;
66 m_errors.emplace_back(std::forward<ErrorsT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Vector<DeletedUniqueId>& GetDeleted() const { return m_deleted; }
76 template <typename DeletedT = Aws::Vector<DeletedUniqueId>>
77 void SetDeleted(DeletedT&& value) {
78 m_deletedHasBeenSet = true;
79 m_deleted = std::forward<DeletedT>(value);
80 }
81 template <typename DeletedT = Aws::Vector<DeletedUniqueId>>
83 SetDeleted(std::forward<DeletedT>(value));
84 return *this;
85 }
86 template <typename DeletedT = DeletedUniqueId>
88 m_deletedHasBeenSet = true;
89 m_deleted.emplace_back(std::forward<DeletedT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Vector<Aws::String>& GetDisconnectedUniqueIds() const { return m_disconnectedUniqueIds; }
99 template <typename DisconnectedUniqueIdsT = Aws::Vector<Aws::String>>
100 void SetDisconnectedUniqueIds(DisconnectedUniqueIdsT&& value) {
101 m_disconnectedUniqueIdsHasBeenSet = true;
102 m_disconnectedUniqueIds = std::forward<DisconnectedUniqueIdsT>(value);
103 }
104 template <typename DisconnectedUniqueIdsT = Aws::Vector<Aws::String>>
105 BatchDeleteUniqueIdResult& WithDisconnectedUniqueIds(DisconnectedUniqueIdsT&& value) {
106 SetDisconnectedUniqueIds(std::forward<DisconnectedUniqueIdsT>(value));
107 return *this;
108 }
109 template <typename DisconnectedUniqueIdsT = Aws::String>
110 BatchDeleteUniqueIdResult& AddDisconnectedUniqueIds(DisconnectedUniqueIdsT&& value) {
111 m_disconnectedUniqueIdsHasBeenSet = true;
112 m_disconnectedUniqueIds.emplace_back(std::forward<DisconnectedUniqueIdsT>(value));
113 return *this;
114 }
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template <typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) {
122 m_requestIdHasBeenSet = true;
123 m_requestId = std::forward<RequestIdT>(value);
124 }
125 template <typename RequestIdT = Aws::String>
127 SetRequestId(std::forward<RequestIdT>(value));
128 return *this;
129 }
131 private:
133
135
137
138 Aws::Vector<Aws::String> m_disconnectedUniqueIds;
139
140 Aws::String m_requestId;
141 bool m_statusHasBeenSet = false;
142 bool m_errorsHasBeenSet = false;
143 bool m_deletedHasBeenSet = false;
144 bool m_disconnectedUniqueIdsHasBeenSet = false;
145 bool m_requestIdHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace EntityResolution
150} // namespace Aws
BatchDeleteUniqueIdResult & WithStatus(DeleteUniqueIdStatus value)
BatchDeleteUniqueIdResult & AddErrors(ErrorsT &&value)
AWS_ENTITYRESOLUTION_API BatchDeleteUniqueIdResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ENTITYRESOLUTION_API BatchDeleteUniqueIdResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchDeleteUniqueIdResult & AddDeleted(DeletedT &&value)
const Aws::Vector< Aws::String > & GetDisconnectedUniqueIds() const
AWS_ENTITYRESOLUTION_API BatchDeleteUniqueIdResult()=default
const Aws::Vector< DeletedUniqueId > & GetDeleted() const
BatchDeleteUniqueIdResult & WithDeleted(DeletedT &&value)
const Aws::Vector< DeleteUniqueIdError > & GetErrors() const
BatchDeleteUniqueIdResult & WithRequestId(RequestIdT &&value)
BatchDeleteUniqueIdResult & WithErrors(ErrorsT &&value)
BatchDeleteUniqueIdResult & AddDisconnectedUniqueIds(DisconnectedUniqueIdsT &&value)
BatchDeleteUniqueIdResult & WithDisconnectedUniqueIds(DisconnectedUniqueIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue