AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CommandExecutionResult.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
37 {
38 public:
39 AWS_IOT_API CommandExecutionResult() = default;
43
44
46
50 inline const Aws::String& GetS() const { return m_s; }
51 inline bool SHasBeenSet() const { return m_sHasBeenSet; }
52 template<typename ST = Aws::String>
53 void SetS(ST&& value) { m_sHasBeenSet = true; m_s = std::forward<ST>(value); }
54 template<typename ST = Aws::String>
55 CommandExecutionResult& WithS(ST&& value) { SetS(std::forward<ST>(value)); return *this;}
57
59
63 inline bool GetB() const { return m_b; }
64 inline bool BHasBeenSet() const { return m_bHasBeenSet; }
65 inline void SetB(bool value) { m_bHasBeenSet = true; m_b = value; }
66 inline CommandExecutionResult& WithB(bool value) { SetB(value); return *this;}
68
70
73 inline const Aws::Utils::ByteBuffer& GetBIN() const { return m_bIN; }
74 inline bool BINHasBeenSet() const { return m_bINHasBeenSet; }
75 template<typename BINT = Aws::Utils::ByteBuffer>
76 void SetBIN(BINT&& value) { m_bINHasBeenSet = true; m_bIN = std::forward<BINT>(value); }
77 template<typename BINT = Aws::Utils::ByteBuffer>
78 CommandExecutionResult& WithBIN(BINT&& value) { SetBIN(std::forward<BINT>(value)); return *this;}
80 private:
81
82 Aws::String m_s;
83 bool m_sHasBeenSet = false;
84
85 bool m_b{false};
86 bool m_bHasBeenSet = false;
87
89 bool m_bINHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace IoT
94} // 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