AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename TapeARNT = Aws::String>
48 void SetTapeARN(TapeARNT&& value) { m_tapeARNHasBeenSet = true; m_tapeARN = std::forward<TapeARNT>(value); }
49 template<typename TapeARNT = Aws::String>
50 TapeRecoveryPointInfo& WithTapeARN(TapeARNT&& value) { SetTapeARN(std::forward<TapeARNT>(value)); return *this;}
52
54
59 inline const Aws::Utils::DateTime& GetTapeRecoveryPointTime() const { return m_tapeRecoveryPointTime; }
60 inline bool TapeRecoveryPointTimeHasBeenSet() const { return m_tapeRecoveryPointTimeHasBeenSet; }
61 template<typename TapeRecoveryPointTimeT = Aws::Utils::DateTime>
62 void SetTapeRecoveryPointTime(TapeRecoveryPointTimeT&& value) { m_tapeRecoveryPointTimeHasBeenSet = true; m_tapeRecoveryPointTime = std::forward<TapeRecoveryPointTimeT>(value); }
63 template<typename TapeRecoveryPointTimeT = Aws::Utils::DateTime>
64 TapeRecoveryPointInfo& WithTapeRecoveryPointTime(TapeRecoveryPointTimeT&& value) { SetTapeRecoveryPointTime(std::forward<TapeRecoveryPointTimeT>(value)); return *this;}
66
68
71 inline long long GetTapeSizeInBytes() const { return m_tapeSizeInBytes; }
72 inline bool TapeSizeInBytesHasBeenSet() const { return m_tapeSizeInBytesHasBeenSet; }
73 inline void SetTapeSizeInBytes(long long value) { m_tapeSizeInBytesHasBeenSet = true; m_tapeSizeInBytes = value; }
74 inline TapeRecoveryPointInfo& WithTapeSizeInBytes(long long value) { SetTapeSizeInBytes(value); return *this;}
76
78
81 inline const Aws::String& GetTapeStatus() const { return m_tapeStatus; }
82 inline bool TapeStatusHasBeenSet() const { return m_tapeStatusHasBeenSet; }
83 template<typename TapeStatusT = Aws::String>
84 void SetTapeStatus(TapeStatusT&& value) { m_tapeStatusHasBeenSet = true; m_tapeStatus = std::forward<TapeStatusT>(value); }
85 template<typename TapeStatusT = Aws::String>
86 TapeRecoveryPointInfo& WithTapeStatus(TapeStatusT&& value) { SetTapeStatus(std::forward<TapeStatusT>(value)); return *this;}
88 private:
89
90 Aws::String m_tapeARN;
91 bool m_tapeARNHasBeenSet = false;
92
93 Aws::Utils::DateTime m_tapeRecoveryPointTime{};
94 bool m_tapeRecoveryPointTimeHasBeenSet = false;
95
96 long long m_tapeSizeInBytes{0};
97 bool m_tapeSizeInBytesHasBeenSet = false;
98
99 Aws::String m_tapeStatus;
100 bool m_tapeStatusHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace StorageGateway
105} // namespace Aws
AWS_STORAGEGATEWAY_API TapeRecoveryPointInfo()=default
AWS_STORAGEGATEWAY_API TapeRecoveryPointInfo(Aws::Utils::Json::JsonView jsonValue)
TapeRecoveryPointInfo & WithTapeStatus(TapeStatusT &&value)
const Aws::Utils::DateTime & GetTapeRecoveryPointTime() const
TapeRecoveryPointInfo & WithTapeARN(TapeARNT &&value)
AWS_STORAGEGATEWAY_API TapeRecoveryPointInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_STORAGEGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
TapeRecoveryPointInfo & WithTapeSizeInBytes(long long value)
TapeRecoveryPointInfo & WithTapeRecoveryPointTime(TapeRecoveryPointTimeT &&value)
void SetTapeRecoveryPointTime(TapeRecoveryPointTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue