AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataRepositoryTaskStatus.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace FSx
22{
23namespace Model
24{
25
34 {
35 public:
40
41
43
50 inline long long GetTotalCount() const{ return m_totalCount; }
51 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
52 inline void SetTotalCount(long long value) { m_totalCountHasBeenSet = true; m_totalCount = value; }
53 inline DataRepositoryTaskStatus& WithTotalCount(long long value) { SetTotalCount(value); return *this;}
55
57
61 inline long long GetSucceededCount() const{ return m_succeededCount; }
62 inline bool SucceededCountHasBeenSet() const { return m_succeededCountHasBeenSet; }
63 inline void SetSucceededCount(long long value) { m_succeededCountHasBeenSet = true; m_succeededCount = value; }
64 inline DataRepositoryTaskStatus& WithSucceededCount(long long value) { SetSucceededCount(value); return *this;}
66
68
71 inline long long GetFailedCount() const{ return m_failedCount; }
72 inline bool FailedCountHasBeenSet() const { return m_failedCountHasBeenSet; }
73 inline void SetFailedCount(long long value) { m_failedCountHasBeenSet = true; m_failedCount = value; }
74 inline DataRepositoryTaskStatus& WithFailedCount(long long value) { SetFailedCount(value); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
82 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
83 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
84 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
86 inline DataRepositoryTaskStatus& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
88
90
94 inline long long GetReleasedCapacity() const{ return m_releasedCapacity; }
95 inline bool ReleasedCapacityHasBeenSet() const { return m_releasedCapacityHasBeenSet; }
96 inline void SetReleasedCapacity(long long value) { m_releasedCapacityHasBeenSet = true; m_releasedCapacity = value; }
97 inline DataRepositoryTaskStatus& WithReleasedCapacity(long long value) { SetReleasedCapacity(value); return *this;}
99 private:
100
101 long long m_totalCount;
102 bool m_totalCountHasBeenSet = false;
103
104 long long m_succeededCount;
105 bool m_succeededCountHasBeenSet = false;
106
107 long long m_failedCount;
108 bool m_failedCountHasBeenSet = false;
109
110 Aws::Utils::DateTime m_lastUpdatedTime;
111 bool m_lastUpdatedTimeHasBeenSet = false;
112
113 long long m_releasedCapacity;
114 bool m_releasedCapacityHasBeenSet = false;
115 };
116
117} // namespace Model
118} // namespace FSx
119} // namespace Aws
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
AWS_FSX_API DataRepositoryTaskStatus(Aws::Utils::Json::JsonView jsonValue)
DataRepositoryTaskStatus & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
DataRepositoryTaskStatus & WithFailedCount(long long value)
DataRepositoryTaskStatus & WithSucceededCount(long long value)
DataRepositoryTaskStatus & WithReleasedCapacity(long long value)
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
AWS_FSX_API Aws::Utils::Json::JsonValue Jsonize() const
DataRepositoryTaskStatus & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
AWS_FSX_API DataRepositoryTaskStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
DataRepositoryTaskStatus & WithTotalCount(long long value)
Aws::Utils::Json::JsonValue JsonValue