AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TransferData.h
1
6#pragma once
7#include <aws/iot/IoT_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 IoT
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOT_API TransferData() = default;
40
41
43
46 inline const Aws::String& GetTransferMessage() const { return m_transferMessage; }
47 inline bool TransferMessageHasBeenSet() const { return m_transferMessageHasBeenSet; }
48 template<typename TransferMessageT = Aws::String>
49 void SetTransferMessage(TransferMessageT&& value) { m_transferMessageHasBeenSet = true; m_transferMessage = std::forward<TransferMessageT>(value); }
50 template<typename TransferMessageT = Aws::String>
51 TransferData& WithTransferMessage(TransferMessageT&& value) { SetTransferMessage(std::forward<TransferMessageT>(value)); return *this;}
53
55
58 inline const Aws::String& GetRejectReason() const { return m_rejectReason; }
59 inline bool RejectReasonHasBeenSet() const { return m_rejectReasonHasBeenSet; }
60 template<typename RejectReasonT = Aws::String>
61 void SetRejectReason(RejectReasonT&& value) { m_rejectReasonHasBeenSet = true; m_rejectReason = std::forward<RejectReasonT>(value); }
62 template<typename RejectReasonT = Aws::String>
63 TransferData& WithRejectReason(RejectReasonT&& value) { SetRejectReason(std::forward<RejectReasonT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetTransferDate() const { return m_transferDate; }
71 inline bool TransferDateHasBeenSet() const { return m_transferDateHasBeenSet; }
72 template<typename TransferDateT = Aws::Utils::DateTime>
73 void SetTransferDate(TransferDateT&& value) { m_transferDateHasBeenSet = true; m_transferDate = std::forward<TransferDateT>(value); }
74 template<typename TransferDateT = Aws::Utils::DateTime>
75 TransferData& WithTransferDate(TransferDateT&& value) { SetTransferDate(std::forward<TransferDateT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetAcceptDate() const { return m_acceptDate; }
83 inline bool AcceptDateHasBeenSet() const { return m_acceptDateHasBeenSet; }
84 template<typename AcceptDateT = Aws::Utils::DateTime>
85 void SetAcceptDate(AcceptDateT&& value) { m_acceptDateHasBeenSet = true; m_acceptDate = std::forward<AcceptDateT>(value); }
86 template<typename AcceptDateT = Aws::Utils::DateTime>
87 TransferData& WithAcceptDate(AcceptDateT&& value) { SetAcceptDate(std::forward<AcceptDateT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetRejectDate() const { return m_rejectDate; }
95 inline bool RejectDateHasBeenSet() const { return m_rejectDateHasBeenSet; }
96 template<typename RejectDateT = Aws::Utils::DateTime>
97 void SetRejectDate(RejectDateT&& value) { m_rejectDateHasBeenSet = true; m_rejectDate = std::forward<RejectDateT>(value); }
98 template<typename RejectDateT = Aws::Utils::DateTime>
99 TransferData& WithRejectDate(RejectDateT&& value) { SetRejectDate(std::forward<RejectDateT>(value)); return *this;}
101 private:
102
103 Aws::String m_transferMessage;
104 bool m_transferMessageHasBeenSet = false;
105
106 Aws::String m_rejectReason;
107 bool m_rejectReasonHasBeenSet = false;
108
109 Aws::Utils::DateTime m_transferDate{};
110 bool m_transferDateHasBeenSet = false;
111
112 Aws::Utils::DateTime m_acceptDate{};
113 bool m_acceptDateHasBeenSet = false;
114
115 Aws::Utils::DateTime m_rejectDate{};
116 bool m_rejectDateHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace IoT
121} // namespace Aws
void SetRejectDate(RejectDateT &&value)
AWS_IOT_API TransferData(Aws::Utils::Json::JsonView jsonValue)
TransferData & WithTransferMessage(TransferMessageT &&value)
const Aws::String & GetRejectReason() const
const Aws::Utils::DateTime & GetRejectDate() const
bool TransferMessageHasBeenSet() const
AWS_IOT_API TransferData & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API TransferData()=default
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetTransferDate() const
const Aws::Utils::DateTime & GetAcceptDate() const
void SetAcceptDate(AcceptDateT &&value)
TransferData & WithTransferDate(TransferDateT &&value)
void SetRejectReason(RejectReasonT &&value)
TransferData & WithRejectReason(RejectReasonT &&value)
void SetTransferDate(TransferDateT &&value)
const Aws::String & GetTransferMessage() const
TransferData & WithRejectDate(RejectDateT &&value)
void SetTransferMessage(TransferMessageT &&value)
TransferData & WithAcceptDate(AcceptDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue