AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DeleteUniqueIdError.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/entityresolution/EntityResolution_EXPORTS.h>
9#include <aws/entityresolution/model/DeleteUniqueIdErrorType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EntityResolution {
21namespace Model {
22
30 public:
31 AWS_ENTITYRESOLUTION_API DeleteUniqueIdError() = default;
32 AWS_ENTITYRESOLUTION_API DeleteUniqueIdError(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ENTITYRESOLUTION_API DeleteUniqueIdError& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetUniqueId() const { return m_uniqueId; }
41 inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; }
42 template <typename UniqueIdT = Aws::String>
43 void SetUniqueId(UniqueIdT&& value) {
44 m_uniqueIdHasBeenSet = true;
45 m_uniqueId = std::forward<UniqueIdT>(value);
46 }
47 template <typename UniqueIdT = Aws::String>
48 DeleteUniqueIdError& WithUniqueId(UniqueIdT&& value) {
49 SetUniqueId(std::forward<UniqueIdT>(value));
50 return *this;
51 }
53
55
62 inline DeleteUniqueIdErrorType GetErrorType() const { return m_errorType; }
63 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
65 m_errorTypeHasBeenSet = true;
66 m_errorType = value;
67 }
69 SetErrorType(value);
70 return *this;
71 }
73 private:
74 Aws::String m_uniqueId;
75
77 bool m_uniqueIdHasBeenSet = false;
78 bool m_errorTypeHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace EntityResolution
83} // 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