AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvalidSignalDecoder.h
1
6#pragma once
7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/SignalDecoderFailureReason.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 IoTFleetWise
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTFLEETWISE_API InvalidSignalDecoder();
36 AWS_IOTFLEETWISE_API InvalidSignalDecoder(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline InvalidSignalDecoder& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline InvalidSignalDecoder& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline InvalidSignalDecoder& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const SignalDecoderFailureReason& GetReason() const{ return m_reason; }
60 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
61 inline void SetReason(const SignalDecoderFailureReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
62 inline void SetReason(SignalDecoderFailureReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
63 inline InvalidSignalDecoder& WithReason(const SignalDecoderFailureReason& value) { SetReason(value); return *this;}
64 inline InvalidSignalDecoder& WithReason(SignalDecoderFailureReason&& value) { SetReason(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetHint() const{ return m_hint; }
72 inline bool HintHasBeenSet() const { return m_hintHasBeenSet; }
73 inline void SetHint(const Aws::String& value) { m_hintHasBeenSet = true; m_hint = value; }
74 inline void SetHint(Aws::String&& value) { m_hintHasBeenSet = true; m_hint = std::move(value); }
75 inline void SetHint(const char* value) { m_hintHasBeenSet = true; m_hint.assign(value); }
76 inline InvalidSignalDecoder& WithHint(const Aws::String& value) { SetHint(value); return *this;}
77 inline InvalidSignalDecoder& WithHint(Aws::String&& value) { SetHint(std::move(value)); return *this;}
78 inline InvalidSignalDecoder& WithHint(const char* value) { SetHint(value); return *this;}
80 private:
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
86 bool m_reasonHasBeenSet = false;
87
88 Aws::String m_hint;
89 bool m_hintHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace IoTFleetWise
94} // namespace Aws
InvalidSignalDecoder & WithHint(const Aws::String &value)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
InvalidSignalDecoder & WithName(const char *value)
InvalidSignalDecoder & WithReason(const SignalDecoderFailureReason &value)
AWS_IOTFLEETWISE_API InvalidSignalDecoder & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API InvalidSignalDecoder(Aws::Utils::Json::JsonView jsonValue)
InvalidSignalDecoder & WithName(const Aws::String &value)
const SignalDecoderFailureReason & GetReason() const
InvalidSignalDecoder & WithHint(const char *value)
void SetReason(SignalDecoderFailureReason &&value)
InvalidSignalDecoder & WithHint(Aws::String &&value)
InvalidSignalDecoder & WithName(Aws::String &&value)
InvalidSignalDecoder & WithReason(SignalDecoderFailureReason &&value)
void SetReason(const SignalDecoderFailureReason &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue