AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TelemetryConfiguration.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/greengrass/model/ConfigurationSyncStatus.h>
9#include <aws/greengrass/model/Telemetry.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 Greengrass
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GREENGRASS_API TelemetryConfiguration();
38 AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const ConfigurationSyncStatus& GetConfigurationSyncStatus() const{ return m_configurationSyncStatus; }
47 inline bool ConfigurationSyncStatusHasBeenSet() const { return m_configurationSyncStatusHasBeenSet; }
48 inline void SetConfigurationSyncStatus(const ConfigurationSyncStatus& value) { m_configurationSyncStatusHasBeenSet = true; m_configurationSyncStatus = value; }
49 inline void SetConfigurationSyncStatus(ConfigurationSyncStatus&& value) { m_configurationSyncStatusHasBeenSet = true; m_configurationSyncStatus = std::move(value); }
53
55
58 inline const Telemetry& GetTelemetry() const{ return m_telemetry; }
59 inline bool TelemetryHasBeenSet() const { return m_telemetryHasBeenSet; }
60 inline void SetTelemetry(const Telemetry& value) { m_telemetryHasBeenSet = true; m_telemetry = value; }
61 inline void SetTelemetry(Telemetry&& value) { m_telemetryHasBeenSet = true; m_telemetry = std::move(value); }
62 inline TelemetryConfiguration& WithTelemetry(const Telemetry& value) { SetTelemetry(value); return *this;}
63 inline TelemetryConfiguration& WithTelemetry(Telemetry&& value) { SetTelemetry(std::move(value)); return *this;}
65 private:
66
67 ConfigurationSyncStatus m_configurationSyncStatus;
68 bool m_configurationSyncStatusHasBeenSet = false;
69
70 Telemetry m_telemetry;
71 bool m_telemetryHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Greengrass
76} // namespace Aws
AWS_GREENGRASS_API Aws::Utils::Json::JsonValue Jsonize() const
TelemetryConfiguration & WithConfigurationSyncStatus(const ConfigurationSyncStatus &value)
void SetConfigurationSyncStatus(ConfigurationSyncStatus &&value)
TelemetryConfiguration & WithTelemetry(const Telemetry &value)
AWS_GREENGRASS_API TelemetryConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ConfigurationSyncStatus & GetConfigurationSyncStatus() const
TelemetryConfiguration & WithTelemetry(Telemetry &&value)
TelemetryConfiguration & WithConfigurationSyncStatus(ConfigurationSyncStatus &&value)
void SetConfigurationSyncStatus(const ConfigurationSyncStatus &value)
AWS_GREENGRASS_API TelemetryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue