AWS SDK for C++  1.9.131
AWS SDK for C++
Configuration.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace IoT
20 {
21 namespace Model
22 {
23 
30  {
31  public:
36 
37 
41  inline bool GetEnabled() const{ return m_enabled; }
42 
46  inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
47 
51  inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
52 
56  inline Configuration& WithEnabled(bool value) { SetEnabled(value); return *this;}
57 
58  private:
59 
60  bool m_enabled;
61  bool m_enabledHasBeenSet;
62  };
63 
64 } // namespace Model
65 } // namespace IoT
66 } // namespace Aws
Aws::IoT::Model::Configuration::SetEnabled
void SetEnabled(bool value)
Definition: Configuration.h:51
Aws::IoT::Model::Configuration
Definition: Configuration.h:30
Aws::IoT::Model::Configuration::Configuration
Configuration()
Aws::IoT::Model::Configuration::GetEnabled
bool GetEnabled() const
Definition: Configuration.h:41
Aws::IoT::Model::Configuration::operator=
Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::Configuration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::Configuration::WithEnabled
Configuration & WithEnabled(bool value)
Definition: Configuration.h:56
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::Configuration::Configuration
Configuration(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::Configuration::EnabledHasBeenSet
bool EnabledHasBeenSet() const
Definition: Configuration.h:46
IoT_EXPORTS.h