AWS SDK for C++

AWS SDK for C++ Version 1.11.800

Loading...
Searching...
No Matches
RegisterImageOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace imagebuilder {
20namespace Model {
21
32 public:
33 AWS_IMAGEBUILDER_API RegisterImageOptions() = default;
34 AWS_IMAGEBUILDER_API RegisterImageOptions(Aws::Utils::Json::JsonView jsonValue);
36 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline bool GetSecureBootEnabled() const { return m_secureBootEnabled; }
45 inline bool SecureBootEnabledHasBeenSet() const { return m_secureBootEnabledHasBeenSet; }
46 inline void SetSecureBootEnabled(bool value) {
47 m_secureBootEnabledHasBeenSet = true;
48 m_secureBootEnabled = value;
49 }
52 return *this;
53 }
55
57
66 inline const Aws::String& GetUefiData() const { return m_uefiData; }
67 inline bool UefiDataHasBeenSet() const { return m_uefiDataHasBeenSet; }
68 template <typename UefiDataT = Aws::String>
69 void SetUefiData(UefiDataT&& value) {
70 m_uefiDataHasBeenSet = true;
71 m_uefiData = std::forward<UefiDataT>(value);
72 }
73 template <typename UefiDataT = Aws::String>
74 RegisterImageOptions& WithUefiData(UefiDataT&& value) {
75 SetUefiData(std::forward<UefiDataT>(value));
76 return *this;
77 }
79 private:
80 bool m_secureBootEnabled{false};
81
82 Aws::String m_uefiData;
83 bool m_secureBootEnabledHasBeenSet = false;
84 bool m_uefiDataHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace imagebuilder
89} // namespace Aws
RegisterImageOptions & WithUefiData(UefiDataT &&value)
AWS_IMAGEBUILDER_API RegisterImageOptions()=default
RegisterImageOptions & WithSecureBootEnabled(bool value)
AWS_IMAGEBUILDER_API RegisterImageOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API RegisterImageOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue