AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpeningHoursComponents.h
1
6#pragma once
7#include <aws/geo-places/GeoPlaces_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 GeoPlaces
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GEOPLACES_API OpeningHoursComponents();
37 AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline const Aws::String& GetOpenTime() const{ return m_openTime; }
46 inline bool OpenTimeHasBeenSet() const { return m_openTimeHasBeenSet; }
47 inline void SetOpenTime(const Aws::String& value) { m_openTimeHasBeenSet = true; m_openTime = value; }
48 inline void SetOpenTime(Aws::String&& value) { m_openTimeHasBeenSet = true; m_openTime = std::move(value); }
49 inline void SetOpenTime(const char* value) { m_openTimeHasBeenSet = true; m_openTime.assign(value); }
50 inline OpeningHoursComponents& WithOpenTime(const Aws::String& value) { SetOpenTime(value); return *this;}
51 inline OpeningHoursComponents& WithOpenTime(Aws::String&& value) { SetOpenTime(std::move(value)); return *this;}
52 inline OpeningHoursComponents& WithOpenTime(const char* value) { SetOpenTime(value); return *this;}
54
56
60 inline const Aws::String& GetOpenDuration() const{ return m_openDuration; }
61 inline bool OpenDurationHasBeenSet() const { return m_openDurationHasBeenSet; }
62 inline void SetOpenDuration(const Aws::String& value) { m_openDurationHasBeenSet = true; m_openDuration = value; }
63 inline void SetOpenDuration(Aws::String&& value) { m_openDurationHasBeenSet = true; m_openDuration = std::move(value); }
64 inline void SetOpenDuration(const char* value) { m_openDurationHasBeenSet = true; m_openDuration.assign(value); }
65 inline OpeningHoursComponents& WithOpenDuration(const Aws::String& value) { SetOpenDuration(value); return *this;}
66 inline OpeningHoursComponents& WithOpenDuration(Aws::String&& value) { SetOpenDuration(std::move(value)); return *this;}
67 inline OpeningHoursComponents& WithOpenDuration(const char* value) { SetOpenDuration(value); return *this;}
69
71
75 inline const Aws::String& GetRecurrence() const{ return m_recurrence; }
76 inline bool RecurrenceHasBeenSet() const { return m_recurrenceHasBeenSet; }
77 inline void SetRecurrence(const Aws::String& value) { m_recurrenceHasBeenSet = true; m_recurrence = value; }
78 inline void SetRecurrence(Aws::String&& value) { m_recurrenceHasBeenSet = true; m_recurrence = std::move(value); }
79 inline void SetRecurrence(const char* value) { m_recurrenceHasBeenSet = true; m_recurrence.assign(value); }
80 inline OpeningHoursComponents& WithRecurrence(const Aws::String& value) { SetRecurrence(value); return *this;}
81 inline OpeningHoursComponents& WithRecurrence(Aws::String&& value) { SetRecurrence(std::move(value)); return *this;}
82 inline OpeningHoursComponents& WithRecurrence(const char* value) { SetRecurrence(value); return *this;}
84 private:
85
86 Aws::String m_openTime;
87 bool m_openTimeHasBeenSet = false;
88
89 Aws::String m_openDuration;
90 bool m_openDurationHasBeenSet = false;
91
92 Aws::String m_recurrence;
93 bool m_recurrenceHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace GeoPlaces
98} // namespace Aws
AWS_GEOPLACES_API OpeningHoursComponents(Aws::Utils::Json::JsonView jsonValue)
OpeningHoursComponents & WithOpenDuration(const char *value)
OpeningHoursComponents & WithOpenTime(const Aws::String &value)
OpeningHoursComponents & WithOpenTime(const char *value)
OpeningHoursComponents & WithOpenDuration(Aws::String &&value)
OpeningHoursComponents & WithRecurrence(const Aws::String &value)
OpeningHoursComponents & WithOpenDuration(const Aws::String &value)
OpeningHoursComponents & WithOpenTime(Aws::String &&value)
OpeningHoursComponents & WithRecurrence(const char *value)
AWS_GEOPLACES_API Aws::Utils::Json::JsonValue Jsonize() const
OpeningHoursComponents & WithRecurrence(Aws::String &&value)
AWS_GEOPLACES_API OpeningHoursComponents & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue