7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace TimestreamQuery
47 template<
typename AddressT = Aws::String>
48 void SetAddress(
AddressT&& value) { m_addressHasBeenSet =
true; m_address = std::forward<AddressT>(value); }
49 template<
typename AddressT = Aws::String>
59 inline void SetCachePeriodInMinutes(
long long value) { m_cachePeriodInMinutesHasBeenSet =
true; m_cachePeriodInMinutes = value; }
65 bool m_addressHasBeenSet =
false;
67 long long m_cachePeriodInMinutes{0};
68 bool m_cachePeriodInMinutesHasBeenSet =
false;
void SetAddress(AddressT &&value)
Endpoint & WithAddress(AddressT &&value)
long long GetCachePeriodInMinutes() const
AWS_TIMESTREAMQUERY_API Endpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
Endpoint & WithCachePeriodInMinutes(long long value)
bool CachePeriodInMinutesHasBeenSet() const
AWS_TIMESTREAMQUERY_API Endpoint(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAddress() const
bool AddressHasBeenSet() const
AWS_TIMESTREAMQUERY_API Endpoint()=default
void SetCachePeriodInMinutes(long long value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue