AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
ConfigurationStatus.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/iot-managed-integrations/model/ConfigurationError.h>
9#include <aws/iot-managed-integrations/model/ConfigurationState.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 IoTManagedIntegrations
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTMANAGEDINTEGRATIONS_API ConfigurationStatus() = default;
37 AWS_IOTMANAGEDINTEGRATIONS_API ConfigurationStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTMANAGEDINTEGRATIONS_API ConfigurationStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const ConfigurationError& GetError() const { return m_error; }
48 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
49 template<typename ErrorT = ConfigurationError>
50 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
51 template<typename ErrorT = ConfigurationError>
52 ConfigurationStatus& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
54
56
59 inline ConfigurationState GetState() const { return m_state; }
60 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
61 inline void SetState(ConfigurationState value) { m_stateHasBeenSet = true; m_state = value; }
62 inline ConfigurationStatus& WithState(ConfigurationState value) { SetState(value); return *this;}
64 private:
65
66 ConfigurationError m_error;
67 bool m_errorHasBeenSet = false;
68
70 bool m_stateHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoTManagedIntegrations
75} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTMANAGEDINTEGRATIONS_API ConfigurationStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API ConfigurationStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfigurationStatus & WithState(ConfigurationState value)
AWS_IOTMANAGEDINTEGRATIONS_API ConfigurationStatus()=default
Aws::Utils::Json::JsonValue JsonValue