AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
QuietTime.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/Pinpoint_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Pinpoint {
20namespace Model {
21
28class QuietTime {
29 public:
30 AWS_PINPOINT_API QuietTime() = default;
31 AWS_PINPOINT_API QuietTime(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PINPOINT_API QuietTime& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetEnd() const { return m_end; }
43 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
44 template <typename EndT = Aws::String>
45 void SetEnd(EndT&& value) {
46 m_endHasBeenSet = true;
47 m_end = std::forward<EndT>(value);
48 }
49 template <typename EndT = Aws::String>
50 QuietTime& WithEnd(EndT&& value) {
51 SetEnd(std::forward<EndT>(value));
52 return *this;
53 }
55
57
63 inline const Aws::String& GetStart() const { return m_start; }
64 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
65 template <typename StartT = Aws::String>
66 void SetStart(StartT&& value) {
67 m_startHasBeenSet = true;
68 m_start = std::forward<StartT>(value);
69 }
70 template <typename StartT = Aws::String>
71 QuietTime& WithStart(StartT&& value) {
72 SetStart(std::forward<StartT>(value));
73 return *this;
74 }
76 private:
77 Aws::String m_end;
78 bool m_endHasBeenSet = false;
79
80 Aws::String m_start;
81 bool m_startHasBeenSet = false;
82};
83
84} // namespace Model
85} // namespace Pinpoint
86} // namespace Aws
AWS_PINPOINT_API QuietTime(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStart() const
Definition QuietTime.h:63
QuietTime & WithStart(StartT &&value)
Definition QuietTime.h:71
AWS_PINPOINT_API QuietTime & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEnd(EndT &&value)
Definition QuietTime.h:45
AWS_PINPOINT_API QuietTime()=default
QuietTime & WithEnd(EndT &&value)
Definition QuietTime.h:50
void SetStart(StartT &&value)
Definition QuietTime.h:66
const Aws::String & GetEnd() const
Definition QuietTime.h:42
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue