AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ReportedRuntimeContextState.h
Go to the documentation of this file.
1
6#pragma once
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:
41
42
46 inline const DesiredState& GetDesiredState() const{ return m_desiredState; }
47
51 inline bool DesiredStateHasBeenSet() const { return m_desiredStateHasBeenSet; }
52
56 inline void SetDesiredState(const DesiredState& value) { m_desiredStateHasBeenSet = true; m_desiredState = value; }
57
61 inline void SetDesiredState(DesiredState&& value) { m_desiredStateHasBeenSet = true; m_desiredState = std::move(value); }
62
66 inline ReportedRuntimeContextState& WithDesiredState(const DesiredState& value) { SetDesiredState(value); return *this;}
67
71 inline ReportedRuntimeContextState& WithDesiredState(DesiredState&& value) { SetDesiredState(std::move(value)); return *this;}
72
73
77 inline const DeviceReportedStatus& GetDeviceReportedStatus() const{ return m_deviceReportedStatus; }
78
82 inline bool DeviceReportedStatusHasBeenSet() const { return m_deviceReportedStatusHasBeenSet; }
83
87 inline void SetDeviceReportedStatus(const DeviceReportedStatus& value) { m_deviceReportedStatusHasBeenSet = true; m_deviceReportedStatus = value; }
88
92 inline void SetDeviceReportedStatus(DeviceReportedStatus&& value) { m_deviceReportedStatusHasBeenSet = true; m_deviceReportedStatus = std::move(value); }
93
98
103
104
108 inline const Aws::Utils::DateTime& GetDeviceReportedTime() const{ return m_deviceReportedTime; }
109
113 inline bool DeviceReportedTimeHasBeenSet() const { return m_deviceReportedTimeHasBeenSet; }
114
118 inline void SetDeviceReportedTime(const Aws::Utils::DateTime& value) { m_deviceReportedTimeHasBeenSet = true; m_deviceReportedTime = value; }
119
123 inline void SetDeviceReportedTime(Aws::Utils::DateTime&& value) { m_deviceReportedTimeHasBeenSet = true; m_deviceReportedTime = std::move(value); }
124
129
134
135
139 inline const Aws::String& GetRuntimeContextName() const{ return m_runtimeContextName; }
140
144 inline bool RuntimeContextNameHasBeenSet() const { return m_runtimeContextNameHasBeenSet; }
145
149 inline void SetRuntimeContextName(const Aws::String& value) { m_runtimeContextNameHasBeenSet = true; m_runtimeContextName = value; }
150
154 inline void SetRuntimeContextName(Aws::String&& value) { m_runtimeContextNameHasBeenSet = true; m_runtimeContextName = std::move(value); }
155
159 inline void SetRuntimeContextName(const char* value) { m_runtimeContextNameHasBeenSet = true; m_runtimeContextName.assign(value); }
160
165
169 inline ReportedRuntimeContextState& WithRuntimeContextName(Aws::String&& value) { SetRuntimeContextName(std::move(value)); return *this;}
170
174 inline ReportedRuntimeContextState& WithRuntimeContextName(const char* value) { SetRuntimeContextName(value); return *this;}
175
176 private:
177
178 DesiredState m_desiredState;
179 bool m_desiredStateHasBeenSet = false;
180
181 DeviceReportedStatus m_deviceReportedStatus;
182 bool m_deviceReportedStatusHasBeenSet = false;
183
184 Aws::Utils::DateTime m_deviceReportedTime;
185 bool m_deviceReportedTimeHasBeenSet = false;
186
187 Aws::String m_runtimeContextName;
188 bool m_runtimeContextNameHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace Panorama
193} // namespace Aws
#define AWS_PANORAMA_API
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 Aws::Utils::DateTime & GetDeviceReportedTime() const
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