AWS SDK for C++  1.9.155
AWS SDK for C++
HttpDataSourceConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace AppSync
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
47  inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
48 
55  inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
56 
63  inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
64 
71  inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
72 
79  inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
80 
87  inline HttpDataSourceConfig& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
88 
95  inline HttpDataSourceConfig& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
96 
103  inline HttpDataSourceConfig& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
104 
105 
110  inline const AuthorizationConfig& GetAuthorizationConfig() const{ return m_authorizationConfig; }
111 
116  inline bool AuthorizationConfigHasBeenSet() const { return m_authorizationConfigHasBeenSet; }
117 
122  inline void SetAuthorizationConfig(const AuthorizationConfig& value) { m_authorizationConfigHasBeenSet = true; m_authorizationConfig = value; }
123 
128  inline void SetAuthorizationConfig(AuthorizationConfig&& value) { m_authorizationConfigHasBeenSet = true; m_authorizationConfig = std::move(value); }
129 
134  inline HttpDataSourceConfig& WithAuthorizationConfig(const AuthorizationConfig& value) { SetAuthorizationConfig(value); return *this;}
135 
140  inline HttpDataSourceConfig& WithAuthorizationConfig(AuthorizationConfig&& value) { SetAuthorizationConfig(std::move(value)); return *this;}
141 
142  private:
143 
144  Aws::String m_endpoint;
145  bool m_endpointHasBeenSet;
146 
147  AuthorizationConfig m_authorizationConfig;
148  bool m_authorizationConfigHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace AppSync
153 } // namespace Aws
Aws::AppSync::Model::HttpDataSourceConfig::WithEndpoint
HttpDataSourceConfig & WithEndpoint(const Aws::String &value)
Definition: HttpDataSourceConfig.h:87
AuthorizationConfig.h
Aws::AppSync::Model::HttpDataSourceConfig::WithAuthorizationConfig
HttpDataSourceConfig & WithAuthorizationConfig(const AuthorizationConfig &value)
Definition: HttpDataSourceConfig.h:134
Aws::AppSync::Model::HttpDataSourceConfig::SetEndpoint
void SetEndpoint(Aws::String &&value)
Definition: HttpDataSourceConfig.h:71
Aws::AppSync::Model::HttpDataSourceConfig::HttpDataSourceConfig
HttpDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::HttpDataSourceConfig::WithEndpoint
HttpDataSourceConfig & WithEndpoint(Aws::String &&value)
Definition: HttpDataSourceConfig.h:95
Aws::AppSync::Model::HttpDataSourceConfig::SetEndpoint
void SetEndpoint(const Aws::String &value)
Definition: HttpDataSourceConfig.h:63
Aws::AppSync::Model::HttpDataSourceConfig
Definition: HttpDataSourceConfig.h:33
AppSync_EXPORTS.h
Aws::AppSync::Model::HttpDataSourceConfig::EndpointHasBeenSet
bool EndpointHasBeenSet() const
Definition: HttpDataSourceConfig.h:55
Aws::AppSync::Model::HttpDataSourceConfig::GetAuthorizationConfig
const AuthorizationConfig & GetAuthorizationConfig() const
Definition: HttpDataSourceConfig.h:110
Aws::AppSync::Model::HttpDataSourceConfig::SetAuthorizationConfig
void SetAuthorizationConfig(const AuthorizationConfig &value)
Definition: HttpDataSourceConfig.h:122
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppSync::Model::HttpDataSourceConfig::WithEndpoint
HttpDataSourceConfig & WithEndpoint(const char *value)
Definition: HttpDataSourceConfig.h:103
Aws::AppSync::Model::HttpDataSourceConfig::AuthorizationConfigHasBeenSet
bool AuthorizationConfigHasBeenSet() const
Definition: HttpDataSourceConfig.h:116
Aws::AppSync::Model::HttpDataSourceConfig::GetEndpoint
const Aws::String & GetEndpoint() const
Definition: HttpDataSourceConfig.h:47
Aws::AppSync::Model::AuthorizationConfig
Definition: AuthorizationConfig.h:34
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::HttpDataSourceConfig::HttpDataSourceConfig
HttpDataSourceConfig()
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::AppSync::Model::HttpDataSourceConfig::SetAuthorizationConfig
void SetAuthorizationConfig(AuthorizationConfig &&value)
Definition: HttpDataSourceConfig.h:128
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::HttpDataSourceConfig::operator=
HttpDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppSync::Model::HttpDataSourceConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppSync::Model::HttpDataSourceConfig::SetEndpoint
void SetEndpoint(const char *value)
Definition: HttpDataSourceConfig.h:79
Aws::AppSync::Model::HttpDataSourceConfig::WithAuthorizationConfig
HttpDataSourceConfig & WithAuthorizationConfig(AuthorizationConfig &&value)
Definition: HttpDataSourceConfig.h:140