AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
FailedRecord.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/entityresolution/EntityResolution_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EntityResolution {
20namespace Model {
21
28 public:
29 AWS_ENTITYRESOLUTION_API FailedRecord() = default;
30 AWS_ENTITYRESOLUTION_API FailedRecord(Aws::Utils::Json::JsonView jsonValue);
31 AWS_ENTITYRESOLUTION_API FailedRecord& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetInputSourceARN() const { return m_inputSourceARN; }
39 inline bool InputSourceARNHasBeenSet() const { return m_inputSourceARNHasBeenSet; }
40 template <typename InputSourceARNT = Aws::String>
41 void SetInputSourceARN(InputSourceARNT&& value) {
42 m_inputSourceARNHasBeenSet = true;
43 m_inputSourceARN = std::forward<InputSourceARNT>(value);
44 }
45 template <typename InputSourceARNT = Aws::String>
46 FailedRecord& WithInputSourceARN(InputSourceARNT&& value) {
47 SetInputSourceARN(std::forward<InputSourceARNT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetUniqueId() const { return m_uniqueId; }
57 inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; }
58 template <typename UniqueIdT = Aws::String>
59 void SetUniqueId(UniqueIdT&& value) {
60 m_uniqueIdHasBeenSet = true;
61 m_uniqueId = std::forward<UniqueIdT>(value);
62 }
63 template <typename UniqueIdT = Aws::String>
64 FailedRecord& WithUniqueId(UniqueIdT&& value) {
65 SetUniqueId(std::forward<UniqueIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
75 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
76 template <typename ErrorMessageT = Aws::String>
77 void SetErrorMessage(ErrorMessageT&& value) {
78 m_errorMessageHasBeenSet = true;
79 m_errorMessage = std::forward<ErrorMessageT>(value);
80 }
81 template <typename ErrorMessageT = Aws::String>
82 FailedRecord& WithErrorMessage(ErrorMessageT&& value) {
83 SetErrorMessage(std::forward<ErrorMessageT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_inputSourceARN;
89
90 Aws::String m_uniqueId;
91
92 Aws::String m_errorMessage;
93 bool m_inputSourceARNHasBeenSet = false;
94 bool m_uniqueIdHasBeenSet = false;
95 bool m_errorMessageHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace EntityResolution
100} // namespace Aws
FailedRecord & WithUniqueId(UniqueIdT &&value)
AWS_ENTITYRESOLUTION_API FailedRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
FailedRecord & WithErrorMessage(ErrorMessageT &&value)
const Aws::String & GetUniqueId() const
void SetErrorMessage(ErrorMessageT &&value)
const Aws::String & GetErrorMessage() const
void SetInputSourceARN(InputSourceARNT &&value)
AWS_ENTITYRESOLUTION_API FailedRecord()=default
const Aws::String & GetInputSourceARN() const
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENTITYRESOLUTION_API FailedRecord(Aws::Utils::Json::JsonView jsonValue)
FailedRecord & WithInputSourceARN(InputSourceARNT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue