AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchPutPropertyErrorEntry.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iottwinmaker/model/BatchPutPropertyError.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 BatchPutPropertyErrorEntry();
39 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::Vector<BatchPutPropertyError>& GetErrors() const{ return m_errors; }
48 inline bool ErrorsHasBeenSet() const { return m_errorsHasBeenSet; }
49 inline void SetErrors(const Aws::Vector<BatchPutPropertyError>& value) { m_errorsHasBeenSet = true; m_errors = value; }
50 inline void SetErrors(Aws::Vector<BatchPutPropertyError>&& value) { m_errorsHasBeenSet = true; m_errors = std::move(value); }
52 inline BatchPutPropertyErrorEntry& WithErrors(Aws::Vector<BatchPutPropertyError>&& value) { SetErrors(std::move(value)); return *this;}
53 inline BatchPutPropertyErrorEntry& AddErrors(const BatchPutPropertyError& value) { m_errorsHasBeenSet = true; m_errors.push_back(value); return *this; }
54 inline BatchPutPropertyErrorEntry& AddErrors(BatchPutPropertyError&& value) { m_errorsHasBeenSet = true; m_errors.push_back(std::move(value)); return *this; }
56 private:
57
59 bool m_errorsHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace IoTTwinMaker
64} // namespace Aws
AWS_IOTTWINMAKER_API BatchPutPropertyErrorEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< BatchPutPropertyError > & GetErrors() const
BatchPutPropertyErrorEntry & WithErrors(Aws::Vector< BatchPutPropertyError > &&value)
AWS_IOTTWINMAKER_API BatchPutPropertyErrorEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API BatchPutPropertyErrorEntry()
BatchPutPropertyErrorEntry & AddErrors(BatchPutPropertyError &&value)
BatchPutPropertyErrorEntry & AddErrors(const BatchPutPropertyError &value)
bool ErrorsHasBeenSet() const
BatchPutPropertyErrorEntry & WithErrors(const Aws::Vector< BatchPutPropertyError > &value)
void SetErrors(const Aws::Vector< BatchPutPropertyError > &value)
void SetErrors(Aws::Vector< BatchPutPropertyError > &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue