AWS SDK for C++  1.9.123
AWS SDK for C++
TransferData.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetTransferMessage() const{ return m_transferMessage; }
46 
50  inline bool TransferMessageHasBeenSet() const { return m_transferMessageHasBeenSet; }
51 
55  inline void SetTransferMessage(const Aws::String& value) { m_transferMessageHasBeenSet = true; m_transferMessage = value; }
56 
60  inline void SetTransferMessage(Aws::String&& value) { m_transferMessageHasBeenSet = true; m_transferMessage = std::move(value); }
61 
65  inline void SetTransferMessage(const char* value) { m_transferMessageHasBeenSet = true; m_transferMessage.assign(value); }
66 
70  inline TransferData& WithTransferMessage(const Aws::String& value) { SetTransferMessage(value); return *this;}
71 
75  inline TransferData& WithTransferMessage(Aws::String&& value) { SetTransferMessage(std::move(value)); return *this;}
76 
80  inline TransferData& WithTransferMessage(const char* value) { SetTransferMessage(value); return *this;}
81 
82 
86  inline const Aws::String& GetRejectReason() const{ return m_rejectReason; }
87 
91  inline bool RejectReasonHasBeenSet() const { return m_rejectReasonHasBeenSet; }
92 
96  inline void SetRejectReason(const Aws::String& value) { m_rejectReasonHasBeenSet = true; m_rejectReason = value; }
97 
101  inline void SetRejectReason(Aws::String&& value) { m_rejectReasonHasBeenSet = true; m_rejectReason = std::move(value); }
102 
106  inline void SetRejectReason(const char* value) { m_rejectReasonHasBeenSet = true; m_rejectReason.assign(value); }
107 
111  inline TransferData& WithRejectReason(const Aws::String& value) { SetRejectReason(value); return *this;}
112 
116  inline TransferData& WithRejectReason(Aws::String&& value) { SetRejectReason(std::move(value)); return *this;}
117 
121  inline TransferData& WithRejectReason(const char* value) { SetRejectReason(value); return *this;}
122 
123 
127  inline const Aws::Utils::DateTime& GetTransferDate() const{ return m_transferDate; }
128 
132  inline bool TransferDateHasBeenSet() const { return m_transferDateHasBeenSet; }
133 
137  inline void SetTransferDate(const Aws::Utils::DateTime& value) { m_transferDateHasBeenSet = true; m_transferDate = value; }
138 
142  inline void SetTransferDate(Aws::Utils::DateTime&& value) { m_transferDateHasBeenSet = true; m_transferDate = std::move(value); }
143 
147  inline TransferData& WithTransferDate(const Aws::Utils::DateTime& value) { SetTransferDate(value); return *this;}
148 
152  inline TransferData& WithTransferDate(Aws::Utils::DateTime&& value) { SetTransferDate(std::move(value)); return *this;}
153 
154 
158  inline const Aws::Utils::DateTime& GetAcceptDate() const{ return m_acceptDate; }
159 
163  inline bool AcceptDateHasBeenSet() const { return m_acceptDateHasBeenSet; }
164 
168  inline void SetAcceptDate(const Aws::Utils::DateTime& value) { m_acceptDateHasBeenSet = true; m_acceptDate = value; }
169 
173  inline void SetAcceptDate(Aws::Utils::DateTime&& value) { m_acceptDateHasBeenSet = true; m_acceptDate = std::move(value); }
174 
178  inline TransferData& WithAcceptDate(const Aws::Utils::DateTime& value) { SetAcceptDate(value); return *this;}
179 
183  inline TransferData& WithAcceptDate(Aws::Utils::DateTime&& value) { SetAcceptDate(std::move(value)); return *this;}
184 
185 
189  inline const Aws::Utils::DateTime& GetRejectDate() const{ return m_rejectDate; }
190 
194  inline bool RejectDateHasBeenSet() const { return m_rejectDateHasBeenSet; }
195 
199  inline void SetRejectDate(const Aws::Utils::DateTime& value) { m_rejectDateHasBeenSet = true; m_rejectDate = value; }
200 
204  inline void SetRejectDate(Aws::Utils::DateTime&& value) { m_rejectDateHasBeenSet = true; m_rejectDate = std::move(value); }
205 
209  inline TransferData& WithRejectDate(const Aws::Utils::DateTime& value) { SetRejectDate(value); return *this;}
210 
214  inline TransferData& WithRejectDate(Aws::Utils::DateTime&& value) { SetRejectDate(std::move(value)); return *this;}
215 
216  private:
217 
218  Aws::String m_transferMessage;
219  bool m_transferMessageHasBeenSet;
220 
221  Aws::String m_rejectReason;
222  bool m_rejectReasonHasBeenSet;
223 
224  Aws::Utils::DateTime m_transferDate;
225  bool m_transferDateHasBeenSet;
226 
227  Aws::Utils::DateTime m_acceptDate;
228  bool m_acceptDateHasBeenSet;
229 
230  Aws::Utils::DateTime m_rejectDate;
231  bool m_rejectDateHasBeenSet;
232  };
233 
234 } // namespace Model
235 } // namespace IoT
236 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::TransferData::SetRejectReason
void SetRejectReason(Aws::String &&value)
Definition: TransferData.h:101
Aws::IoT::Model::TransferData::WithRejectDate
TransferData & WithRejectDate(const Aws::Utils::DateTime &value)
Definition: TransferData.h:209
Aws::IoT::Model::TransferData::SetAcceptDate
void SetAcceptDate(const Aws::Utils::DateTime &value)
Definition: TransferData.h:168
Aws::IoT::Model::TransferData::SetTransferMessage
void SetTransferMessage(Aws::String &&value)
Definition: TransferData.h:60
Aws::IoT::Model::TransferData::SetTransferMessage
void SetTransferMessage(const Aws::String &value)
Definition: TransferData.h:55
DateTime.h
Aws::IoT::Model::TransferData::WithRejectReason
TransferData & WithRejectReason(Aws::String &&value)
Definition: TransferData.h:116
Aws::IoT::Model::TransferData
Definition: TransferData.h:34
Aws::IoT::Model::TransferData::WithRejectReason
TransferData & WithRejectReason(const char *value)
Definition: TransferData.h:121
Aws::IoT::Model::TransferData::TransferDateHasBeenSet
bool TransferDateHasBeenSet() const
Definition: TransferData.h:132
Aws::IoT::Model::TransferData::WithTransferMessage
TransferData & WithTransferMessage(const char *value)
Definition: TransferData.h:80
Aws::IoT::Model::TransferData::GetAcceptDate
const Aws::Utils::DateTime & GetAcceptDate() const
Definition: TransferData.h:158
Aws::IoT::Model::TransferData::WithAcceptDate
TransferData & WithAcceptDate(Aws::Utils::DateTime &&value)
Definition: TransferData.h:183
Aws::IoT::Model::TransferData::RejectReasonHasBeenSet
bool RejectReasonHasBeenSet() const
Definition: TransferData.h:91
Aws::IoT::Model::TransferData::SetTransferDate
void SetTransferDate(const Aws::Utils::DateTime &value)
Definition: TransferData.h:137
Aws::IoT::Model::TransferData::GetTransferDate
const Aws::Utils::DateTime & GetTransferDate() const
Definition: TransferData.h:127
Aws::IoT::Model::TransferData::RejectDateHasBeenSet
bool RejectDateHasBeenSet() const
Definition: TransferData.h:194
Aws::IoT::Model::TransferData::TransferMessageHasBeenSet
bool TransferMessageHasBeenSet() const
Definition: TransferData.h:50
Aws::IoT::Model::TransferData::SetTransferDate
void SetTransferDate(Aws::Utils::DateTime &&value)
Definition: TransferData.h:142
Aws::IoT::Model::TransferData::TransferData
TransferData()
Aws::IoT::Model::TransferData::WithAcceptDate
TransferData & WithAcceptDate(const Aws::Utils::DateTime &value)
Definition: TransferData.h:178
Aws::IoT::Model::TransferData::SetRejectReason
void SetRejectReason(const Aws::String &value)
Definition: TransferData.h:96
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::TransferData::operator=
TransferData & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::TransferData::WithRejectReason
TransferData & WithRejectReason(const Aws::String &value)
Definition: TransferData.h:111
Aws::IoT::Model::TransferData::AcceptDateHasBeenSet
bool AcceptDateHasBeenSet() const
Definition: TransferData.h:163
Aws::IoT::Model::TransferData::WithTransferDate
TransferData & WithTransferDate(Aws::Utils::DateTime &&value)
Definition: TransferData.h:152
Aws::IoT::Model::TransferData::WithRejectDate
TransferData & WithRejectDate(Aws::Utils::DateTime &&value)
Definition: TransferData.h:214
Aws::IoT::Model::TransferData::WithTransferMessage
TransferData & WithTransferMessage(const Aws::String &value)
Definition: TransferData.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::TransferData::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::TransferData::SetAcceptDate
void SetAcceptDate(Aws::Utils::DateTime &&value)
Definition: TransferData.h:173
Aws::IoT::Model::TransferData::GetTransferMessage
const Aws::String & GetTransferMessage() const
Definition: TransferData.h:45
Aws::IoT::Model::TransferData::SetTransferMessage
void SetTransferMessage(const char *value)
Definition: TransferData.h:65
Aws::IoT::Model::TransferData::TransferData
TransferData(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::TransferData::SetRejectDate
void SetRejectDate(Aws::Utils::DateTime &&value)
Definition: TransferData.h:204
Aws::IoT::Model::TransferData::SetRejectReason
void SetRejectReason(const char *value)
Definition: TransferData.h:106
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::TransferData::WithTransferDate
TransferData & WithTransferDate(const Aws::Utils::DateTime &value)
Definition: TransferData.h:147
Aws::IoT::Model::TransferData::SetRejectDate
void SetRejectDate(const Aws::Utils::DateTime &value)
Definition: TransferData.h:199
Aws::IoT::Model::TransferData::WithTransferMessage
TransferData & WithTransferMessage(Aws::String &&value)
Definition: TransferData.h:75
Aws::IoT::Model::TransferData::GetRejectDate
const Aws::Utils::DateTime & GetRejectDate() const
Definition: TransferData.h:189
IoT_EXPORTS.h
Aws::IoT::Model::TransferData::GetRejectReason
const Aws::String & GetRejectReason() const
Definition: TransferData.h:86