AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDeliveredTimestamp(const Aws::String& value) { m_deliveredTimestampHasBeenSet = true; m_deliveredTimestamp = value; }
48 inline void SetDeliveredTimestamp(Aws::String&& value) { m_deliveredTimestampHasBeenSet = true; m_deliveredTimestamp = std::move(value); }
49 inline void SetDeliveredTimestamp(const char* value) { m_deliveredTimestampHasBeenSet = true; m_deliveredTimestamp.assign(value); }
50 inline Receipt& WithDeliveredTimestamp(const Aws::String& value) { SetDeliveredTimestamp(value); return *this;}
51 inline Receipt& WithDeliveredTimestamp(Aws::String&& value) { SetDeliveredTimestamp(std::move(value)); return *this;}
52 inline Receipt& WithDeliveredTimestamp(const char* value) { SetDeliveredTimestamp(value); return *this;}
54
56
59 inline const Aws::String& GetReadTimestamp() const{ return m_readTimestamp; }
60 inline bool ReadTimestampHasBeenSet() const { return m_readTimestampHasBeenSet; }
61 inline void SetReadTimestamp(const Aws::String& value) { m_readTimestampHasBeenSet = true; m_readTimestamp = value; }
62 inline void SetReadTimestamp(Aws::String&& value) { m_readTimestampHasBeenSet = true; m_readTimestamp = std::move(value); }
63 inline void SetReadTimestamp(const char* value) { m_readTimestampHasBeenSet = true; m_readTimestamp.assign(value); }
64 inline Receipt& WithReadTimestamp(const Aws::String& value) { SetReadTimestamp(value); return *this;}
65 inline Receipt& WithReadTimestamp(Aws::String&& value) { SetReadTimestamp(std::move(value)); return *this;}
66 inline Receipt& WithReadTimestamp(const char* value) { SetReadTimestamp(value); return *this;}
68
70
73 inline const Aws::String& GetRecipientParticipantId() const{ return m_recipientParticipantId; }
74 inline bool RecipientParticipantIdHasBeenSet() const { return m_recipientParticipantIdHasBeenSet; }
75 inline void SetRecipientParticipantId(const Aws::String& value) { m_recipientParticipantIdHasBeenSet = true; m_recipientParticipantId = value; }
76 inline void SetRecipientParticipantId(Aws::String&& value) { m_recipientParticipantIdHasBeenSet = true; m_recipientParticipantId = std::move(value); }
77 inline void SetRecipientParticipantId(const char* value) { m_recipientParticipantIdHasBeenSet = true; m_recipientParticipantId.assign(value); }
78 inline Receipt& WithRecipientParticipantId(const Aws::String& value) { SetRecipientParticipantId(value); return *this;}
79 inline Receipt& WithRecipientParticipantId(Aws::String&& value) { SetRecipientParticipantId(std::move(value)); return *this;}
80 inline Receipt& WithRecipientParticipantId(const char* value) { SetRecipientParticipantId(value); return *this;}
82 private:
83
84 Aws::String m_deliveredTimestamp;
85 bool m_deliveredTimestampHasBeenSet = false;
86
87 Aws::String m_readTimestamp;
88 bool m_readTimestampHasBeenSet = false;
89
90 Aws::String m_recipientParticipantId;
91 bool m_recipientParticipantIdHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ConnectParticipant
96} // namespace Aws
Receipt & WithRecipientParticipantId(Aws::String &&value)
Definition Receipt.h:79
const Aws::String & GetRecipientParticipantId() const
Definition Receipt.h:73
void SetRecipientParticipantId(Aws::String &&value)
Definition Receipt.h:76
Receipt & WithRecipientParticipantId(const char *value)
Definition Receipt.h:80
void SetRecipientParticipantId(const char *value)
Definition Receipt.h:77
Receipt & WithDeliveredTimestamp(const Aws::String &value)
Definition Receipt.h:50
Receipt & WithReadTimestamp(const Aws::String &value)
Definition Receipt.h:64
Receipt & WithReadTimestamp(const char *value)
Definition Receipt.h:66
AWS_CONNECTPARTICIPANT_API Receipt & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRecipientParticipantId(const Aws::String &value)
Definition Receipt.h:75
void SetReadTimestamp(const Aws::String &value)
Definition Receipt.h:61
void SetDeliveredTimestamp(const char *value)
Definition Receipt.h:49
Receipt & WithReadTimestamp(Aws::String &&value)
Definition Receipt.h:65
void SetDeliveredTimestamp(Aws::String &&value)
Definition Receipt.h:48
AWS_CONNECTPARTICIPANT_API Receipt(Aws::Utils::Json::JsonView jsonValue)
void SetDeliveredTimestamp(const Aws::String &value)
Definition Receipt.h:47
const Aws::String & GetDeliveredTimestamp() const
Definition Receipt.h:45
AWS_CONNECTPARTICIPANT_API Receipt()
void SetReadTimestamp(const char *value)
Definition Receipt.h:63
const Aws::String & GetReadTimestamp() const
Definition Receipt.h:59
AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const
Receipt & WithDeliveredTimestamp(Aws::String &&value)
Definition Receipt.h:51
void SetReadTimestamp(Aws::String &&value)
Definition Receipt.h:62
Receipt & WithDeliveredTimestamp(const char *value)
Definition Receipt.h:52
Receipt & WithRecipientParticipantId(const Aws::String &value)
Definition Receipt.h:78
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue