AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
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 template<typename WaitForT = Aws::String>
51 void SetWaitFor(WaitForT&& value) { m_waitForHasBeenSet = true; m_waitFor = std::forward<WaitForT>(value); }
52 template<typename WaitForT = Aws::String>
53 WaitTime& WithWaitFor(WaitForT&& value) { SetWaitFor(std::forward<WaitForT>(value)); return *this;}
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) { m_waitUntilHasBeenSet = true; m_waitUntil = std::forward<WaitUntilT>(value); }
66 template<typename WaitUntilT = Aws::String>
67 WaitTime& WithWaitUntil(WaitUntilT&& value) { SetWaitUntil(std::forward<WaitUntilT>(value)); return *this;}
69 private:
70
71 Aws::String m_waitFor;
72 bool m_waitForHasBeenSet = false;
73
74 Aws::String m_waitUntil;
75 bool m_waitUntilHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Pinpoint
80} // namespace Aws
void SetWaitFor(WaitForT &&value)
Definition WaitTime.h:51
const Aws::String & GetWaitUntil() const
Definition WaitTime.h:62
WaitTime & WithWaitFor(WaitForT &&value)
Definition WaitTime.h:53
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:48
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:67
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue