AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetImageVersion(const Aws::String& value) { m_imageVersionHasBeenSet = true; m_imageVersion = value; }
57 inline void SetImageVersion(Aws::String&& value) { m_imageVersionHasBeenSet = true; m_imageVersion = std::move(value); }
58 inline void SetImageVersion(const char* value) { m_imageVersionHasBeenSet = true; m_imageVersion.assign(value); }
59 inline OTAJobConfig& WithImageVersion(const Aws::String& value) { SetImageVersion(value); return *this;}
60 inline OTAJobConfig& WithImageVersion(Aws::String&& value) { SetImageVersion(std::move(value)); return *this;}
61 inline OTAJobConfig& WithImageVersion(const char* value) { SetImageVersion(value); return *this;}
63 private:
64
65 bool m_allowMajorVersionUpdate;
66 bool m_allowMajorVersionUpdateHasBeenSet = false;
67
68 Aws::String m_imageVersion;
69 bool m_imageVersionHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Panorama
74} // namespace Aws
OTAJobConfig & WithImageVersion(const char *value)
void SetImageVersion(const Aws::String &value)
OTAJobConfig & WithAllowMajorVersionUpdate(bool value)
OTAJobConfig & WithImageVersion(Aws::String &&value)
void SetImageVersion(const char *value)
const Aws::String & GetImageVersion() const
AWS_PANORAMA_API OTAJobConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
OTAJobConfig & WithImageVersion(const Aws::String &value)
AWS_PANORAMA_API OTAJobConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetImageVersion(Aws::String &&value)
void SetAllowMajorVersionUpdate(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue