AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ElasticsearchDataSourceConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace AppSync {
20namespace Model {
21
32 public:
33 AWS_APPSYNC_API ElasticsearchDataSourceConfig() = default;
36 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
43 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
44 template <typename EndpointT = Aws::String>
45 void SetEndpoint(EndpointT&& value) {
46 m_endpointHasBeenSet = true;
47 m_endpoint = std::forward<EndpointT>(value);
48 }
49 template <typename EndpointT = Aws::String>
51 SetEndpoint(std::forward<EndpointT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetAwsRegion() const { return m_awsRegion; }
61 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
62 template <typename AwsRegionT = Aws::String>
63 void SetAwsRegion(AwsRegionT&& value) {
64 m_awsRegionHasBeenSet = true;
65 m_awsRegion = std::forward<AwsRegionT>(value);
66 }
67 template <typename AwsRegionT = Aws::String>
69 SetAwsRegion(std::forward<AwsRegionT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_endpoint;
75
76 Aws::String m_awsRegion;
77 bool m_endpointHasBeenSet = false;
78 bool m_awsRegionHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace AppSync
83} // namespace Aws
AWS_APPSYNC_API ElasticsearchDataSourceConfig()=default
AWS_APPSYNC_API ElasticsearchDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPSYNC_API ElasticsearchDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDataSourceConfig & WithEndpoint(EndpointT &&value)
ElasticsearchDataSourceConfig & WithAwsRegion(AwsRegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue