AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DeviceJobConfig.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/panorama/model/OTAJobConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Panorama {
20namespace Model {
21
28 public:
29 AWS_PANORAMA_API DeviceJobConfig() = default;
30 AWS_PANORAMA_API DeviceJobConfig(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const OTAJobConfig& GetOTAJobConfig() const { return m_oTAJobConfig; }
39 inline bool OTAJobConfigHasBeenSet() const { return m_oTAJobConfigHasBeenSet; }
40 template <typename OTAJobConfigT = OTAJobConfig>
41 void SetOTAJobConfig(OTAJobConfigT&& value) {
42 m_oTAJobConfigHasBeenSet = true;
43 m_oTAJobConfig = std::forward<OTAJobConfigT>(value);
44 }
45 template <typename OTAJobConfigT = OTAJobConfig>
46 DeviceJobConfig& WithOTAJobConfig(OTAJobConfigT&& value) {
47 SetOTAJobConfig(std::forward<OTAJobConfigT>(value));
48 return *this;
49 }
51 private:
52 OTAJobConfig m_oTAJobConfig;
53 bool m_oTAJobConfigHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Panorama
58} // namespace Aws
DeviceJobConfig & WithOTAJobConfig(OTAJobConfigT &&value)
AWS_PANORAMA_API DeviceJobConfig(Aws::Utils::Json::JsonView jsonValue)
const OTAJobConfig & GetOTAJobConfig() const
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PANORAMA_API DeviceJobConfig()=default
void SetOTAJobConfig(OTAJobConfigT &&value)
AWS_PANORAMA_API DeviceJobConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue