AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 DirectoryService
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DIRECTORYSERVICE_API UpdateValue() = default;
36 AWS_DIRECTORYSERVICE_API UpdateValue(Aws::Utils::Json::JsonView jsonValue);
37 AWS_DIRECTORYSERVICE_API UpdateValue& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const OSUpdateSettings& GetOSUpdateSettings() const { return m_oSUpdateSettings; }
46 inline bool OSUpdateSettingsHasBeenSet() const { return m_oSUpdateSettingsHasBeenSet; }
47 template<typename OSUpdateSettingsT = OSUpdateSettings>
48 void SetOSUpdateSettings(OSUpdateSettingsT&& value) { m_oSUpdateSettingsHasBeenSet = true; m_oSUpdateSettings = std::forward<OSUpdateSettingsT>(value); }
49 template<typename OSUpdateSettingsT = OSUpdateSettings>
50 UpdateValue& WithOSUpdateSettings(OSUpdateSettingsT&& value) { SetOSUpdateSettings(std::forward<OSUpdateSettingsT>(value)); return *this;}
52 private:
53
54 OSUpdateSettings m_oSUpdateSettings;
55 bool m_oSUpdateSettingsHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace DirectoryService
60} // namespace Aws
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const OSUpdateSettings & GetOSUpdateSettings() const
Definition UpdateValue.h:45
AWS_DIRECTORYSERVICE_API UpdateValue()=default
AWS_DIRECTORYSERVICE_API UpdateValue(Aws::Utils::Json::JsonView jsonValue)
UpdateValue & WithOSUpdateSettings(OSUpdateSettingsT &&value)
Definition UpdateValue.h:50
void SetOSUpdateSettings(OSUpdateSettingsT &&value)
Definition UpdateValue.h:48
AWS_DIRECTORYSERVICE_API UpdateValue & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue