AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SupportedHour.h
1
6#pragma once
7#include <aws/support/Support_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 Support
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SUPPORT_API SupportedHour();
36 AWS_SUPPORT_API SupportedHour(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStartTime() const{ return m_startTime; }
46 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
47 inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
48 inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
49 inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
50 inline SupportedHour& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
51 inline SupportedHour& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
52 inline SupportedHour& WithStartTime(const char* value) { SetStartTime(value); return *this;}
54
56
59 inline const Aws::String& GetEndTime() const{ return m_endTime; }
60 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
61 inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
62 inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
63 inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); }
64 inline SupportedHour& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;}
65 inline SupportedHour& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;}
66 inline SupportedHour& WithEndTime(const char* value) { SetEndTime(value); return *this;}
68 private:
69
70 Aws::String m_startTime;
71 bool m_startTimeHasBeenSet = false;
72
73 Aws::String m_endTime;
74 bool m_endTimeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Support
79} // namespace Aws
void SetStartTime(Aws::String &&value)
void SetStartTime(const Aws::String &value)
const Aws::String & GetStartTime() const
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndTime(const Aws::String &value)
SupportedHour & WithEndTime(Aws::String &&value)
AWS_SUPPORT_API SupportedHour & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndTime(const char *value)
void SetStartTime(const char *value)
const Aws::String & GetEndTime() const
SupportedHour & WithEndTime(const char *value)
SupportedHour & WithStartTime(Aws::String &&value)
void SetEndTime(Aws::String &&value)
SupportedHour & WithStartTime(const Aws::String &value)
SupportedHour & WithStartTime(const char *value)
SupportedHour & WithEndTime(const Aws::String &value)
AWS_SUPPORT_API SupportedHour(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue