AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
WaitTime.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
29class WaitTime {
30 public:
31 AWS_PINPOINT_API WaitTime() = default;
32 AWS_PINPOINT_API WaitTime(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PINPOINT_API WaitTime& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::String& GetWaitFor() const { return m_waitFor; }
43 inline bool WaitForHasBeenSet() const { return m_waitForHasBeenSet; }
44 template <typename WaitForT = Aws::String>
45 void SetWaitFor(WaitForT&& value) {
46 m_waitForHasBeenSet = true;
47 m_waitFor = std::forward<WaitForT>(value);
48 }
49 template <typename WaitForT = Aws::String>
50 WaitTime& WithWaitFor(WaitForT&& value) {
51 SetWaitFor(std::forward<WaitForT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetWaitUntil() const { return m_waitUntil; }
63 inline bool WaitUntilHasBeenSet() const { return m_waitUntilHasBeenSet; }
64 template <typename WaitUntilT = Aws::String>
65 void SetWaitUntil(WaitUntilT&& value) {
66 m_waitUntilHasBeenSet = true;
67 m_waitUntil = std::forward<WaitUntilT>(value);
68 }
69 template <typename WaitUntilT = Aws::String>
70 WaitTime& WithWaitUntil(WaitUntilT&& value) {
71 SetWaitUntil(std::forward<WaitUntilT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_waitFor;
77
78 Aws::String m_waitUntil;
79 bool m_waitForHasBeenSet = false;
80 bool m_waitUntilHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Pinpoint
85} // namespace Aws
void SetWaitFor(WaitForT &&value)
Definition WaitTime.h:45
const Aws::String & GetWaitUntil() const
Definition WaitTime.h:62
WaitTime & WithWaitFor(WaitForT &&value)
Definition WaitTime.h:50
bool WaitUntilHasBeenSet() const
Definition WaitTime.h:63
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetWaitUntil(WaitUntilT &&value)
Definition WaitTime.h:65
const Aws::String & GetWaitFor() const
Definition WaitTime.h:42
AWS_PINPOINT_API WaitTime & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API WaitTime(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API WaitTime()=default
WaitTime & WithWaitUntil(WaitUntilT &&value)
Definition WaitTime.h:70
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue