AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
Configuration.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace IoT {
17namespace Model {
18
25 public:
26 AWS_IOT_API Configuration() = default;
30
32
35 inline bool GetEnabled() const { return m_enabled; }
36 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
37 inline void SetEnabled(bool value) {
38 m_enabledHasBeenSet = true;
39 m_enabled = value;
40 }
41 inline Configuration& WithEnabled(bool value) {
42 SetEnabled(value);
43 return *this;
44 }
46 private:
47 bool m_enabled{false};
48 bool m_enabledHasBeenSet = false;
49};
50
51} // namespace Model
52} // namespace IoT
53} // namespace Aws
AWS_IOT_API Configuration(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
Configuration & WithEnabled(bool value)
AWS_IOT_API Configuration()=default
Aws::Utils::Json::JsonValue JsonValue