AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CommandParameterValue.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.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 IoT
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_IOT_API CommandParameterValue() = default;
41
42
44
48 inline const Aws::String& GetS() const { return m_s; }
49 inline bool SHasBeenSet() const { return m_sHasBeenSet; }
50 template<typename ST = Aws::String>
51 void SetS(ST&& value) { m_sHasBeenSet = true; m_s = std::forward<ST>(value); }
52 template<typename ST = Aws::String>
53 CommandParameterValue& WithS(ST&& value) { SetS(std::forward<ST>(value)); return *this;}
55
57
61 inline bool GetB() const { return m_b; }
62 inline bool BHasBeenSet() const { return m_bHasBeenSet; }
63 inline void SetB(bool value) { m_bHasBeenSet = true; m_b = value; }
64 inline CommandParameterValue& WithB(bool value) { SetB(value); return *this;}
66
68
71 inline int GetI() const { return m_i; }
72 inline bool IHasBeenSet() const { return m_iHasBeenSet; }
73 inline void SetI(int value) { m_iHasBeenSet = true; m_i = value; }
74 inline CommandParameterValue& WithI(int value) { SetI(value); return *this;}
76
78
81 inline long long GetL() const { return m_l; }
82 inline bool LHasBeenSet() const { return m_lHasBeenSet; }
83 inline void SetL(long long value) { m_lHasBeenSet = true; m_l = value; }
84 inline CommandParameterValue& WithL(long long value) { SetL(value); return *this;}
86
88
91 inline double GetD() const { return m_d; }
92 inline bool DHasBeenSet() const { return m_dHasBeenSet; }
93 inline void SetD(double value) { m_dHasBeenSet = true; m_d = value; }
94 inline CommandParameterValue& WithD(double value) { SetD(value); return *this;}
96
98
102 inline const Aws::Utils::ByteBuffer& GetBIN() const { return m_bIN; }
103 inline bool BINHasBeenSet() const { return m_bINHasBeenSet; }
104 template<typename BINT = Aws::Utils::ByteBuffer>
105 void SetBIN(BINT&& value) { m_bINHasBeenSet = true; m_bIN = std::forward<BINT>(value); }
106 template<typename BINT = Aws::Utils::ByteBuffer>
107 CommandParameterValue& WithBIN(BINT&& value) { SetBIN(std::forward<BINT>(value)); return *this;}
109
111
114 inline const Aws::String& GetUL() const { return m_uL; }
115 inline bool ULHasBeenSet() const { return m_uLHasBeenSet; }
116 template<typename ULT = Aws::String>
117 void SetUL(ULT&& value) { m_uLHasBeenSet = true; m_uL = std::forward<ULT>(value); }
118 template<typename ULT = Aws::String>
119 CommandParameterValue& WithUL(ULT&& value) { SetUL(std::forward<ULT>(value)); return *this;}
121 private:
122
123 Aws::String m_s;
124 bool m_sHasBeenSet = false;
125
126 bool m_b{false};
127 bool m_bHasBeenSet = false;
128
129 int m_i{0};
130 bool m_iHasBeenSet = false;
131
132 long long m_l{0};
133 bool m_lHasBeenSet = false;
134
135 double m_d{0.0};
136 bool m_dHasBeenSet = false;
137
139 bool m_bINHasBeenSet = false;
140
141 Aws::String m_uL;
142 bool m_uLHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace IoT
147} // namespace Aws
CommandParameterValue & WithBIN(BINT &&value)
CommandParameterValue & WithUL(ULT &&value)
AWS_IOT_API CommandParameterValue()=default
CommandParameterValue & WithD(double value)
CommandParameterValue & WithI(int value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
CommandParameterValue & WithB(bool value)
CommandParameterValue & WithL(long long value)
AWS_IOT_API CommandParameterValue(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::ByteBuffer & GetBIN() const
AWS_IOT_API CommandParameterValue & operator=(Aws::Utils::Json::JsonView jsonValue)
CommandParameterValue & WithS(ST &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue