AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidSignalsException.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotfleetwise/model/InvalidSignal.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTFleetWise
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTFLEETWISE_API InvalidSignalsException();
38 AWS_IOTFLEETWISE_API InvalidSignalsException(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
45 inline const Aws::String& GetMessage() const{ return m_message; }
46 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
47 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
48 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
49 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
50 inline InvalidSignalsException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
51 inline InvalidSignalsException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
52 inline InvalidSignalsException& WithMessage(const char* value) { SetMessage(value); return *this;}
54
56
59 inline const Aws::Vector<InvalidSignal>& GetInvalidSignals() const{ return m_invalidSignals; }
60 inline bool InvalidSignalsHasBeenSet() const { return m_invalidSignalsHasBeenSet; }
61 inline void SetInvalidSignals(const Aws::Vector<InvalidSignal>& value) { m_invalidSignalsHasBeenSet = true; m_invalidSignals = value; }
62 inline void SetInvalidSignals(Aws::Vector<InvalidSignal>&& value) { m_invalidSignalsHasBeenSet = true; m_invalidSignals = std::move(value); }
65 inline InvalidSignalsException& AddInvalidSignals(const InvalidSignal& value) { m_invalidSignalsHasBeenSet = true; m_invalidSignals.push_back(value); return *this; }
66 inline InvalidSignalsException& AddInvalidSignals(InvalidSignal&& value) { m_invalidSignalsHasBeenSet = true; m_invalidSignals.push_back(std::move(value)); return *this; }
68 private:
69
70 Aws::String m_message;
71 bool m_messageHasBeenSet = false;
72
73 Aws::Vector<InvalidSignal> m_invalidSignals;
74 bool m_invalidSignalsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTFleetWise
79} // namespace Aws
void SetInvalidSignals(const Aws::Vector< InvalidSignal > &value)
InvalidSignalsException & WithMessage(const char *value)
void SetInvalidSignals(Aws::Vector< InvalidSignal > &&value)
InvalidSignalsException & WithMessage(Aws::String &&value)
InvalidSignalsException & AddInvalidSignals(InvalidSignal &&value)
InvalidSignalsException & WithMessage(const Aws::String &value)
InvalidSignalsException & WithInvalidSignals(const Aws::Vector< InvalidSignal > &value)
InvalidSignalsException & AddInvalidSignals(const InvalidSignal &value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTFLEETWISE_API InvalidSignalsException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< InvalidSignal > & GetInvalidSignals() const
AWS_IOTFLEETWISE_API InvalidSignalsException(Aws::Utils::Json::JsonView jsonValue)
InvalidSignalsException & WithInvalidSignals(Aws::Vector< InvalidSignal > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue