7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/directconnect/DirectConnect_EXPORTS.h>
19namespace DirectConnect {
43 m_maxAllowedHasBeenSet =
true;
56 inline int GetInUse()
const {
return m_inUse; }
59 m_inUseHasBeenSet =
true;
75 m_remainingHasBeenSet =
true;
90 template <
typename TotalBandw
idthT = Aws::String>
92 m_totalBandwidthHasBeenSet =
true;
93 m_totalBandwidth = std::forward<TotalBandwidthT>(value);
95 template <
typename TotalBandw
idthT = Aws::String>
109 bool m_maxAllowedHasBeenSet =
false;
110 bool m_inUseHasBeenSet =
false;
111 bool m_remainingHasBeenSet =
false;
112 bool m_totalBandwidthHasBeenSet =
false;
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
bool MaxAllowedHasBeenSet() const
int GetMaxAllowed() const
RateLimiterStatus & WithRemaining(int value)
AWS_DIRECTCONNECT_API RateLimiterStatus()=default
RateLimiterStatus & WithInUse(int value)
bool InUseHasBeenSet() const
void SetMaxAllowed(int value)
AWS_DIRECTCONNECT_API RateLimiterStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTotalBandwidth(TotalBandwidthT &&value)
bool TotalBandwidthHasBeenSet() const
void SetRemaining(int value)
AWS_DIRECTCONNECT_API RateLimiterStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTotalBandwidth() const
bool RemainingHasBeenSet() const
RateLimiterStatus & WithMaxAllowed(int value)
RateLimiterStatus & WithTotalBandwidth(TotalBandwidthT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue