AWS SDK for C++  1.9.157
AWS SDK for C++
ElasticsearchDataSourceConfig.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 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
48 
52  inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
53 
57  inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
58 
62  inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
63 
67  inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
68 
72  inline ElasticsearchDataSourceConfig& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
73 
77  inline ElasticsearchDataSourceConfig& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
78 
82  inline ElasticsearchDataSourceConfig& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
83 
84 
88  inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; }
89 
93  inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
94 
98  inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; }
99 
103  inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); }
104 
108  inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); }
109 
113  inline ElasticsearchDataSourceConfig& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;}
114 
118  inline ElasticsearchDataSourceConfig& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;}
119 
123  inline ElasticsearchDataSourceConfig& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;}
124 
125  private:
126 
127  Aws::String m_endpoint;
128  bool m_endpointHasBeenSet;
129 
130  Aws::String m_awsRegion;
131  bool m_awsRegionHasBeenSet;
132  };
133 
134 } // namespace Model
135 } // namespace AppSync
136 } // namespace Aws
Aws::AppSync::Model::ElasticsearchDataSourceConfig::SetAwsRegion
void SetAwsRegion(const char *value)
Definition: ElasticsearchDataSourceConfig.h:108
Aws::AppSync::Model::ElasticsearchDataSourceConfig::SetEndpoint
void SetEndpoint(const char *value)
Definition: ElasticsearchDataSourceConfig.h:67
Aws::AppSync::Model::ElasticsearchDataSourceConfig::SetAwsRegion
void SetAwsRegion(Aws::String &&value)
Definition: ElasticsearchDataSourceConfig.h:103
Aws::AppSync::Model::ElasticsearchDataSourceConfig::WithEndpoint
ElasticsearchDataSourceConfig & WithEndpoint(Aws::String &&value)
Definition: ElasticsearchDataSourceConfig.h:77
Aws::AppSync::Model::ElasticsearchDataSourceConfig::WithAwsRegion
ElasticsearchDataSourceConfig & WithAwsRegion(const char *value)
Definition: ElasticsearchDataSourceConfig.h:123
Aws::AppSync::Model::ElasticsearchDataSourceConfig::SetEndpoint
void SetEndpoint(const Aws::String &value)
Definition: ElasticsearchDataSourceConfig.h:57
Aws::AppSync::Model::ElasticsearchDataSourceConfig::WithEndpoint
ElasticsearchDataSourceConfig & WithEndpoint(const Aws::String &value)
Definition: ElasticsearchDataSourceConfig.h:72
Aws::AppSync::Model::ElasticsearchDataSourceConfig::SetEndpoint
void SetEndpoint(Aws::String &&value)
Definition: ElasticsearchDataSourceConfig.h:62
Aws::AppSync::Model::ElasticsearchDataSourceConfig::ElasticsearchDataSourceConfig
ElasticsearchDataSourceConfig()
Aws::AppSync::Model::ElasticsearchDataSourceConfig::ElasticsearchDataSourceConfig
ElasticsearchDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
AppSync_EXPORTS.h
Aws::AppSync::Model::ElasticsearchDataSourceConfig::GetAwsRegion
const Aws::String & GetAwsRegion() const
Definition: ElasticsearchDataSourceConfig.h:88
Aws::AppSync::Model::ElasticsearchDataSourceConfig::WithAwsRegion
ElasticsearchDataSourceConfig & WithAwsRegion(const Aws::String &value)
Definition: ElasticsearchDataSourceConfig.h:113
Aws::AppSync::Model::ElasticsearchDataSourceConfig::AwsRegionHasBeenSet
bool AwsRegionHasBeenSet() const
Definition: ElasticsearchDataSourceConfig.h:93
Aws::AppSync::Model::ElasticsearchDataSourceConfig
Definition: ElasticsearchDataSourceConfig.h:36
Aws::AppSync::Model::ElasticsearchDataSourceConfig::WithEndpoint
ElasticsearchDataSourceConfig & WithEndpoint(const char *value)
Definition: ElasticsearchDataSourceConfig.h:82
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppSync::Model::ElasticsearchDataSourceConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::ElasticsearchDataSourceConfig::GetEndpoint
const Aws::String & GetEndpoint() const
Definition: ElasticsearchDataSourceConfig.h:47
Aws::AppSync::Model::ElasticsearchDataSourceConfig::WithAwsRegion
ElasticsearchDataSourceConfig & WithAwsRegion(Aws::String &&value)
Definition: ElasticsearchDataSourceConfig.h:118
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::ElasticsearchDataSourceConfig::SetAwsRegion
void SetAwsRegion(const Aws::String &value)
Definition: ElasticsearchDataSourceConfig.h:98
Aws::AppSync::Model::ElasticsearchDataSourceConfig::EndpointHasBeenSet
bool EndpointHasBeenSet() const
Definition: ElasticsearchDataSourceConfig.h:52
Aws::AppSync::Model::ElasticsearchDataSourceConfig::operator=
ElasticsearchDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)