AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
49 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
50 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
51 inline BatchPutPropertyError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
52 inline BatchPutPropertyError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
53 inline BatchPutPropertyError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
55
57
60 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
61 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
62 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
63 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
64 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
65 inline BatchPutPropertyError& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
66 inline BatchPutPropertyError& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
67 inline BatchPutPropertyError& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
69
71
75 inline const PropertyValueEntry& GetEntry() const{ return m_entry; }
76 inline bool EntryHasBeenSet() const { return m_entryHasBeenSet; }
77 inline void SetEntry(const PropertyValueEntry& value) { m_entryHasBeenSet = true; m_entry = value; }
78 inline void SetEntry(PropertyValueEntry&& value) { m_entryHasBeenSet = true; m_entry = std::move(value); }
79 inline BatchPutPropertyError& WithEntry(const PropertyValueEntry& value) { SetEntry(value); return *this;}
80 inline BatchPutPropertyError& WithEntry(PropertyValueEntry&& value) { SetEntry(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_errorCode;
85 bool m_errorCodeHasBeenSet = false;
86
87 Aws::String m_errorMessage;
88 bool m_errorMessageHasBeenSet = false;
89
90 PropertyValueEntry m_entry;
91 bool m_entryHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoTTwinMaker
96} // namespace Aws
BatchPutPropertyError & WithErrorMessage(const char *value)
AWS_IOTTWINMAKER_API BatchPutPropertyError & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchPutPropertyError & WithErrorCode(Aws::String &&value)
BatchPutPropertyError & WithErrorMessage(const Aws::String &value)
BatchPutPropertyError & WithEntry(const PropertyValueEntry &value)
BatchPutPropertyError & WithErrorCode(const Aws::String &value)
BatchPutPropertyError & WithEntry(PropertyValueEntry &&value)
BatchPutPropertyError & WithErrorCode(const char *value)
void SetEntry(const PropertyValueEntry &value)
BatchPutPropertyError & WithErrorMessage(Aws::String &&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