AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 ConnectParticipant
22{
23namespace Model
24{
25
32 class Receipt
33 {
34 public:
35 AWS_CONNECTPARTICIPANT_API Receipt() = default;
36 AWS_CONNECTPARTICIPANT_API Receipt(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CONNECTPARTICIPANT_API Receipt& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDeliveredTimestamp() const { return m_deliveredTimestamp; }
46 inline bool DeliveredTimestampHasBeenSet() const { return m_deliveredTimestampHasBeenSet; }
47 template<typename DeliveredTimestampT = Aws::String>
48 void SetDeliveredTimestamp(DeliveredTimestampT&& value) { m_deliveredTimestampHasBeenSet = true; m_deliveredTimestamp = std::forward<DeliveredTimestampT>(value); }
49 template<typename DeliveredTimestampT = Aws::String>
50 Receipt& WithDeliveredTimestamp(DeliveredTimestampT&& value) { SetDeliveredTimestamp(std::forward<DeliveredTimestampT>(value)); return *this;}
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) { m_readTimestampHasBeenSet = true; m_readTimestamp = std::forward<ReadTimestampT>(value); }
61 template<typename ReadTimestampT = Aws::String>
62 Receipt& WithReadTimestamp(ReadTimestampT&& value) { SetReadTimestamp(std::forward<ReadTimestampT>(value)); return *this;}
64
66
69 inline const Aws::String& GetRecipientParticipantId() const { return m_recipientParticipantId; }
70 inline bool RecipientParticipantIdHasBeenSet() const { return m_recipientParticipantIdHasBeenSet; }
71 template<typename RecipientParticipantIdT = Aws::String>
72 void SetRecipientParticipantId(RecipientParticipantIdT&& value) { m_recipientParticipantIdHasBeenSet = true; m_recipientParticipantId = std::forward<RecipientParticipantIdT>(value); }
73 template<typename RecipientParticipantIdT = Aws::String>
74 Receipt& WithRecipientParticipantId(RecipientParticipantIdT&& value) { SetRecipientParticipantId(std::forward<RecipientParticipantIdT>(value)); return *this;}
76 private:
77
78 Aws::String m_deliveredTimestamp;
79 bool m_deliveredTimestampHasBeenSet = false;
80
81 Aws::String m_readTimestamp;
82 bool m_readTimestampHasBeenSet = false;
83
84 Aws::String m_recipientParticipantId;
85 bool m_recipientParticipantIdHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace ConnectParticipant
90} // namespace Aws
const Aws::String & GetRecipientParticipantId() const
Definition Receipt.h:69
void SetRecipientParticipantId(RecipientParticipantIdT &&value)
Definition Receipt.h:72
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:50
Receipt & WithRecipientParticipantId(RecipientParticipantIdT &&value)
Definition Receipt.h:74
Receipt & WithReadTimestamp(ReadTimestampT &&value)
Definition Receipt.h:62
AWS_CONNECTPARTICIPANT_API Receipt(Aws::Utils::Json::JsonView jsonValue)
void SetDeliveredTimestamp(DeliveredTimestampT &&value)
Definition Receipt.h:48
const Aws::String & GetDeliveredTimestamp() const
Definition Receipt.h:45
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