AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
GetMinuteUsageResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/groundstation/GroundStation_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace GroundStation {
22namespace Model {
29 public:
30 AWS_GROUNDSTATION_API GetMinuteUsageResult() = default;
33
35
39 inline bool GetIsReservedMinutesCustomer() const { return m_isReservedMinutesCustomer; }
40 inline void SetIsReservedMinutesCustomer(bool value) {
41 m_isReservedMinutesCustomerHasBeenSet = true;
42 m_isReservedMinutesCustomer = value;
43 }
46 return *this;
47 }
49
51
55 inline int GetTotalReservedMinuteAllocation() const { return m_totalReservedMinuteAllocation; }
56 inline void SetTotalReservedMinuteAllocation(int value) {
57 m_totalReservedMinuteAllocationHasBeenSet = true;
58 m_totalReservedMinuteAllocation = value;
59 }
62 return *this;
63 }
65
67
71 inline int GetUpcomingMinutesScheduled() const { return m_upcomingMinutesScheduled; }
72 inline void SetUpcomingMinutesScheduled(int value) {
73 m_upcomingMinutesScheduledHasBeenSet = true;
74 m_upcomingMinutesScheduled = value;
75 }
78 return *this;
79 }
81
83
87 inline int GetTotalScheduledMinutes() const { return m_totalScheduledMinutes; }
88 inline void SetTotalScheduledMinutes(int value) {
89 m_totalScheduledMinutesHasBeenSet = true;
90 m_totalScheduledMinutes = value;
91 }
94 return *this;
95 }
97
99
103 inline int GetEstimatedMinutesRemaining() const { return m_estimatedMinutesRemaining; }
104 inline void SetEstimatedMinutesRemaining(int value) {
105 m_estimatedMinutesRemainingHasBeenSet = true;
106 m_estimatedMinutesRemaining = value;
107 }
110 return *this;
111 }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template <typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) {
119 m_requestIdHasBeenSet = true;
120 m_requestId = std::forward<RequestIdT>(value);
121 }
122 template <typename RequestIdT = Aws::String>
123 GetMinuteUsageResult& WithRequestId(RequestIdT&& value) {
124 SetRequestId(std::forward<RequestIdT>(value));
125 return *this;
126 }
128 private:
129 bool m_isReservedMinutesCustomer{false};
130
131 int m_totalReservedMinuteAllocation{0};
132
133 int m_upcomingMinutesScheduled{0};
134
135 int m_totalScheduledMinutes{0};
136
137 int m_estimatedMinutesRemaining{0};
138
139 Aws::String m_requestId;
140 bool m_isReservedMinutesCustomerHasBeenSet = false;
141 bool m_totalReservedMinuteAllocationHasBeenSet = false;
142 bool m_upcomingMinutesScheduledHasBeenSet = false;
143 bool m_totalScheduledMinutesHasBeenSet = false;
144 bool m_estimatedMinutesRemainingHasBeenSet = false;
145 bool m_requestIdHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace GroundStation
150} // namespace Aws
GetMinuteUsageResult & WithEstimatedMinutesRemaining(int value)
GetMinuteUsageResult & WithRequestId(RequestIdT &&value)
AWS_GROUNDSTATION_API GetMinuteUsageResult()=default
AWS_GROUNDSTATION_API GetMinuteUsageResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMinuteUsageResult & WithTotalReservedMinuteAllocation(int value)
GetMinuteUsageResult & WithUpcomingMinutesScheduled(int value)
GetMinuteUsageResult & WithIsReservedMinutesCustomer(bool value)
GetMinuteUsageResult & WithTotalScheduledMinutes(int value)
AWS_GROUNDSTATION_API GetMinuteUsageResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue