7#include <aws/timestream-write/TimestreamWrite_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace TimestreamWrite
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;
Endpoint & WithCachePeriodInMinutes(long long value)
AWS_TIMESTREAMWRITE_API Endpoint(Aws::Utils::Json::JsonView jsonValue)
AWS_TIMESTREAMWRITE_API Endpoint()=default
void SetCachePeriodInMinutes(long long value)
AWS_TIMESTREAMWRITE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAddress(AddressT &&value)
bool CachePeriodInMinutesHasBeenSet() const
Endpoint & WithAddress(AddressT &&value)
bool AddressHasBeenSet() const
long long GetCachePeriodInMinutes() const
const Aws::String & GetAddress() const
AWS_TIMESTREAMWRITE_API Endpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue