AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
UpdateValue.h
1
6#pragma once
7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/ds/model/OSUpdateSettings.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DirectoryService {
20namespace Model {
21
29 public:
30 AWS_DIRECTORYSERVICE_API UpdateValue() = default;
31 AWS_DIRECTORYSERVICE_API UpdateValue(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DIRECTORYSERVICE_API UpdateValue& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const OSUpdateSettings& GetOSUpdateSettings() const { return m_oSUpdateSettings; }
40 inline bool OSUpdateSettingsHasBeenSet() const { return m_oSUpdateSettingsHasBeenSet; }
41 template <typename OSUpdateSettingsT = OSUpdateSettings>
42 void SetOSUpdateSettings(OSUpdateSettingsT&& value) {
43 m_oSUpdateSettingsHasBeenSet = true;
44 m_oSUpdateSettings = std::forward<OSUpdateSettingsT>(value);
45 }
46 template <typename OSUpdateSettingsT = OSUpdateSettings>
47 UpdateValue& WithOSUpdateSettings(OSUpdateSettingsT&& value) {
48 SetOSUpdateSettings(std::forward<OSUpdateSettingsT>(value));
49 return *this;
50 }
52 private:
53 OSUpdateSettings m_oSUpdateSettings;
54 bool m_oSUpdateSettingsHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace DirectoryService
59} // namespace Aws
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const OSUpdateSettings & GetOSUpdateSettings() const
Definition UpdateValue.h:39
AWS_DIRECTORYSERVICE_API UpdateValue()=default
AWS_DIRECTORYSERVICE_API UpdateValue(Aws::Utils::Json::JsonView jsonValue)
UpdateValue & WithOSUpdateSettings(OSUpdateSettingsT &&value)
Definition UpdateValue.h:47
void SetOSUpdateSettings(OSUpdateSettingsT &&value)
Definition UpdateValue.h:42
AWS_DIRECTORYSERVICE_API UpdateValue & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue