AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FailedRecord.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EntityResolution
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_ENTITYRESOLUTION_API FailedRecord() = default;
35 AWS_ENTITYRESOLUTION_API FailedRecord(Aws::Utils::Json::JsonView jsonValue);
36 AWS_ENTITYRESOLUTION_API FailedRecord& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetInputSourceARN() const { return m_inputSourceARN; }
45 inline bool InputSourceARNHasBeenSet() const { return m_inputSourceARNHasBeenSet; }
46 template<typename InputSourceARNT = Aws::String>
47 void SetInputSourceARN(InputSourceARNT&& value) { m_inputSourceARNHasBeenSet = true; m_inputSourceARN = std::forward<InputSourceARNT>(value); }
48 template<typename InputSourceARNT = Aws::String>
49 FailedRecord& WithInputSourceARN(InputSourceARNT&& value) { SetInputSourceARN(std::forward<InputSourceARNT>(value)); return *this;}
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) { m_uniqueIdHasBeenSet = true; m_uniqueId = std::forward<UniqueIdT>(value); }
60 template<typename UniqueIdT = Aws::String>
61 FailedRecord& WithUniqueId(UniqueIdT&& value) { SetUniqueId(std::forward<UniqueIdT>(value)); return *this;}
63
65
68 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
69 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
70 template<typename ErrorMessageT = Aws::String>
71 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
72 template<typename ErrorMessageT = Aws::String>
73 FailedRecord& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
75 private:
76
77 Aws::String m_inputSourceARN;
78 bool m_inputSourceARNHasBeenSet = false;
79
80 Aws::String m_uniqueId;
81 bool m_uniqueIdHasBeenSet = false;
82
83 Aws::String m_errorMessage;
84 bool m_errorMessageHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace EntityResolution
89} // 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