AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoSnapshotAddOnRequest.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 Lightsail
22{
23namespace Model
24{
25
55 {
56 public:
57 AWS_LIGHTSAIL_API AutoSnapshotAddOnRequest();
60 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
61
62
64
71 inline const Aws::String& GetSnapshotTimeOfDay() const{ return m_snapshotTimeOfDay; }
72 inline bool SnapshotTimeOfDayHasBeenSet() const { return m_snapshotTimeOfDayHasBeenSet; }
73 inline void SetSnapshotTimeOfDay(const Aws::String& value) { m_snapshotTimeOfDayHasBeenSet = true; m_snapshotTimeOfDay = value; }
74 inline void SetSnapshotTimeOfDay(Aws::String&& value) { m_snapshotTimeOfDayHasBeenSet = true; m_snapshotTimeOfDay = std::move(value); }
75 inline void SetSnapshotTimeOfDay(const char* value) { m_snapshotTimeOfDayHasBeenSet = true; m_snapshotTimeOfDay.assign(value); }
77 inline AutoSnapshotAddOnRequest& WithSnapshotTimeOfDay(Aws::String&& value) { SetSnapshotTimeOfDay(std::move(value)); return *this;}
78 inline AutoSnapshotAddOnRequest& WithSnapshotTimeOfDay(const char* value) { SetSnapshotTimeOfDay(value); return *this;}
80 private:
81
82 Aws::String m_snapshotTimeOfDay;
83 bool m_snapshotTimeOfDayHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace Lightsail
88} // namespace Aws
AutoSnapshotAddOnRequest & WithSnapshotTimeOfDay(const Aws::String &value)
AutoSnapshotAddOnRequest & WithSnapshotTimeOfDay(const char *value)
AutoSnapshotAddOnRequest & WithSnapshotTimeOfDay(Aws::String &&value)
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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue