AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
AutoSnapshotAddOnRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lightsail/Lightsail_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lightsail {
20namespace Model {
21
51 public:
52 AWS_LIGHTSAIL_API AutoSnapshotAddOnRequest() = default;
55 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
56
58
65 inline const Aws::String& GetSnapshotTimeOfDay() const { return m_snapshotTimeOfDay; }
66 inline bool SnapshotTimeOfDayHasBeenSet() const { return m_snapshotTimeOfDayHasBeenSet; }
67 template <typename SnapshotTimeOfDayT = Aws::String>
68 void SetSnapshotTimeOfDay(SnapshotTimeOfDayT&& value) {
69 m_snapshotTimeOfDayHasBeenSet = true;
70 m_snapshotTimeOfDay = std::forward<SnapshotTimeOfDayT>(value);
71 }
72 template <typename SnapshotTimeOfDayT = Aws::String>
73 AutoSnapshotAddOnRequest& WithSnapshotTimeOfDay(SnapshotTimeOfDayT&& value) {
74 SetSnapshotTimeOfDay(std::forward<SnapshotTimeOfDayT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_snapshotTimeOfDay;
80 bool m_snapshotTimeOfDayHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Lightsail
85} // namespace Aws
AWS_LIGHTSAIL_API AutoSnapshotAddOnRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LIGHTSAIL_API AutoSnapshotAddOnRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoSnapshotAddOnRequest & WithSnapshotTimeOfDay(SnapshotTimeOfDayT &&value)
AWS_LIGHTSAIL_API AutoSnapshotAddOnRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue