AWS SDK for C++

AWS SDK for C++ Version 1.11.686

Loading...
Searching...
No Matches
Receipt.h
1
6#pragma once
7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ConnectParticipant {
20namespace Model {
21
28class Receipt {
29 public:
30 AWS_CONNECTPARTICIPANT_API Receipt() = default;
31 AWS_CONNECTPARTICIPANT_API Receipt(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CONNECTPARTICIPANT_API Receipt& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetDeliveredTimestamp() const { return m_deliveredTimestamp; }
40 inline bool DeliveredTimestampHasBeenSet() const { return m_deliveredTimestampHasBeenSet; }
41 template <typename DeliveredTimestampT = Aws::String>
42 void SetDeliveredTimestamp(DeliveredTimestampT&& value) {
43 m_deliveredTimestampHasBeenSet = true;
44 m_deliveredTimestamp = std::forward<DeliveredTimestampT>(value);
45 }
46 template <typename DeliveredTimestampT = Aws::String>
47 Receipt& WithDeliveredTimestamp(DeliveredTimestampT&& value) {
48 SetDeliveredTimestamp(std::forward<DeliveredTimestampT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetReadTimestamp() const { return m_readTimestamp; }
58 inline bool ReadTimestampHasBeenSet() const { return m_readTimestampHasBeenSet; }
59 template <typename ReadTimestampT = Aws::String>
60 void SetReadTimestamp(ReadTimestampT&& value) {
61 m_readTimestampHasBeenSet = true;
62 m_readTimestamp = std::forward<ReadTimestampT>(value);
63 }
64 template <typename ReadTimestampT = Aws::String>
65 Receipt& WithReadTimestamp(ReadTimestampT&& value) {
66 SetReadTimestamp(std::forward<ReadTimestampT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetRecipientParticipantId() const { return m_recipientParticipantId; }
76 inline bool RecipientParticipantIdHasBeenSet() const { return m_recipientParticipantIdHasBeenSet; }
77 template <typename RecipientParticipantIdT = Aws::String>
78 void SetRecipientParticipantId(RecipientParticipantIdT&& value) {
79 m_recipientParticipantIdHasBeenSet = true;
80 m_recipientParticipantId = std::forward<RecipientParticipantIdT>(value);
81 }
82 template <typename RecipientParticipantIdT = Aws::String>
83 Receipt& WithRecipientParticipantId(RecipientParticipantIdT&& value) {
84 SetRecipientParticipantId(std::forward<RecipientParticipantIdT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_deliveredTimestamp;
90 bool m_deliveredTimestampHasBeenSet = false;
91
92 Aws::String m_readTimestamp;
93 bool m_readTimestampHasBeenSet = false;
94
95 Aws::String m_recipientParticipantId;
96 bool m_recipientParticipantIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace ConnectParticipant
101} // namespace Aws
const Aws::String & GetRecipientParticipantId() const
Definition Receipt.h:75
void SetRecipientParticipantId(RecipientParticipantIdT &&value)
Definition Receipt.h:78
AWS_CONNECTPARTICIPANT_API Receipt & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetReadTimestamp(ReadTimestampT &&value)
Definition Receipt.h:60
Receipt & WithDeliveredTimestamp(DeliveredTimestampT &&value)
Definition Receipt.h:47
Receipt & WithRecipientParticipantId(RecipientParticipantIdT &&value)
Definition Receipt.h:83
Receipt & WithReadTimestamp(ReadTimestampT &&value)
Definition Receipt.h:65
AWS_CONNECTPARTICIPANT_API Receipt(Aws::Utils::Json::JsonView jsonValue)
void SetDeliveredTimestamp(DeliveredTimestampT &&value)
Definition Receipt.h:42
const Aws::String & GetDeliveredTimestamp() const
Definition Receipt.h:39
const Aws::String & GetReadTimestamp() const
Definition Receipt.h:57
AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECTPARTICIPANT_API Receipt()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue