AWS SDK for C++  1.9.161
AWS SDK for C++
TapeInfo.h
Go to the documentation of this file.
1 
6 #pragma once
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 StorageGateway
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetTapeARN() const{ return m_tapeARN; }
45 
49  inline bool TapeARNHasBeenSet() const { return m_tapeARNHasBeenSet; }
50 
54  inline void SetTapeARN(const Aws::String& value) { m_tapeARNHasBeenSet = true; m_tapeARN = value; }
55 
59  inline void SetTapeARN(Aws::String&& value) { m_tapeARNHasBeenSet = true; m_tapeARN = std::move(value); }
60 
64  inline void SetTapeARN(const char* value) { m_tapeARNHasBeenSet = true; m_tapeARN.assign(value); }
65 
69  inline TapeInfo& WithTapeARN(const Aws::String& value) { SetTapeARN(value); return *this;}
70 
74  inline TapeInfo& WithTapeARN(Aws::String&& value) { SetTapeARN(std::move(value)); return *this;}
75 
79  inline TapeInfo& WithTapeARN(const char* value) { SetTapeARN(value); return *this;}
80 
81 
85  inline const Aws::String& GetTapeBarcode() const{ return m_tapeBarcode; }
86 
90  inline bool TapeBarcodeHasBeenSet() const { return m_tapeBarcodeHasBeenSet; }
91 
95  inline void SetTapeBarcode(const Aws::String& value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode = value; }
96 
100  inline void SetTapeBarcode(Aws::String&& value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode = std::move(value); }
101 
105  inline void SetTapeBarcode(const char* value) { m_tapeBarcodeHasBeenSet = true; m_tapeBarcode.assign(value); }
106 
110  inline TapeInfo& WithTapeBarcode(const Aws::String& value) { SetTapeBarcode(value); return *this;}
111 
115  inline TapeInfo& WithTapeBarcode(Aws::String&& value) { SetTapeBarcode(std::move(value)); return *this;}
116 
120  inline TapeInfo& WithTapeBarcode(const char* value) { SetTapeBarcode(value); return *this;}
121 
122 
126  inline long long GetTapeSizeInBytes() const{ return m_tapeSizeInBytes; }
127 
131  inline bool TapeSizeInBytesHasBeenSet() const { return m_tapeSizeInBytesHasBeenSet; }
132 
136  inline void SetTapeSizeInBytes(long long value) { m_tapeSizeInBytesHasBeenSet = true; m_tapeSizeInBytes = value; }
137 
141  inline TapeInfo& WithTapeSizeInBytes(long long value) { SetTapeSizeInBytes(value); return *this;}
142 
143 
147  inline const Aws::String& GetTapeStatus() const{ return m_tapeStatus; }
148 
152  inline bool TapeStatusHasBeenSet() const { return m_tapeStatusHasBeenSet; }
153 
157  inline void SetTapeStatus(const Aws::String& value) { m_tapeStatusHasBeenSet = true; m_tapeStatus = value; }
158 
162  inline void SetTapeStatus(Aws::String&& value) { m_tapeStatusHasBeenSet = true; m_tapeStatus = std::move(value); }
163 
167  inline void SetTapeStatus(const char* value) { m_tapeStatusHasBeenSet = true; m_tapeStatus.assign(value); }
168 
172  inline TapeInfo& WithTapeStatus(const Aws::String& value) { SetTapeStatus(value); return *this;}
173 
177  inline TapeInfo& WithTapeStatus(Aws::String&& value) { SetTapeStatus(std::move(value)); return *this;}
178 
182  inline TapeInfo& WithTapeStatus(const char* value) { SetTapeStatus(value); return *this;}
183 
184 
190  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
191 
197  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
198 
204  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
205 
211  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
212 
218  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
219 
225  inline TapeInfo& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
226 
232  inline TapeInfo& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
233 
239  inline TapeInfo& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
240 
241 
250  inline const Aws::String& GetPoolId() const{ return m_poolId; }
251 
260  inline bool PoolIdHasBeenSet() const { return m_poolIdHasBeenSet; }
261 
270  inline void SetPoolId(const Aws::String& value) { m_poolIdHasBeenSet = true; m_poolId = value; }
271 
280  inline void SetPoolId(Aws::String&& value) { m_poolIdHasBeenSet = true; m_poolId = std::move(value); }
281 
290  inline void SetPoolId(const char* value) { m_poolIdHasBeenSet = true; m_poolId.assign(value); }
291 
300  inline TapeInfo& WithPoolId(const Aws::String& value) { SetPoolId(value); return *this;}
301 
310  inline TapeInfo& WithPoolId(Aws::String&& value) { SetPoolId(std::move(value)); return *this;}
311 
320  inline TapeInfo& WithPoolId(const char* value) { SetPoolId(value); return *this;}
321 
322 
326  inline const Aws::Utils::DateTime& GetRetentionStartDate() const{ return m_retentionStartDate; }
327 
331  inline bool RetentionStartDateHasBeenSet() const { return m_retentionStartDateHasBeenSet; }
332 
336  inline void SetRetentionStartDate(const Aws::Utils::DateTime& value) { m_retentionStartDateHasBeenSet = true; m_retentionStartDate = value; }
337 
341  inline void SetRetentionStartDate(Aws::Utils::DateTime&& value) { m_retentionStartDateHasBeenSet = true; m_retentionStartDate = std::move(value); }
342 
346  inline TapeInfo& WithRetentionStartDate(const Aws::Utils::DateTime& value) { SetRetentionStartDate(value); return *this;}
347 
351  inline TapeInfo& WithRetentionStartDate(Aws::Utils::DateTime&& value) { SetRetentionStartDate(std::move(value)); return *this;}
352 
353 
358  inline const Aws::Utils::DateTime& GetPoolEntryDate() const{ return m_poolEntryDate; }
359 
364  inline bool PoolEntryDateHasBeenSet() const { return m_poolEntryDateHasBeenSet; }
365 
370  inline void SetPoolEntryDate(const Aws::Utils::DateTime& value) { m_poolEntryDateHasBeenSet = true; m_poolEntryDate = value; }
371 
376  inline void SetPoolEntryDate(Aws::Utils::DateTime&& value) { m_poolEntryDateHasBeenSet = true; m_poolEntryDate = std::move(value); }
377 
382  inline TapeInfo& WithPoolEntryDate(const Aws::Utils::DateTime& value) { SetPoolEntryDate(value); return *this;}
383 
388  inline TapeInfo& WithPoolEntryDate(Aws::Utils::DateTime&& value) { SetPoolEntryDate(std::move(value)); return *this;}
389 
390  private:
391 
392  Aws::String m_tapeARN;
393  bool m_tapeARNHasBeenSet;
394 
395  Aws::String m_tapeBarcode;
396  bool m_tapeBarcodeHasBeenSet;
397 
398  long long m_tapeSizeInBytes;
399  bool m_tapeSizeInBytesHasBeenSet;
400 
401  Aws::String m_tapeStatus;
402  bool m_tapeStatusHasBeenSet;
403 
404  Aws::String m_gatewayARN;
405  bool m_gatewayARNHasBeenSet;
406 
407  Aws::String m_poolId;
408  bool m_poolIdHasBeenSet;
409 
410  Aws::Utils::DateTime m_retentionStartDate;
411  bool m_retentionStartDateHasBeenSet;
412 
413  Aws::Utils::DateTime m_poolEntryDate;
414  bool m_poolEntryDateHasBeenSet;
415  };
416 
417 } // namespace Model
418 } // namespace StorageGateway
419 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::StorageGateway::Model::TapeInfo::SetTapeARN
void SetTapeARN(const Aws::String &value)
Definition: TapeInfo.h:54
Aws::StorageGateway::Model::TapeInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::StorageGateway::Model::TapeInfo::WithPoolEntryDate
TapeInfo & WithPoolEntryDate(Aws::Utils::DateTime &&value)
Definition: TapeInfo.h:388
Aws::StorageGateway::Model::TapeInfo::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: TapeInfo.h:211
Aws::StorageGateway::Model::TapeInfo::SetTapeStatus
void SetTapeStatus(const Aws::String &value)
Definition: TapeInfo.h:157
Aws::StorageGateway::Model::TapeInfo::SetRetentionStartDate
void SetRetentionStartDate(Aws::Utils::DateTime &&value)
Definition: TapeInfo.h:341
Aws::StorageGateway::Model::TapeInfo::WithTapeARN
TapeInfo & WithTapeARN(Aws::String &&value)
Definition: TapeInfo.h:74
Aws::StorageGateway::Model::TapeInfo::SetTapeBarcode
void SetTapeBarcode(const Aws::String &value)
Definition: TapeInfo.h:95
Aws::StorageGateway::Model::TapeInfo::WithTapeBarcode
TapeInfo & WithTapeBarcode(const Aws::String &value)
Definition: TapeInfo.h:110
Aws::StorageGateway::Model::TapeInfo::GetRetentionStartDate
const Aws::Utils::DateTime & GetRetentionStartDate() const
Definition: TapeInfo.h:326
Aws::StorageGateway::Model::TapeInfo::SetTapeSizeInBytes
void SetTapeSizeInBytes(long long value)
Definition: TapeInfo.h:136
Aws::StorageGateway::Model::TapeInfo::TapeStatusHasBeenSet
bool TapeStatusHasBeenSet() const
Definition: TapeInfo.h:152
Aws::StorageGateway::Model::TapeInfo::SetPoolId
void SetPoolId(const Aws::String &value)
Definition: TapeInfo.h:270
Aws::StorageGateway::Model::TapeInfo::SetPoolId
void SetPoolId(const char *value)
Definition: TapeInfo.h:290
DateTime.h
Aws::StorageGateway::Model::TapeInfo::SetTapeBarcode
void SetTapeBarcode(const char *value)
Definition: TapeInfo.h:105
Aws::StorageGateway::Model::TapeInfo::TapeSizeInBytesHasBeenSet
bool TapeSizeInBytesHasBeenSet() const
Definition: TapeInfo.h:131
Aws::StorageGateway::Model::TapeInfo::WithPoolId
TapeInfo & WithPoolId(Aws::String &&value)
Definition: TapeInfo.h:310
Aws::StorageGateway::Model::TapeInfo::GetTapeStatus
const Aws::String & GetTapeStatus() const
Definition: TapeInfo.h:147
Aws::StorageGateway::Model::TapeInfo::GetPoolEntryDate
const Aws::Utils::DateTime & GetPoolEntryDate() const
Definition: TapeInfo.h:358
Aws::StorageGateway::Model::TapeInfo::WithTapeBarcode
TapeInfo & WithTapeBarcode(Aws::String &&value)
Definition: TapeInfo.h:115
Aws::StorageGateway::Model::TapeInfo::operator=
TapeInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::StorageGateway::Model::TapeInfo::GetTapeARN
const Aws::String & GetTapeARN() const
Definition: TapeInfo.h:44
Aws::StorageGateway::Model::TapeInfo::SetPoolId
void SetPoolId(Aws::String &&value)
Definition: TapeInfo.h:280
Aws::StorageGateway::Model::TapeInfo::TapeInfo
TapeInfo()
Aws::StorageGateway::Model::TapeInfo::SetTapeStatus
void SetTapeStatus(const char *value)
Definition: TapeInfo.h:167
Aws::StorageGateway::Model::TapeInfo::GetPoolId
const Aws::String & GetPoolId() const
Definition: TapeInfo.h:250
Aws::StorageGateway::Model::TapeInfo::WithTapeBarcode
TapeInfo & WithTapeBarcode(const char *value)
Definition: TapeInfo.h:120
Aws::StorageGateway::Model::TapeInfo
Definition: TapeInfo.h:33
Aws::StorageGateway::Model::TapeInfo::SetTapeARN
void SetTapeARN(const char *value)
Definition: TapeInfo.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::StorageGateway::Model::TapeInfo::TapeBarcodeHasBeenSet
bool TapeBarcodeHasBeenSet() const
Definition: TapeInfo.h:90
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::StorageGateway::Model::TapeInfo::WithGatewayARN
TapeInfo & WithGatewayARN(const char *value)
Definition: TapeInfo.h:239
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::TapeInfo::SetRetentionStartDate
void SetRetentionStartDate(const Aws::Utils::DateTime &value)
Definition: TapeInfo.h:336
Aws::StorageGateway::Model::TapeInfo::WithTapeSizeInBytes
TapeInfo & WithTapeSizeInBytes(long long value)
Definition: TapeInfo.h:141
Aws::StorageGateway::Model::TapeInfo::PoolEntryDateHasBeenSet
bool PoolEntryDateHasBeenSet() const
Definition: TapeInfo.h:364
Aws::StorageGateway::Model::TapeInfo::SetPoolEntryDate
void SetPoolEntryDate(Aws::Utils::DateTime &&value)
Definition: TapeInfo.h:376
Aws::StorageGateway::Model::TapeInfo::WithPoolId
TapeInfo & WithPoolId(const Aws::String &value)
Definition: TapeInfo.h:300
Aws::StorageGateway::Model::TapeInfo::GetTapeBarcode
const Aws::String & GetTapeBarcode() const
Definition: TapeInfo.h:85
Aws::StorageGateway::Model::TapeInfo::SetPoolEntryDate
void SetPoolEntryDate(const Aws::Utils::DateTime &value)
Definition: TapeInfo.h:370
Aws::StorageGateway::Model::TapeInfo::WithGatewayARN
TapeInfo & WithGatewayARN(Aws::String &&value)
Definition: TapeInfo.h:232
Aws::StorageGateway::Model::TapeInfo::WithRetentionStartDate
TapeInfo & WithRetentionStartDate(const Aws::Utils::DateTime &value)
Definition: TapeInfo.h:346
Aws::StorageGateway::Model::TapeInfo::WithTapeStatus
TapeInfo & WithTapeStatus(const char *value)
Definition: TapeInfo.h:182
Aws::StorageGateway::Model::TapeInfo::GetTapeSizeInBytes
long long GetTapeSizeInBytes() const
Definition: TapeInfo.h:126
Aws::StorageGateway::Model::TapeInfo::RetentionStartDateHasBeenSet
bool RetentionStartDateHasBeenSet() const
Definition: TapeInfo.h:331
Aws::StorageGateway::Model::TapeInfo::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: TapeInfo.h:218
Aws::StorageGateway::Model::TapeInfo::TapeARNHasBeenSet
bool TapeARNHasBeenSet() const
Definition: TapeInfo.h:49
Aws::StorageGateway::Model::TapeInfo::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: TapeInfo.h:204
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::TapeInfo::WithTapeStatus
TapeInfo & WithTapeStatus(const Aws::String &value)
Definition: TapeInfo.h:172
Aws::StorageGateway::Model::TapeInfo::PoolIdHasBeenSet
bool PoolIdHasBeenSet() const
Definition: TapeInfo.h:260
Aws::StorageGateway::Model::TapeInfo::WithTapeStatus
TapeInfo & WithTapeStatus(Aws::String &&value)
Definition: TapeInfo.h:177
Aws::StorageGateway::Model::TapeInfo::WithPoolId
TapeInfo & WithPoolId(const char *value)
Definition: TapeInfo.h:320
Aws::StorageGateway::Model::TapeInfo::WithGatewayARN
TapeInfo & WithGatewayARN(const Aws::String &value)
Definition: TapeInfo.h:225
Aws::StorageGateway::Model::TapeInfo::SetTapeARN
void SetTapeARN(Aws::String &&value)
Definition: TapeInfo.h:59
Aws::StorageGateway::Model::TapeInfo::WithRetentionStartDate
TapeInfo & WithRetentionStartDate(Aws::Utils::DateTime &&value)
Definition: TapeInfo.h:351
Aws::StorageGateway::Model::TapeInfo::SetTapeStatus
void SetTapeStatus(Aws::String &&value)
Definition: TapeInfo.h:162
Aws::StorageGateway::Model::TapeInfo::WithPoolEntryDate
TapeInfo & WithPoolEntryDate(const Aws::Utils::DateTime &value)
Definition: TapeInfo.h:382
Aws::StorageGateway::Model::TapeInfo::SetTapeBarcode
void SetTapeBarcode(Aws::String &&value)
Definition: TapeInfo.h:100
Aws::StorageGateway::Model::TapeInfo::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: TapeInfo.h:197
Aws::StorageGateway::Model::TapeInfo::WithTapeARN
TapeInfo & WithTapeARN(const char *value)
Definition: TapeInfo.h:79
Aws::StorageGateway::Model::TapeInfo::WithTapeARN
TapeInfo & WithTapeARN(const Aws::String &value)
Definition: TapeInfo.h:69
Aws::StorageGateway::Model::TapeInfo::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: TapeInfo.h:190
Aws::StorageGateway::Model::TapeInfo::TapeInfo
TapeInfo(Aws::Utils::Json::JsonView jsonValue)