AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NodeSignal.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/panorama/model/NodeSignalValue.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 Panorama
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PANORAMA_API NodeSignal();
37 AWS_PANORAMA_API NodeSignal(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PANORAMA_API NodeSignal& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetNodeInstanceId() const{ return m_nodeInstanceId; }
47 inline bool NodeInstanceIdHasBeenSet() const { return m_nodeInstanceIdHasBeenSet; }
48 inline void SetNodeInstanceId(const Aws::String& value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId = value; }
49 inline void SetNodeInstanceId(Aws::String&& value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId = std::move(value); }
50 inline void SetNodeInstanceId(const char* value) { m_nodeInstanceIdHasBeenSet = true; m_nodeInstanceId.assign(value); }
51 inline NodeSignal& WithNodeInstanceId(const Aws::String& value) { SetNodeInstanceId(value); return *this;}
52 inline NodeSignal& WithNodeInstanceId(Aws::String&& value) { SetNodeInstanceId(std::move(value)); return *this;}
53 inline NodeSignal& WithNodeInstanceId(const char* value) { SetNodeInstanceId(value); return *this;}
55
57
60 inline const NodeSignalValue& GetSignal() const{ return m_signal; }
61 inline bool SignalHasBeenSet() const { return m_signalHasBeenSet; }
62 inline void SetSignal(const NodeSignalValue& value) { m_signalHasBeenSet = true; m_signal = value; }
63 inline void SetSignal(NodeSignalValue&& value) { m_signalHasBeenSet = true; m_signal = std::move(value); }
64 inline NodeSignal& WithSignal(const NodeSignalValue& value) { SetSignal(value); return *this;}
65 inline NodeSignal& WithSignal(NodeSignalValue&& value) { SetSignal(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_nodeInstanceId;
70 bool m_nodeInstanceIdHasBeenSet = false;
71
72 NodeSignalValue m_signal;
73 bool m_signalHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Panorama
78} // namespace Aws
NodeSignal & WithSignal(const NodeSignalValue &value)
Definition NodeSignal.h:64
AWS_PANORAMA_API NodeSignal(Aws::Utils::Json::JsonView jsonValue)
void SetNodeInstanceId(const Aws::String &value)
Definition NodeSignal.h:48
AWS_PANORAMA_API NodeSignal & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeSignal & WithNodeInstanceId(Aws::String &&value)
Definition NodeSignal.h:52
NodeSignal & WithNodeInstanceId(const Aws::String &value)
Definition NodeSignal.h:51
void SetSignal(const NodeSignalValue &value)
Definition NodeSignal.h:62
void SetSignal(NodeSignalValue &&value)
Definition NodeSignal.h:63
NodeSignal & WithSignal(NodeSignalValue &&value)
Definition NodeSignal.h:65
NodeSignal & WithNodeInstanceId(const char *value)
Definition NodeSignal.h:53
const Aws::String & GetNodeInstanceId() const
Definition NodeSignal.h:46
void SetNodeInstanceId(const char *value)
Definition NodeSignal.h:50
const NodeSignalValue & GetSignal() const
Definition NodeSignal.h:60
void SetNodeInstanceId(Aws::String &&value)
Definition NodeSignal.h:49
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue