AWS SDK for C++  1.9.153
AWS SDK for C++
LoggingOptions.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoTSiteWise
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const LoggingLevel& GetLevel() const{ return m_level; }
44 
48  inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
49 
53  inline void SetLevel(const LoggingLevel& value) { m_levelHasBeenSet = true; m_level = value; }
54 
58  inline void SetLevel(LoggingLevel&& value) { m_levelHasBeenSet = true; m_level = std::move(value); }
59 
63  inline LoggingOptions& WithLevel(const LoggingLevel& value) { SetLevel(value); return *this;}
64 
68  inline LoggingOptions& WithLevel(LoggingLevel&& value) { SetLevel(std::move(value)); return *this;}
69 
70  private:
71 
72  LoggingLevel m_level;
73  bool m_levelHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace IoTSiteWise
78 } // namespace Aws
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::LoggingOptions
Definition: LoggingOptions.h:32
Aws::IoTSiteWise::Model::LoggingOptions::GetLevel
const LoggingLevel & GetLevel() const
Definition: LoggingOptions.h:43
Aws::IoTSiteWise::Model::LoggingOptions::SetLevel
void SetLevel(LoggingLevel &&value)
Definition: LoggingOptions.h:58
LoggingLevel.h
Aws::IoTSiteWise::Model::LoggingOptions::operator=
LoggingOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::LoggingOptions::SetLevel
void SetLevel(const LoggingLevel &value)
Definition: LoggingOptions.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::LoggingOptions::LoggingOptions
LoggingOptions()
Aws::IoTSiteWise::Model::LoggingOptions::LevelHasBeenSet
bool LevelHasBeenSet() const
Definition: LoggingOptions.h:48
Aws::IoTSiteWise::Model::LoggingOptions::WithLevel
LoggingOptions & WithLevel(LoggingLevel &&value)
Definition: LoggingOptions.h:68
Aws::IoTSiteWise::Model::LoggingOptions::LoggingOptions
LoggingOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::LoggingOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::LoggingOptions::WithLevel
LoggingOptions & WithLevel(const LoggingLevel &value)
Definition: LoggingOptions.h:63
Aws::IoTSiteWise::Model::LoggingLevel
LoggingLevel
Definition: LoggingLevel.h:17