AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Endpoint.h
1
6#pragma once
7#include <aws/timestream-query/TimestreamQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TimestreamQuery
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_TIMESTREAMQUERY_API Endpoint();
36 AWS_TIMESTREAMQUERY_API Endpoint(Aws::Utils::Json::JsonView jsonValue);
37 AWS_TIMESTREAMQUERY_API Endpoint& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAddress() const{ return m_address; }
46 inline bool AddressHasBeenSet() const { return m_addressHasBeenSet; }
47 inline void SetAddress(const Aws::String& value) { m_addressHasBeenSet = true; m_address = value; }
48 inline void SetAddress(Aws::String&& value) { m_addressHasBeenSet = true; m_address = std::move(value); }
49 inline void SetAddress(const char* value) { m_addressHasBeenSet = true; m_address.assign(value); }
50 inline Endpoint& WithAddress(const Aws::String& value) { SetAddress(value); return *this;}
51 inline Endpoint& WithAddress(Aws::String&& value) { SetAddress(std::move(value)); return *this;}
52 inline Endpoint& WithAddress(const char* value) { SetAddress(value); return *this;}
54
56
59 inline long long GetCachePeriodInMinutes() const{ return m_cachePeriodInMinutes; }
60 inline bool CachePeriodInMinutesHasBeenSet() const { return m_cachePeriodInMinutesHasBeenSet; }
61 inline void SetCachePeriodInMinutes(long long value) { m_cachePeriodInMinutesHasBeenSet = true; m_cachePeriodInMinutes = value; }
62 inline Endpoint& WithCachePeriodInMinutes(long long value) { SetCachePeriodInMinutes(value); return *this;}
64 private:
65
66 Aws::String m_address;
67 bool m_addressHasBeenSet = false;
68
69 long long m_cachePeriodInMinutes;
70 bool m_cachePeriodInMinutesHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace TimestreamQuery
75} // namespace Aws
AWS_TIMESTREAMQUERY_API Endpoint()
long long GetCachePeriodInMinutes() const
Definition Endpoint.h:59
AWS_TIMESTREAMQUERY_API Endpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
Endpoint & WithCachePeriodInMinutes(long long value)
Definition Endpoint.h:62
void SetAddress(const Aws::String &value)
Definition Endpoint.h:47
void SetAddress(Aws::String &&value)
Definition Endpoint.h:48
AWS_TIMESTREAMQUERY_API Endpoint(Aws::Utils::Json::JsonView jsonValue)
void SetAddress(const char *value)
Definition Endpoint.h:49
Endpoint & WithAddress(const Aws::String &value)
Definition Endpoint.h:50
AWS_TIMESTREAMQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAddress() const
Definition Endpoint.h:45
Endpoint & WithAddress(Aws::String &&value)
Definition Endpoint.h:51
Endpoint & WithAddress(const char *value)
Definition Endpoint.h:52
void SetCachePeriodInMinutes(long long value)
Definition Endpoint.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue