AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#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 AppSync
22{
23namespace Model
24{
25
36 {
37 public:
41 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
49 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
50 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
51 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
52 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
53 inline ElasticsearchDataSourceConfig& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
54 inline ElasticsearchDataSourceConfig& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
55 inline ElasticsearchDataSourceConfig& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
57
59
62 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
63 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
64 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
65 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
66 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
67 inline ElasticsearchDataSourceConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
68 inline ElasticsearchDataSourceConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
69 inline ElasticsearchDataSourceConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
71 private:
72
73 Aws::String m_endpoint;
74 bool m_endpointHasBeenSet = false;
75
76 Aws::String m_awsRegion;
77 bool m_awsRegionHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AppSync
82} // namespace Aws
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 & WithAwsRegion(const char *value)
ElasticsearchDataSourceConfig & WithEndpoint(Aws::String &&value)
ElasticsearchDataSourceConfig & WithAwsRegion(Aws::String &&value)
ElasticsearchDataSourceConfig & WithAwsRegion(const Aws::String &value)
ElasticsearchDataSourceConfig & WithEndpoint(const char *value)
ElasticsearchDataSourceConfig & WithEndpoint(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue