AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
OTAJobConfig.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Panorama
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_PANORAMA_API OTAJobConfig() = default;
35 AWS_PANORAMA_API OTAJobConfig(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline bool GetAllowMajorVersionUpdate() const { return m_allowMajorVersionUpdate; }
45 inline bool AllowMajorVersionUpdateHasBeenSet() const { return m_allowMajorVersionUpdateHasBeenSet; }
46 inline void SetAllowMajorVersionUpdate(bool value) { m_allowMajorVersionUpdateHasBeenSet = true; m_allowMajorVersionUpdate = value; }
47 inline OTAJobConfig& WithAllowMajorVersionUpdate(bool value) { SetAllowMajorVersionUpdate(value); return *this;}
49
51
54 inline const Aws::String& GetImageVersion() const { return m_imageVersion; }
55 inline bool ImageVersionHasBeenSet() const { return m_imageVersionHasBeenSet; }
56 template<typename ImageVersionT = Aws::String>
57 void SetImageVersion(ImageVersionT&& value) { m_imageVersionHasBeenSet = true; m_imageVersion = std::forward<ImageVersionT>(value); }
58 template<typename ImageVersionT = Aws::String>
59 OTAJobConfig& WithImageVersion(ImageVersionT&& value) { SetImageVersion(std::forward<ImageVersionT>(value)); return *this;}
61 private:
62
63 bool m_allowMajorVersionUpdate{false};
64 bool m_allowMajorVersionUpdateHasBeenSet = false;
65
66 Aws::String m_imageVersion;
67 bool m_imageVersionHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Panorama
72} // namespace Aws
OTAJobConfig & WithImageVersion(ImageVersionT &&value)
OTAJobConfig & WithAllowMajorVersionUpdate(bool value)
AWS_PANORAMA_API OTAJobConfig()=default
const Aws::String & GetImageVersion() const
AWS_PANORAMA_API OTAJobConfig(Aws::Utils::Json::JsonView jsonValue)
void SetImageVersion(ImageVersionT &&value)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PANORAMA_API OTAJobConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAllowMajorVersionUpdate(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue