AWS SDK for C++  1.9.104
AWS SDK for C++
AutoSnapshotAddOnRequest.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Lightsail
22 {
23 namespace Model
24 {
25 
55  {
56  public:
61 
62 
70  inline const Aws::String& GetSnapshotTimeOfDay() const{ return m_snapshotTimeOfDay; }
71 
79  inline bool SnapshotTimeOfDayHasBeenSet() const { return m_snapshotTimeOfDayHasBeenSet; }
80 
88  inline void SetSnapshotTimeOfDay(const Aws::String& value) { m_snapshotTimeOfDayHasBeenSet = true; m_snapshotTimeOfDay = value; }
89 
97  inline void SetSnapshotTimeOfDay(Aws::String&& value) { m_snapshotTimeOfDayHasBeenSet = true; m_snapshotTimeOfDay = std::move(value); }
98 
106  inline void SetSnapshotTimeOfDay(const char* value) { m_snapshotTimeOfDayHasBeenSet = true; m_snapshotTimeOfDay.assign(value); }
107 
115  inline AutoSnapshotAddOnRequest& WithSnapshotTimeOfDay(const Aws::String& value) { SetSnapshotTimeOfDay(value); return *this;}
116 
124  inline AutoSnapshotAddOnRequest& WithSnapshotTimeOfDay(Aws::String&& value) { SetSnapshotTimeOfDay(std::move(value)); return *this;}
125 
133  inline AutoSnapshotAddOnRequest& WithSnapshotTimeOfDay(const char* value) { SetSnapshotTimeOfDay(value); return *this;}
134 
135  private:
136 
137  Aws::String m_snapshotTimeOfDay;
138  bool m_snapshotTimeOfDayHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace Lightsail
143 } // namespace Aws
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::SetSnapshotTimeOfDay
void SetSnapshotTimeOfDay(Aws::String &&value)
Definition: AutoSnapshotAddOnRequest.h:97
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::SnapshotTimeOfDayHasBeenSet
bool SnapshotTimeOfDayHasBeenSet() const
Definition: AutoSnapshotAddOnRequest.h:79
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::WithSnapshotTimeOfDay
AutoSnapshotAddOnRequest & WithSnapshotTimeOfDay(const Aws::String &value)
Definition: AutoSnapshotAddOnRequest.h:115
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::operator=
AutoSnapshotAddOnRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSString.h
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::SetSnapshotTimeOfDay
void SetSnapshotTimeOfDay(const Aws::String &value)
Definition: AutoSnapshotAddOnRequest.h:88
Lightsail_EXPORTS.h
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::SetSnapshotTimeOfDay
void SetSnapshotTimeOfDay(const char *value)
Definition: AutoSnapshotAddOnRequest.h:106
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::WithSnapshotTimeOfDay
AutoSnapshotAddOnRequest & WithSnapshotTimeOfDay(Aws::String &&value)
Definition: AutoSnapshotAddOnRequest.h:124
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::WithSnapshotTimeOfDay
AutoSnapshotAddOnRequest & WithSnapshotTimeOfDay(const char *value)
Definition: AutoSnapshotAddOnRequest.h:133
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::GetSnapshotTimeOfDay
const Aws::String & GetSnapshotTimeOfDay() const
Definition: AutoSnapshotAddOnRequest.h:70
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::AutoSnapshotAddOnRequest
AutoSnapshotAddOnRequest(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::AutoSnapshotAddOnRequest
Definition: AutoSnapshotAddOnRequest.h:55
Aws::Lightsail::Model::AutoSnapshotAddOnRequest::AutoSnapshotAddOnRequest
AutoSnapshotAddOnRequest()