AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetTransferMessage() const{ return m_transferMessage; }
47 inline bool TransferMessageHasBeenSet() const { return m_transferMessageHasBeenSet; }
48 inline void SetTransferMessage(const Aws::String& value) { m_transferMessageHasBeenSet = true; m_transferMessage = value; }
49 inline void SetTransferMessage(Aws::String&& value) { m_transferMessageHasBeenSet = true; m_transferMessage = std::move(value); }
50 inline void SetTransferMessage(const char* value) { m_transferMessageHasBeenSet = true; m_transferMessage.assign(value); }
51 inline TransferData& WithTransferMessage(const Aws::String& value) { SetTransferMessage(value); return *this;}
52 inline TransferData& WithTransferMessage(Aws::String&& value) { SetTransferMessage(std::move(value)); return *this;}
53 inline TransferData& WithTransferMessage(const char* value) { SetTransferMessage(value); return *this;}
55
57
60 inline const Aws::String& GetRejectReason() const{ return m_rejectReason; }
61 inline bool RejectReasonHasBeenSet() const { return m_rejectReasonHasBeenSet; }
62 inline void SetRejectReason(const Aws::String& value) { m_rejectReasonHasBeenSet = true; m_rejectReason = value; }
63 inline void SetRejectReason(Aws::String&& value) { m_rejectReasonHasBeenSet = true; m_rejectReason = std::move(value); }
64 inline void SetRejectReason(const char* value) { m_rejectReasonHasBeenSet = true; m_rejectReason.assign(value); }
65 inline TransferData& WithRejectReason(const Aws::String& value) { SetRejectReason(value); return *this;}
66 inline TransferData& WithRejectReason(Aws::String&& value) { SetRejectReason(std::move(value)); return *this;}
67 inline TransferData& WithRejectReason(const char* value) { SetRejectReason(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetTransferDate() const{ return m_transferDate; }
75 inline bool TransferDateHasBeenSet() const { return m_transferDateHasBeenSet; }
76 inline void SetTransferDate(const Aws::Utils::DateTime& value) { m_transferDateHasBeenSet = true; m_transferDate = value; }
77 inline void SetTransferDate(Aws::Utils::DateTime&& value) { m_transferDateHasBeenSet = true; m_transferDate = std::move(value); }
78 inline TransferData& WithTransferDate(const Aws::Utils::DateTime& value) { SetTransferDate(value); return *this;}
79 inline TransferData& WithTransferDate(Aws::Utils::DateTime&& value) { SetTransferDate(std::move(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetAcceptDate() const{ return m_acceptDate; }
87 inline bool AcceptDateHasBeenSet() const { return m_acceptDateHasBeenSet; }
88 inline void SetAcceptDate(const Aws::Utils::DateTime& value) { m_acceptDateHasBeenSet = true; m_acceptDate = value; }
89 inline void SetAcceptDate(Aws::Utils::DateTime&& value) { m_acceptDateHasBeenSet = true; m_acceptDate = std::move(value); }
90 inline TransferData& WithAcceptDate(const Aws::Utils::DateTime& value) { SetAcceptDate(value); return *this;}
91 inline TransferData& WithAcceptDate(Aws::Utils::DateTime&& value) { SetAcceptDate(std::move(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetRejectDate() const{ return m_rejectDate; }
99 inline bool RejectDateHasBeenSet() const { return m_rejectDateHasBeenSet; }
100 inline void SetRejectDate(const Aws::Utils::DateTime& value) { m_rejectDateHasBeenSet = true; m_rejectDate = value; }
101 inline void SetRejectDate(Aws::Utils::DateTime&& value) { m_rejectDateHasBeenSet = true; m_rejectDate = std::move(value); }
102 inline TransferData& WithRejectDate(const Aws::Utils::DateTime& value) { SetRejectDate(value); return *this;}
103 inline TransferData& WithRejectDate(Aws::Utils::DateTime&& value) { SetRejectDate(std::move(value)); return *this;}
105 private:
106
107 Aws::String m_transferMessage;
108 bool m_transferMessageHasBeenSet = false;
109
110 Aws::String m_rejectReason;
111 bool m_rejectReasonHasBeenSet = false;
112
113 Aws::Utils::DateTime m_transferDate;
114 bool m_transferDateHasBeenSet = false;
115
116 Aws::Utils::DateTime m_acceptDate;
117 bool m_acceptDateHasBeenSet = false;
118
119 Aws::Utils::DateTime m_rejectDate;
120 bool m_rejectDateHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace IoT
125} // namespace Aws
void SetRejectReason(Aws::String &&value)
AWS_IOT_API TransferData(Aws::Utils::Json::JsonView jsonValue)
TransferData & WithRejectDate(const Aws::Utils::DateTime &value)
const Aws::String & GetRejectReason() const
const Aws::Utils::DateTime & GetRejectDate() const
TransferData & WithAcceptDate(const Aws::Utils::DateTime &value)
TransferData & WithAcceptDate(Aws::Utils::DateTime &&value)
void SetAcceptDate(const Aws::Utils::DateTime &value)
bool TransferMessageHasBeenSet() const
TransferData & WithTransferMessage(Aws::String &&value)
AWS_IOT_API TransferData & operator=(Aws::Utils::Json::JsonView jsonValue)
TransferData & WithTransferMessage(const char *value)
void SetTransferMessage(const Aws::String &value)
TransferData & WithRejectReason(Aws::String &&value)
void SetTransferMessage(Aws::String &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetTransferDate() const
TransferData & WithTransferMessage(const Aws::String &value)
void SetTransferMessage(const char *value)
const Aws::Utils::DateTime & GetAcceptDate() const
TransferData & WithTransferDate(const Aws::Utils::DateTime &value)
TransferData & WithRejectReason(const Aws::String &value)
void SetRejectReason(const Aws::String &value)
void SetRejectReason(const char *value)
void SetTransferDate(const Aws::Utils::DateTime &value)
void SetTransferDate(Aws::Utils::DateTime &&value)
TransferData & WithTransferDate(Aws::Utils::DateTime &&value)
void SetRejectDate(Aws::Utils::DateTime &&value)
void SetRejectDate(const Aws::Utils::DateTime &value)
TransferData & WithRejectReason(const char *value)
const Aws::String & GetTransferMessage() const
void SetAcceptDate(Aws::Utils::DateTime &&value)
TransferData & WithRejectDate(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue