AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WaitTime.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
34 {
35 public:
36 AWS_PINPOINT_API WaitTime();
37 AWS_PINPOINT_API WaitTime(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PINPOINT_API WaitTime& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::String& GetWaitFor() const{ return m_waitFor; }
49 inline bool WaitForHasBeenSet() const { return m_waitForHasBeenSet; }
50 inline void SetWaitFor(const Aws::String& value) { m_waitForHasBeenSet = true; m_waitFor = value; }
51 inline void SetWaitFor(Aws::String&& value) { m_waitForHasBeenSet = true; m_waitFor = std::move(value); }
52 inline void SetWaitFor(const char* value) { m_waitForHasBeenSet = true; m_waitFor.assign(value); }
53 inline WaitTime& WithWaitFor(const Aws::String& value) { SetWaitFor(value); return *this;}
54 inline WaitTime& WithWaitFor(Aws::String&& value) { SetWaitFor(std::move(value)); return *this;}
55 inline WaitTime& WithWaitFor(const char* value) { SetWaitFor(value); return *this;}
57
59
64 inline const Aws::String& GetWaitUntil() const{ return m_waitUntil; }
65 inline bool WaitUntilHasBeenSet() const { return m_waitUntilHasBeenSet; }
66 inline void SetWaitUntil(const Aws::String& value) { m_waitUntilHasBeenSet = true; m_waitUntil = value; }
67 inline void SetWaitUntil(Aws::String&& value) { m_waitUntilHasBeenSet = true; m_waitUntil = std::move(value); }
68 inline void SetWaitUntil(const char* value) { m_waitUntilHasBeenSet = true; m_waitUntil.assign(value); }
69 inline WaitTime& WithWaitUntil(const Aws::String& value) { SetWaitUntil(value); return *this;}
70 inline WaitTime& WithWaitUntil(Aws::String&& value) { SetWaitUntil(std::move(value)); return *this;}
71 inline WaitTime& WithWaitUntil(const char* value) { SetWaitUntil(value); return *this;}
73 private:
74
75 Aws::String m_waitFor;
76 bool m_waitForHasBeenSet = false;
77
78 Aws::String m_waitUntil;
79 bool m_waitUntilHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Pinpoint
84} // namespace Aws
WaitTime & WithWaitFor(const Aws::String &value)
Definition WaitTime.h:53
void SetWaitUntil(const char *value)
Definition WaitTime.h:68
WaitTime & WithWaitFor(const char *value)
Definition WaitTime.h:55
WaitTime & WithWaitUntil(const Aws::String &value)
Definition WaitTime.h:69
WaitTime & WithWaitUntil(const char *value)
Definition WaitTime.h:71
WaitTime & WithWaitFor(Aws::String &&value)
Definition WaitTime.h:54
WaitTime & WithWaitUntil(Aws::String &&value)
Definition WaitTime.h:70
const Aws::String & GetWaitUntil() const
Definition WaitTime.h:64
void SetWaitFor(const char *value)
Definition WaitTime.h:52
void SetWaitFor(const Aws::String &value)
Definition WaitTime.h:50
void SetWaitFor(Aws::String &&value)
Definition WaitTime.h:51
bool WaitUntilHasBeenSet() const
Definition WaitTime.h:65
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWaitUntil(Aws::String &&value)
Definition WaitTime.h:67
const Aws::String & GetWaitFor() const
Definition WaitTime.h:48
AWS_PINPOINT_API WaitTime & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API WaitTime()
AWS_PINPOINT_API WaitTime(Aws::Utils::Json::JsonView jsonValue)
void SetWaitUntil(const Aws::String &value)
Definition WaitTime.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue