AWS SDK for C++  1.9.109
AWS SDK for C++
DataTransfer.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace Snowball
20 {
21 namespace Model
22 {
23 
33  {
34  public:
39 
40 
44  inline long long GetBytesTransferred() const{ return m_bytesTransferred; }
45 
49  inline bool BytesTransferredHasBeenSet() const { return m_bytesTransferredHasBeenSet; }
50 
54  inline void SetBytesTransferred(long long value) { m_bytesTransferredHasBeenSet = true; m_bytesTransferred = value; }
55 
59  inline DataTransfer& WithBytesTransferred(long long value) { SetBytesTransferred(value); return *this;}
60 
61 
65  inline long long GetObjectsTransferred() const{ return m_objectsTransferred; }
66 
70  inline bool ObjectsTransferredHasBeenSet() const { return m_objectsTransferredHasBeenSet; }
71 
75  inline void SetObjectsTransferred(long long value) { m_objectsTransferredHasBeenSet = true; m_objectsTransferred = value; }
76 
80  inline DataTransfer& WithObjectsTransferred(long long value) { SetObjectsTransferred(value); return *this;}
81 
82 
88  inline long long GetTotalBytes() const{ return m_totalBytes; }
89 
95  inline bool TotalBytesHasBeenSet() const { return m_totalBytesHasBeenSet; }
96 
102  inline void SetTotalBytes(long long value) { m_totalBytesHasBeenSet = true; m_totalBytes = value; }
103 
109  inline DataTransfer& WithTotalBytes(long long value) { SetTotalBytes(value); return *this;}
110 
111 
117  inline long long GetTotalObjects() const{ return m_totalObjects; }
118 
124  inline bool TotalObjectsHasBeenSet() const { return m_totalObjectsHasBeenSet; }
125 
131  inline void SetTotalObjects(long long value) { m_totalObjectsHasBeenSet = true; m_totalObjects = value; }
132 
138  inline DataTransfer& WithTotalObjects(long long value) { SetTotalObjects(value); return *this;}
139 
140  private:
141 
142  long long m_bytesTransferred;
143  bool m_bytesTransferredHasBeenSet;
144 
145  long long m_objectsTransferred;
146  bool m_objectsTransferredHasBeenSet;
147 
148  long long m_totalBytes;
149  bool m_totalBytesHasBeenSet;
150 
151  long long m_totalObjects;
152  bool m_totalObjectsHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace Snowball
157 } // namespace Aws
Aws::Snowball::Model::DataTransfer::SetTotalObjects
void SetTotalObjects(long long value)
Definition: DataTransfer.h:131
Aws::Snowball::Model::DataTransfer::DataTransfer
DataTransfer()
Aws::Snowball::Model::DataTransfer::TotalObjectsHasBeenSet
bool TotalObjectsHasBeenSet() const
Definition: DataTransfer.h:124
Aws::Snowball::Model::DataTransfer::operator=
DataTransfer & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Snowball::Model::DataTransfer::WithTotalObjects
DataTransfer & WithTotalObjects(long long value)
Definition: DataTransfer.h:138
Aws::Snowball::Model::DataTransfer::GetBytesTransferred
long long GetBytesTransferred() const
Definition: DataTransfer.h:44
Aws::Snowball::Model::DataTransfer::GetTotalObjects
long long GetTotalObjects() const
Definition: DataTransfer.h:117
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::DataTransfer::GetTotalBytes
long long GetTotalBytes() const
Definition: DataTransfer.h:88
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Snowball::Model::DataTransfer::TotalBytesHasBeenSet
bool TotalBytesHasBeenSet() const
Definition: DataTransfer.h:95
Aws::Snowball::Model::DataTransfer::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Snowball::Model::DataTransfer::WithBytesTransferred
DataTransfer & WithBytesTransferred(long long value)
Definition: DataTransfer.h:59
Aws::Snowball::Model::DataTransfer::ObjectsTransferredHasBeenSet
bool ObjectsTransferredHasBeenSet() const
Definition: DataTransfer.h:70
Aws::Snowball::Model::DataTransfer::WithTotalBytes
DataTransfer & WithTotalBytes(long long value)
Definition: DataTransfer.h:109
Aws::Snowball::Model::DataTransfer::SetTotalBytes
void SetTotalBytes(long long value)
Definition: DataTransfer.h:102
Aws::Snowball::Model::DataTransfer::SetBytesTransferred
void SetBytesTransferred(long long value)
Definition: DataTransfer.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::DataTransfer
Definition: DataTransfer.h:33
Aws::Snowball::Model::DataTransfer::BytesTransferredHasBeenSet
bool BytesTransferredHasBeenSet() const
Definition: DataTransfer.h:49
Aws::Snowball::Model::DataTransfer::SetObjectsTransferred
void SetObjectsTransferred(long long value)
Definition: DataTransfer.h:75
Aws::Snowball::Model::DataTransfer::GetObjectsTransferred
long long GetObjectsTransferred() const
Definition: DataTransfer.h:65
Aws::Snowball::Model::DataTransfer::DataTransfer
DataTransfer(Aws::Utils::Json::JsonView jsonValue)
Snowball_EXPORTS.h
Aws::Snowball::Model::DataTransfer::WithObjectsTransferred
DataTransfer & WithObjectsTransferred(long long value)
Definition: DataTransfer.h:80