AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QuietTime.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_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 Pinpoint
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PINPOINT_API QuietTime();
36 AWS_PINPOINT_API QuietTime(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PINPOINT_API QuietTime& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetEnd() const{ return m_end; }
49 inline bool EndHasBeenSet() const { return m_endHasBeenSet; }
50 inline void SetEnd(const Aws::String& value) { m_endHasBeenSet = true; m_end = value; }
51 inline void SetEnd(Aws::String&& value) { m_endHasBeenSet = true; m_end = std::move(value); }
52 inline void SetEnd(const char* value) { m_endHasBeenSet = true; m_end.assign(value); }
53 inline QuietTime& WithEnd(const Aws::String& value) { SetEnd(value); return *this;}
54 inline QuietTime& WithEnd(Aws::String&& value) { SetEnd(std::move(value)); return *this;}
55 inline QuietTime& WithEnd(const char* value) { SetEnd(value); return *this;}
57
59
65 inline const Aws::String& GetStart() const{ return m_start; }
66 inline bool StartHasBeenSet() const { return m_startHasBeenSet; }
67 inline void SetStart(const Aws::String& value) { m_startHasBeenSet = true; m_start = value; }
68 inline void SetStart(Aws::String&& value) { m_startHasBeenSet = true; m_start = std::move(value); }
69 inline void SetStart(const char* value) { m_startHasBeenSet = true; m_start.assign(value); }
70 inline QuietTime& WithStart(const Aws::String& value) { SetStart(value); return *this;}
71 inline QuietTime& WithStart(Aws::String&& value) { SetStart(std::move(value)); return *this;}
72 inline QuietTime& WithStart(const char* value) { SetStart(value); return *this;}
74 private:
75
76 Aws::String m_end;
77 bool m_endHasBeenSet = false;
78
79 Aws::String m_start;
80 bool m_startHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace Pinpoint
85} // namespace Aws
AWS_PINPOINT_API QuietTime(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStart() const
Definition QuietTime.h:65
AWS_PINPOINT_API QuietTime & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStart(const Aws::String &value)
Definition QuietTime.h:67
QuietTime & WithStart(const char *value)
Definition QuietTime.h:72
void SetEnd(Aws::String &&value)
Definition QuietTime.h:51
QuietTime & WithEnd(const Aws::String &value)
Definition QuietTime.h:53
QuietTime & WithEnd(Aws::String &&value)
Definition QuietTime.h:54
AWS_PINPOINT_API QuietTime()
const Aws::String & GetEnd() const
Definition QuietTime.h:48
void SetEnd(const Aws::String &value)
Definition QuietTime.h:50
void SetEnd(const char *value)
Definition QuietTime.h:52
void SetStart(const char *value)
Definition QuietTime.h:69
void SetStart(Aws::String &&value)
Definition QuietTime.h:68
QuietTime & WithStart(const Aws::String &value)
Definition QuietTime.h:70
QuietTime & WithStart(Aws::String &&value)
Definition QuietTime.h:71
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
QuietTime & WithEnd(const char *value)
Definition QuietTime.h:55
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue