7#include <aws/eks/EKS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
48 template<
typename UserAgentT = Aws::String>
49 void SetUserAgent(UserAgentT&& value) { m_userAgentHasBeenSet =
true; m_userAgent = std::forward<UserAgentT>(value); }
50 template<
typename UserAgentT = Aws::String>
71 template<
typename LastRequestTimeT = Aws::Utils::DateTime>
72 void SetLastRequestTime(LastRequestTimeT&& value) { m_lastRequestTimeHasBeenSet =
true; m_lastRequestTime = std::forward<LastRequestTimeT>(value); }
73 template<
typename LastRequestTimeT = Aws::Utils::DateTime>
79 bool m_userAgentHasBeenSet =
false;
81 int m_numberOfRequestsLast30Days{0};
82 bool m_numberOfRequestsLast30DaysHasBeenSet =
false;
85 bool m_lastRequestTimeHasBeenSet =
false;
const Aws::String & GetUserAgent() const
ClientStat & WithLastRequestTime(LastRequestTimeT &&value)
bool LastRequestTimeHasBeenSet() const
bool UserAgentHasBeenSet() const
AWS_EKS_API ClientStat()=default
void SetUserAgent(UserAgentT &&value)
ClientStat & WithNumberOfRequestsLast30Days(int value)
AWS_EKS_API ClientStat(Aws::Utils::Json::JsonView jsonValue)
AWS_EKS_API ClientStat & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastRequestTime(LastRequestTimeT &&value)
bool NumberOfRequestsLast30DaysHasBeenSet() const
ClientStat & WithUserAgent(UserAgentT &&value)
AWS_EKS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastRequestTime() const
void SetNumberOfRequestsLast30Days(int value)
int GetNumberOfRequestsLast30Days() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue