AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpenSearchServiceDataSourceConfig.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
33 {
34 public:
38 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
46 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
47 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
48 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
49 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
50 inline OpenSearchServiceDataSourceConfig& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
51 inline OpenSearchServiceDataSourceConfig& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
52 inline OpenSearchServiceDataSourceConfig& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
54
56
59 inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
60 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
61 inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
62 inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
63 inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
64 inline OpenSearchServiceDataSourceConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
65 inline OpenSearchServiceDataSourceConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
66 inline OpenSearchServiceDataSourceConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
68 private:
69
70 Aws::String m_endpoint;
71 bool m_endpointHasBeenSet = false;
72
73 Aws::String m_awsRegion;
74 bool m_awsRegionHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace AppSync
79} // namespace Aws
AWS_APPSYNC_API OpenSearchServiceDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API OpenSearchServiceDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
OpenSearchServiceDataSourceConfig & WithAwsRegion(const Aws::String &value)
OpenSearchServiceDataSourceConfig & WithAwsRegion(Aws::String &&value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
OpenSearchServiceDataSourceConfig & WithEndpoint(const char *value)
OpenSearchServiceDataSourceConfig & WithAwsRegion(const char *value)
OpenSearchServiceDataSourceConfig & WithEndpoint(const Aws::String &value)
OpenSearchServiceDataSourceConfig & WithEndpoint(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue