AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueueInfo.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CONNECT_API QueueInfo();
37 AWS_CONNECT_API QueueInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECT_API QueueInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const{ return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline QueueInfo& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline QueueInfo& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline QueueInfo& WithId(const char* value) { SetId(value); return *this;}
55
57
60 inline const Aws::Utils::DateTime& GetEnqueueTimestamp() const{ return m_enqueueTimestamp; }
61 inline bool EnqueueTimestampHasBeenSet() const { return m_enqueueTimestampHasBeenSet; }
62 inline void SetEnqueueTimestamp(const Aws::Utils::DateTime& value) { m_enqueueTimestampHasBeenSet = true; m_enqueueTimestamp = value; }
63 inline void SetEnqueueTimestamp(Aws::Utils::DateTime&& value) { m_enqueueTimestampHasBeenSet = true; m_enqueueTimestamp = std::move(value); }
64 inline QueueInfo& WithEnqueueTimestamp(const Aws::Utils::DateTime& value) { SetEnqueueTimestamp(value); return *this;}
65 inline QueueInfo& WithEnqueueTimestamp(Aws::Utils::DateTime&& value) { SetEnqueueTimestamp(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_id;
70 bool m_idHasBeenSet = false;
71
72 Aws::Utils::DateTime m_enqueueTimestamp;
73 bool m_enqueueTimestampHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Connect
78} // namespace Aws
void SetEnqueueTimestamp(const Aws::Utils::DateTime &value)
Definition QueueInfo.h:62
const Aws::Utils::DateTime & GetEnqueueTimestamp() const
Definition QueueInfo.h:60
AWS_CONNECT_API QueueInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
QueueInfo & WithId(const char *value)
Definition QueueInfo.h:53
const Aws::String & GetId() const
Definition QueueInfo.h:46
QueueInfo & WithId(Aws::String &&value)
Definition QueueInfo.h:52
QueueInfo & WithEnqueueTimestamp(const Aws::Utils::DateTime &value)
Definition QueueInfo.h:64
AWS_CONNECT_API QueueInfo(Aws::Utils::Json::JsonView jsonValue)
void SetId(const char *value)
Definition QueueInfo.h:50
QueueInfo & WithId(const Aws::String &value)
Definition QueueInfo.h:51
void SetId(Aws::String &&value)
Definition QueueInfo.h:49
void SetEnqueueTimestamp(Aws::Utils::DateTime &&value)
Definition QueueInfo.h:63
QueueInfo & WithEnqueueTimestamp(Aws::Utils::DateTime &&value)
Definition QueueInfo.h:65
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool EnqueueTimestampHasBeenSet() const
Definition QueueInfo.h:61
void SetId(const Aws::String &value)
Definition QueueInfo.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue