AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TapeRecoveryPointInfo.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_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 StorageGateway
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_STORAGEGATEWAY_API TapeRecoveryPointInfo();
36 AWS_STORAGEGATEWAY_API TapeRecoveryPointInfo(Aws::Utils::Json::JsonView jsonValue);
38 AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTapeARN() const{ return m_tapeARN; }
46 inline bool TapeARNHasBeenSet() const { return m_tapeARNHasBeenSet; }
47 inline void SetTapeARN(const Aws::String& value) { m_tapeARNHasBeenSet = true; m_tapeARN = value; }
48 inline void SetTapeARN(Aws::String&& value) { m_tapeARNHasBeenSet = true; m_tapeARN = std::move(value); }
49 inline void SetTapeARN(const char* value) { m_tapeARNHasBeenSet = true; m_tapeARN.assign(value); }
50 inline TapeRecoveryPointInfo& WithTapeARN(const Aws::String& value) { SetTapeARN(value); return *this;}
51 inline TapeRecoveryPointInfo& WithTapeARN(Aws::String&& value) { SetTapeARN(std::move(value)); return *this;}
52 inline TapeRecoveryPointInfo& WithTapeARN(const char* value) { SetTapeARN(value); return *this;}
54
56
61 inline const Aws::Utils::DateTime& GetTapeRecoveryPointTime() const{ return m_tapeRecoveryPointTime; }
62 inline bool TapeRecoveryPointTimeHasBeenSet() const { return m_tapeRecoveryPointTimeHasBeenSet; }
63 inline void SetTapeRecoveryPointTime(const Aws::Utils::DateTime& value) { m_tapeRecoveryPointTimeHasBeenSet = true; m_tapeRecoveryPointTime = value; }
64 inline void SetTapeRecoveryPointTime(Aws::Utils::DateTime&& value) { m_tapeRecoveryPointTimeHasBeenSet = true; m_tapeRecoveryPointTime = std::move(value); }
68
70
73 inline long long GetTapeSizeInBytes() const{ return m_tapeSizeInBytes; }
74 inline bool TapeSizeInBytesHasBeenSet() const { return m_tapeSizeInBytesHasBeenSet; }
75 inline void SetTapeSizeInBytes(long long value) { m_tapeSizeInBytesHasBeenSet = true; m_tapeSizeInBytes = value; }
76 inline TapeRecoveryPointInfo& WithTapeSizeInBytes(long long value) { SetTapeSizeInBytes(value); return *this;}
78
80
83 inline const Aws::String& GetTapeStatus() const{ return m_tapeStatus; }
84 inline bool TapeStatusHasBeenSet() const { return m_tapeStatusHasBeenSet; }
85 inline void SetTapeStatus(const Aws::String& value) { m_tapeStatusHasBeenSet = true; m_tapeStatus = value; }
86 inline void SetTapeStatus(Aws::String&& value) { m_tapeStatusHasBeenSet = true; m_tapeStatus = std::move(value); }
87 inline void SetTapeStatus(const char* value) { m_tapeStatusHasBeenSet = true; m_tapeStatus.assign(value); }
88 inline TapeRecoveryPointInfo& WithTapeStatus(const Aws::String& value) { SetTapeStatus(value); return *this;}
89 inline TapeRecoveryPointInfo& WithTapeStatus(Aws::String&& value) { SetTapeStatus(std::move(value)); return *this;}
90 inline TapeRecoveryPointInfo& WithTapeStatus(const char* value) { SetTapeStatus(value); return *this;}
92 private:
93
94 Aws::String m_tapeARN;
95 bool m_tapeARNHasBeenSet = false;
96
97 Aws::Utils::DateTime m_tapeRecoveryPointTime;
98 bool m_tapeRecoveryPointTimeHasBeenSet = false;
99
100 long long m_tapeSizeInBytes;
101 bool m_tapeSizeInBytesHasBeenSet = false;
102
103 Aws::String m_tapeStatus;
104 bool m_tapeStatusHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace StorageGateway
109} // namespace Aws
TapeRecoveryPointInfo & WithTapeStatus(const char *value)
AWS_STORAGEGATEWAY_API TapeRecoveryPointInfo(Aws::Utils::Json::JsonView jsonValue)
TapeRecoveryPointInfo & WithTapeRecoveryPointTime(const Aws::Utils::DateTime &value)
TapeRecoveryPointInfo & WithTapeARN(Aws::String &&value)
TapeRecoveryPointInfo & WithTapeARN(const Aws::String &value)
TapeRecoveryPointInfo & WithTapeStatus(const Aws::String &value)
TapeRecoveryPointInfo & WithTapeARN(const char *value)
void SetTapeRecoveryPointTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetTapeRecoveryPointTime() const
TapeRecoveryPointInfo & WithTapeStatus(Aws::String &&value)
AWS_STORAGEGATEWAY_API TapeRecoveryPointInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTapeRecoveryPointTime(const Aws::Utils::DateTime &value)
TapeRecoveryPointInfo & WithTapeSizeInBytes(long long value)
TapeRecoveryPointInfo & WithTapeRecoveryPointTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue