AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReportedRuntimeContextState.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/model/DesiredState.h>
9#include <aws/panorama/model/DeviceReportedStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Panorama
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_PANORAMA_API ReportedRuntimeContextState();
40 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const DesiredState& GetDesiredState() const{ return m_desiredState; }
48 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
49 inline void SetDesiredState(const DesiredState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
50 inline void SetDesiredState(DesiredState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); }
51 inline ReportedRuntimeContextState& WithDesiredState(const DesiredState& value) { SetDesiredState(value); return *this;}
52 inline ReportedRuntimeContextState& WithDesiredState(DesiredState&& value) { SetDesiredState(std::move(value)); return *this;}
54
56
59 inline const DeviceReportedStatus& GetDeviceReportedStatus() const{ return m_deviceReportedStatus; }
60 inline bool DeviceReportedStatusHasBeenSet() const { return m_deviceReportedStatusHasBeenSet; }
61 inline void SetDeviceReportedStatus(const DeviceReportedStatus& value) { m_deviceReportedStatusHasBeenSet = true; m_deviceReportedStatus = value; }
62 inline void SetDeviceReportedStatus(DeviceReportedStatus&& value) { m_deviceReportedStatusHasBeenSet = true; m_deviceReportedStatus = std::move(value); }
66
68
71 inline const Aws::Utils::DateTime& GetDeviceReportedTime() const{ return m_deviceReportedTime; }
72 inline bool DeviceReportedTimeHasBeenSet() const { return m_deviceReportedTimeHasBeenSet; }
73 inline void SetDeviceReportedTime(const Aws::Utils::DateTime& value) { m_deviceReportedTimeHasBeenSet = true; m_deviceReportedTime = value; }
74 inline void SetDeviceReportedTime(Aws::Utils::DateTime&& value) { m_deviceReportedTimeHasBeenSet = true; m_deviceReportedTime = std::move(value); }
78
80
83 inline const Aws::String& GetRuntimeContextName() const{ return m_runtimeContextName; }
84 inline bool RuntimeContextNameHasBeenSet() const { return m_runtimeContextNameHasBeenSet; }
85 inline void SetRuntimeContextName(const Aws::String& value) { m_runtimeContextNameHasBeenSet = true; m_runtimeContextName = value; }
86 inline void SetRuntimeContextName(Aws::String&& value) { m_runtimeContextNameHasBeenSet = true; m_runtimeContextName = std::move(value); }
87 inline void SetRuntimeContextName(const char* value) { m_runtimeContextNameHasBeenSet = true; m_runtimeContextName.assign(value); }
89 inline ReportedRuntimeContextState& WithRuntimeContextName(Aws::String&& value) { SetRuntimeContextName(std::move(value)); return *this;}
90 inline ReportedRuntimeContextState& WithRuntimeContextName(const char* value) { SetRuntimeContextName(value); return *this;}
92 private:
93
94 DesiredState m_desiredState;
95 bool m_desiredStateHasBeenSet = false;
96
97 DeviceReportedStatus m_deviceReportedStatus;
98 bool m_deviceReportedStatusHasBeenSet = false;
99
100 Aws::Utils::DateTime m_deviceReportedTime;
101 bool m_deviceReportedTimeHasBeenSet = false;
102
103 Aws::String m_runtimeContextName;
104 bool m_runtimeContextNameHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Panorama
109} // namespace Aws
ReportedRuntimeContextState & WithDesiredState(const DesiredState &value)
ReportedRuntimeContextState & WithRuntimeContextName(Aws::String &&value)
ReportedRuntimeContextState & WithDeviceReportedTime(const Aws::Utils::DateTime &value)
ReportedRuntimeContextState & WithDeviceReportedStatus(const DeviceReportedStatus &value)
AWS_PANORAMA_API ReportedRuntimeContextState(Aws::Utils::Json::JsonView jsonValue)
void SetDeviceReportedStatus(const DeviceReportedStatus &value)
ReportedRuntimeContextState & WithDesiredState(DesiredState &&value)
void SetDeviceReportedTime(const Aws::Utils::DateTime &value)
ReportedRuntimeContextState & WithRuntimeContextName(const char *value)
ReportedRuntimeContextState & WithDeviceReportedStatus(DeviceReportedStatus &&value)
const DeviceReportedStatus & GetDeviceReportedStatus() const
AWS_PANORAMA_API ReportedRuntimeContextState & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
ReportedRuntimeContextState & WithDeviceReportedTime(Aws::Utils::DateTime &&value)
ReportedRuntimeContextState & WithRuntimeContextName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue