AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
SoftwareUpdatePreferences.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/model/AutomaticUpdatePolicy.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace StorageGateway {
20namespace Model {
21
29 public:
30 AWS_STORAGEGATEWAY_API SoftwareUpdatePreferences() = default;
31 AWS_STORAGEGATEWAY_API SoftwareUpdatePreferences(Aws::Utils::Json::JsonView jsonValue);
33 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
45 inline AutomaticUpdatePolicy GetAutomaticUpdatePolicy() const { return m_automaticUpdatePolicy; }
46 inline bool AutomaticUpdatePolicyHasBeenSet() const { return m_automaticUpdatePolicyHasBeenSet; }
48 m_automaticUpdatePolicyHasBeenSet = true;
49 m_automaticUpdatePolicy = value;
50 }
56 private:
58 bool m_automaticUpdatePolicyHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace StorageGateway
63} // namespace Aws
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_STORAGEGATEWAY_API SoftwareUpdatePreferences()=default
AWS_STORAGEGATEWAY_API SoftwareUpdatePreferences(Aws::Utils::Json::JsonView jsonValue)
SoftwareUpdatePreferences & WithAutomaticUpdatePolicy(AutomaticUpdatePolicy value)
AWS_STORAGEGATEWAY_API SoftwareUpdatePreferences & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue