AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchPutPropertyError.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iottwinmaker/model/PropertyValueEntry.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 IoTTwinMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTTWINMAKER_API BatchPutPropertyError() = default;
37 AWS_IOTTWINMAKER_API BatchPutPropertyError(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
47 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
48 template<typename ErrorCodeT = Aws::String>
49 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
50 template<typename ErrorCodeT = Aws::String>
51 BatchPutPropertyError& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
53
55
58 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
59 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
60 template<typename ErrorMessageT = Aws::String>
61 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
62 template<typename ErrorMessageT = Aws::String>
63 BatchPutPropertyError& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
65
67
71 inline const PropertyValueEntry& GetEntry() const { return m_entry; }
72 inline bool EntryHasBeenSet() const { return m_entryHasBeenSet; }
73 template<typename EntryT = PropertyValueEntry>
74 void SetEntry(EntryT&& value) { m_entryHasBeenSet = true; m_entry = std::forward<EntryT>(value); }
75 template<typename EntryT = PropertyValueEntry>
76 BatchPutPropertyError& WithEntry(EntryT&& value) { SetEntry(std::forward<EntryT>(value)); return *this;}
78 private:
79
80 Aws::String m_errorCode;
81 bool m_errorCodeHasBeenSet = false;
82
83 Aws::String m_errorMessage;
84 bool m_errorMessageHasBeenSet = false;
85
86 PropertyValueEntry m_entry;
87 bool m_entryHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoTTwinMaker
92} // namespace Aws
AWS_IOTTWINMAKER_API BatchPutPropertyError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchPutPropertyError & WithErrorMessage(ErrorMessageT &&value)
BatchPutPropertyError & WithEntry(EntryT &&value)
AWS_IOTTWINMAKER_API BatchPutPropertyError()=default
BatchPutPropertyError & WithErrorCode(ErrorCodeT &&value)
AWS_IOTTWINMAKER_API BatchPutPropertyError(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue