AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
CommandExecutionResult.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace IoT {
21namespace Model {
22
33 public:
34 AWS_IOT_API CommandExecutionResult() = default;
38
40
44 inline const Aws::String& GetS() const { return m_s; }
45 inline bool SHasBeenSet() const { return m_sHasBeenSet; }
46 template <typename ST = Aws::String>
47 void SetS(ST&& value) {
48 m_sHasBeenSet = true;
49 m_s = std::forward<ST>(value);
50 }
51 template <typename ST = Aws::String>
53 SetS(std::forward<ST>(value));
54 return *this;
55 }
57
59
63 inline bool GetB() const { return m_b; }
64 inline bool BHasBeenSet() const { return m_bHasBeenSet; }
65 inline void SetB(bool value) {
66 m_bHasBeenSet = true;
67 m_b = value;
68 }
69 inline CommandExecutionResult& WithB(bool value) {
70 SetB(value);
71 return *this;
72 }
74
76
79 inline const Aws::Utils::ByteBuffer& GetBIN() const { return m_bIN; }
80 inline bool BINHasBeenSet() const { return m_bINHasBeenSet; }
81 template <typename BINT = Aws::Utils::ByteBuffer>
82 void SetBIN(BINT&& value) {
83 m_bINHasBeenSet = true;
84 m_bIN = std::forward<BINT>(value);
85 }
86 template <typename BINT = Aws::Utils::ByteBuffer>
88 SetBIN(std::forward<BINT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_s;
94
95 bool m_b{false};
96
98 bool m_sHasBeenSet = false;
99 bool m_bHasBeenSet = false;
100 bool m_bINHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace IoT
105} // namespace Aws
const Aws::Utils::ByteBuffer & GetBIN() const
AWS_IOT_API CommandExecutionResult(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API CommandExecutionResult()=default
CommandExecutionResult & WithB(bool value)
CommandExecutionResult & WithBIN(BINT &&value)
CommandExecutionResult & WithS(ST &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API CommandExecutionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue