AWS SDK for C++

AWS SDK for C++ Version 1.11.905

Loading...
Searching...
No Matches
WhatsAppTimeOfDay.h
1
6#pragma once
7#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SocialMessaging {
17namespace Model {
18
25 public:
26 AWS_SOCIALMESSAGING_API WhatsAppTimeOfDay() = default;
27 AWS_SOCIALMESSAGING_API WhatsAppTimeOfDay(Aws::Utils::Json::JsonView jsonValue);
28 AWS_SOCIALMESSAGING_API WhatsAppTimeOfDay& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetHours() const { return m_hours; }
36 inline bool HoursHasBeenSet() const { return m_hoursHasBeenSet; }
37 inline void SetHours(int value) {
38 m_hoursHasBeenSet = true;
39 m_hours = value;
40 }
41 inline WhatsAppTimeOfDay& WithHours(int value) {
42 SetHours(value);
43 return *this;
44 }
46
48
51 inline int GetMinutes() const { return m_minutes; }
52 inline bool MinutesHasBeenSet() const { return m_minutesHasBeenSet; }
53 inline void SetMinutes(int value) {
54 m_minutesHasBeenSet = true;
55 m_minutes = value;
56 }
57 inline WhatsAppTimeOfDay& WithMinutes(int value) {
58 SetMinutes(value);
59 return *this;
60 }
62 private:
63 int m_hours{0};
64
65 int m_minutes{0};
66 bool m_hoursHasBeenSet = false;
67 bool m_minutesHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace SocialMessaging
72} // namespace Aws
AWS_SOCIALMESSAGING_API WhatsAppTimeOfDay(Aws::Utils::Json::JsonView jsonValue)
AWS_SOCIALMESSAGING_API WhatsAppTimeOfDay & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SOCIALMESSAGING_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SOCIALMESSAGING_API WhatsAppTimeOfDay()=default
Aws::Utils::Json::JsonValue JsonValue