AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnoozeActionConfiguration.h
1
6#pragma once
7#include <aws/iotevents-data/IoTEventsData_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 IoTEventsData
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOTEVENTSDATA_API SnoozeActionConfiguration();
36 AWS_IOTEVENTSDATA_API SnoozeActionConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline int GetSnoozeDuration() const{ return m_snoozeDuration; }
47 inline bool SnoozeDurationHasBeenSet() const { return m_snoozeDurationHasBeenSet; }
48 inline void SetSnoozeDuration(int value) { m_snoozeDurationHasBeenSet = true; m_snoozeDuration = value; }
49 inline SnoozeActionConfiguration& WithSnoozeDuration(int value) { SetSnoozeDuration(value); return *this;}
51
53
56 inline const Aws::String& GetNote() const{ return m_note; }
57 inline bool NoteHasBeenSet() const { return m_noteHasBeenSet; }
58 inline void SetNote(const Aws::String& value) { m_noteHasBeenSet = true; m_note = value; }
59 inline void SetNote(Aws::String&& value) { m_noteHasBeenSet = true; m_note = std::move(value); }
60 inline void SetNote(const char* value) { m_noteHasBeenSet = true; m_note.assign(value); }
61 inline SnoozeActionConfiguration& WithNote(const Aws::String& value) { SetNote(value); return *this;}
62 inline SnoozeActionConfiguration& WithNote(Aws::String&& value) { SetNote(std::move(value)); return *this;}
63 inline SnoozeActionConfiguration& WithNote(const char* value) { SetNote(value); return *this;}
65 private:
66
67 int m_snoozeDuration;
68 bool m_snoozeDurationHasBeenSet = false;
69
70 Aws::String m_note;
71 bool m_noteHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace IoTEventsData
76} // namespace Aws
SnoozeActionConfiguration & WithNote(Aws::String &&value)
SnoozeActionConfiguration & WithSnoozeDuration(int value)
SnoozeActionConfiguration & WithNote(const Aws::String &value)
AWS_IOTEVENTSDATA_API SnoozeActionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTEVENTSDATA_API Aws::Utils::Json::JsonValue Jsonize() const
SnoozeActionConfiguration & WithNote(const char *value)
AWS_IOTEVENTSDATA_API SnoozeActionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue