AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteUniqueIdError.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/entityresolution/model/DeleteUniqueIdErrorType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EntityResolution
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ENTITYRESOLUTION_API DeleteUniqueIdError() = default;
36 AWS_ENTITYRESOLUTION_API DeleteUniqueIdError(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ENTITYRESOLUTION_API DeleteUniqueIdError& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUniqueId() const { return m_uniqueId; }
46 inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; }
47 template<typename UniqueIdT = Aws::String>
48 void SetUniqueId(UniqueIdT&& value) { m_uniqueIdHasBeenSet = true; m_uniqueId = std::forward<UniqueIdT>(value); }
49 template<typename UniqueIdT = Aws::String>
50 DeleteUniqueIdError& WithUniqueId(UniqueIdT&& value) { SetUniqueId(std::forward<UniqueIdT>(value)); return *this;}
52
54
57 inline DeleteUniqueIdErrorType GetErrorType() const { return m_errorType; }
58 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
59 inline void SetErrorType(DeleteUniqueIdErrorType value) { m_errorTypeHasBeenSet = true; m_errorType = value; }
62 private:
63
64 Aws::String m_uniqueId;
65 bool m_uniqueIdHasBeenSet = false;
66
68 bool m_errorTypeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace EntityResolution
73} // namespace Aws
void SetErrorType(DeleteUniqueIdErrorType value)
DeleteUniqueIdError & WithUniqueId(UniqueIdT &&value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENTITYRESOLUTION_API DeleteUniqueIdError & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API DeleteUniqueIdError(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API DeleteUniqueIdError()=default
DeleteUniqueIdError & WithErrorType(DeleteUniqueIdErrorType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue