AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 StorageGateway
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_STORAGEGATEWAY_API SoftwareUpdatePreferences() = default;
36 AWS_STORAGEGATEWAY_API SoftwareUpdatePreferences(Aws::Utils::Json::JsonView jsonValue);
38 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
51 inline AutomaticUpdatePolicy GetAutomaticUpdatePolicy() const { return m_automaticUpdatePolicy; }
52 inline bool AutomaticUpdatePolicyHasBeenSet() const { return m_automaticUpdatePolicyHasBeenSet; }
53 inline void SetAutomaticUpdatePolicy(AutomaticUpdatePolicy value) { m_automaticUpdatePolicyHasBeenSet = true; m_automaticUpdatePolicy = value; }
56 private:
57
59 bool m_automaticUpdatePolicyHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace StorageGateway
64} // 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