AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DecoderManifestValidationException.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotfleetwise/model/InvalidSignalDecoder.h>
11#include <aws/iotfleetwise/model/InvalidNetworkInterface.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTFleetWise
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOTFLEETWISE_API DecoderManifestValidationException();
41 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<InvalidSignalDecoder>& GetInvalidSignals() const{ return m_invalidSignals; }
50 inline bool InvalidSignalsHasBeenSet() const { return m_invalidSignalsHasBeenSet; }
51 inline void SetInvalidSignals(const Aws::Vector<InvalidSignalDecoder>& value) { m_invalidSignalsHasBeenSet = true; m_invalidSignals = value; }
52 inline void SetInvalidSignals(Aws::Vector<InvalidSignalDecoder>&& value) { m_invalidSignalsHasBeenSet = true; m_invalidSignals = std::move(value); }
55 inline DecoderManifestValidationException& AddInvalidSignals(const InvalidSignalDecoder& value) { m_invalidSignalsHasBeenSet = true; m_invalidSignals.push_back(value); return *this; }
56 inline DecoderManifestValidationException& AddInvalidSignals(InvalidSignalDecoder&& value) { m_invalidSignalsHasBeenSet = true; m_invalidSignals.push_back(std::move(value)); return *this; }
58
60
64 inline const Aws::Vector<InvalidNetworkInterface>& GetInvalidNetworkInterfaces() const{ return m_invalidNetworkInterfaces; }
65 inline bool InvalidNetworkInterfacesHasBeenSet() const { return m_invalidNetworkInterfacesHasBeenSet; }
66 inline void SetInvalidNetworkInterfaces(const Aws::Vector<InvalidNetworkInterface>& value) { m_invalidNetworkInterfacesHasBeenSet = true; m_invalidNetworkInterfaces = value; }
67 inline void SetInvalidNetworkInterfaces(Aws::Vector<InvalidNetworkInterface>&& value) { m_invalidNetworkInterfacesHasBeenSet = true; m_invalidNetworkInterfaces = std::move(value); }
70 inline DecoderManifestValidationException& AddInvalidNetworkInterfaces(const InvalidNetworkInterface& value) { m_invalidNetworkInterfacesHasBeenSet = true; m_invalidNetworkInterfaces.push_back(value); return *this; }
71 inline DecoderManifestValidationException& AddInvalidNetworkInterfaces(InvalidNetworkInterface&& value) { m_invalidNetworkInterfacesHasBeenSet = true; m_invalidNetworkInterfaces.push_back(std::move(value)); return *this; }
73
75
76 inline const Aws::String& GetMessage() const{ return m_message; }
77 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
78 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
79 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
80 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
81 inline DecoderManifestValidationException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
82 inline DecoderManifestValidationException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
83 inline DecoderManifestValidationException& WithMessage(const char* value) { SetMessage(value); return *this;}
85 private:
86
87 Aws::Vector<InvalidSignalDecoder> m_invalidSignals;
88 bool m_invalidSignalsHasBeenSet = false;
89
90 Aws::Vector<InvalidNetworkInterface> m_invalidNetworkInterfaces;
91 bool m_invalidNetworkInterfacesHasBeenSet = false;
92
93 Aws::String m_message;
94 bool m_messageHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace IoTFleetWise
99} // namespace Aws
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API DecoderManifestValidationException(Aws::Utils::Json::JsonView jsonValue)
DecoderManifestValidationException & AddInvalidSignals(InvalidSignalDecoder &&value)
void SetInvalidNetworkInterfaces(Aws::Vector< InvalidNetworkInterface > &&value)
DecoderManifestValidationException & WithInvalidSignals(const Aws::Vector< InvalidSignalDecoder > &value)
DecoderManifestValidationException & AddInvalidSignals(const InvalidSignalDecoder &value)
DecoderManifestValidationException & WithInvalidSignals(Aws::Vector< InvalidSignalDecoder > &&value)
DecoderManifestValidationException & WithMessage(Aws::String &&value)
DecoderManifestValidationException & AddInvalidNetworkInterfaces(InvalidNetworkInterface &&value)
void SetInvalidNetworkInterfaces(const Aws::Vector< InvalidNetworkInterface > &value)
DecoderManifestValidationException & AddInvalidNetworkInterfaces(const InvalidNetworkInterface &value)
DecoderManifestValidationException & WithMessage(const Aws::String &value)
DecoderManifestValidationException & WithInvalidNetworkInterfaces(const Aws::Vector< InvalidNetworkInterface > &value)
const Aws::Vector< InvalidNetworkInterface > & GetInvalidNetworkInterfaces() const
DecoderManifestValidationException & WithMessage(const char *value)
AWS_IOTFLEETWISE_API DecoderManifestValidationException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInvalidSignals(const Aws::Vector< InvalidSignalDecoder > &value)
DecoderManifestValidationException & WithInvalidNetworkInterfaces(Aws::Vector< InvalidNetworkInterface > &&value)
const Aws::Vector< InvalidSignalDecoder > & GetInvalidSignals() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue