AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
OSUpdateSettings.h
1
6#pragma once
7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/ds/model/OSVersion.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 OSUpdateSettings() = default;
31 AWS_DIRECTORYSERVICE_API OSUpdateSettings(Aws::Utils::Json::JsonView jsonValue);
32 AWS_DIRECTORYSERVICE_API OSUpdateSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline OSVersion GetOSVersion() const { return m_oSVersion; }
40 inline bool OSVersionHasBeenSet() const { return m_oSVersionHasBeenSet; }
41 inline void SetOSVersion(OSVersion value) {
42 m_oSVersionHasBeenSet = true;
43 m_oSVersion = value;
44 }
46 SetOSVersion(value);
47 return *this;
48 }
50 private:
51 OSVersion m_oSVersion{OSVersion::NOT_SET};
52 bool m_oSVersionHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace DirectoryService
57} // namespace Aws
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DIRECTORYSERVICE_API OSUpdateSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTORYSERVICE_API OSUpdateSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
OSUpdateSettings & WithOSVersion(OSVersion value)
AWS_DIRECTORYSERVICE_API OSUpdateSettings()=default
Aws::Utils::Json::JsonValue JsonValue