AWS SDK for C++  1.9.159
AWS SDK for C++
OpenSearchServiceDataSourceConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AppSync
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
45 
49  inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
50 
54  inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
55 
59  inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
60 
64  inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
65 
69  inline OpenSearchServiceDataSourceConfig& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
70 
74  inline OpenSearchServiceDataSourceConfig& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
75 
79  inline OpenSearchServiceDataSourceConfig& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
80 
81 
85  inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
86 
90  inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
91 
95  inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
96 
100  inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
101 
105  inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
106 
110  inline OpenSearchServiceDataSourceConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
111 
115  inline OpenSearchServiceDataSourceConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
116 
120  inline OpenSearchServiceDataSourceConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
121 
122  private:
123 
124  Aws::String m_endpoint;
125  bool m_endpointHasBeenSet;
126 
127  Aws::String m_awsRegion;
128  bool m_awsRegionHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace AppSync
133 } // namespace Aws
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::GetAwsRegion
const Aws::String & GetAwsRegion() const
Definition: OpenSearchServiceDataSourceConfig.h:85
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::AwsRegionHasBeenSet
bool AwsRegionHasBeenSet() const
Definition: OpenSearchServiceDataSourceConfig.h:90
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::EndpointHasBeenSet
bool EndpointHasBeenSet() const
Definition: OpenSearchServiceDataSourceConfig.h:49
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::SetAwsRegion
void SetAwsRegion(const Aws::String &value)
Definition: OpenSearchServiceDataSourceConfig.h:95
AppSync_EXPORTS.h
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::WithAwsRegion
OpenSearchServiceDataSourceConfig & WithAwsRegion(const Aws::String &value)
Definition: OpenSearchServiceDataSourceConfig.h:110
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::SetAwsRegion
void SetAwsRegion(Aws::String &&value)
Definition: OpenSearchServiceDataSourceConfig.h:100
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::operator=
OpenSearchServiceDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::OpenSearchServiceDataSourceConfig
OpenSearchServiceDataSourceConfig()
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::SetEndpoint
void SetEndpoint(const Aws::String &value)
Definition: OpenSearchServiceDataSourceConfig.h:54
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::SetEndpoint
void SetEndpoint(const char *value)
Definition: OpenSearchServiceDataSourceConfig.h:64
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::SetAwsRegion
void SetAwsRegion(const char *value)
Definition: OpenSearchServiceDataSourceConfig.h:105
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::OpenSearchServiceDataSourceConfig
OpenSearchServiceDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::WithEndpoint
OpenSearchServiceDataSourceConfig & WithEndpoint(const Aws::String &value)
Definition: OpenSearchServiceDataSourceConfig.h:69
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::WithEndpoint
OpenSearchServiceDataSourceConfig & WithEndpoint(Aws::String &&value)
Definition: OpenSearchServiceDataSourceConfig.h:74
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::WithAwsRegion
OpenSearchServiceDataSourceConfig & WithAwsRegion(const char *value)
Definition: OpenSearchServiceDataSourceConfig.h:120
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::WithEndpoint
OpenSearchServiceDataSourceConfig & WithEndpoint(const char *value)
Definition: OpenSearchServiceDataSourceConfig.h:79
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::SetEndpoint
void SetEndpoint(Aws::String &&value)
Definition: OpenSearchServiceDataSourceConfig.h:59
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig
Definition: OpenSearchServiceDataSourceConfig.h:33
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::WithAwsRegion
OpenSearchServiceDataSourceConfig & WithAwsRegion(Aws::String &&value)
Definition: OpenSearchServiceDataSourceConfig.h:115
Aws::AppSync::Model::OpenSearchServiceDataSourceConfig::GetEndpoint
const Aws::String & GetEndpoint() const
Definition: OpenSearchServiceDataSourceConfig.h:44