AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HttpDataSourceConfig.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/AuthorizationConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppSync
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_APPSYNC_API HttpDataSourceConfig();
38 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
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 HttpDataSourceConfig& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
54 inline HttpDataSourceConfig& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
55 inline HttpDataSourceConfig& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
57
59
63 inline const AuthorizationConfig& GetAuthorizationConfig() const{ return m_authorizationConfig; }
64 inline bool AuthorizationConfigHasBeenSet() const { return m_authorizationConfigHasBeenSet; }
65 inline void SetAuthorizationConfig(const AuthorizationConfig& value) { m_authorizationConfigHasBeenSet = true; m_authorizationConfig = value; }
66 inline void SetAuthorizationConfig(AuthorizationConfig&& value) { m_authorizationConfigHasBeenSet = true; m_authorizationConfig = std::move(value); }
70 private:
71
72 Aws::String m_endpoint;
73 bool m_endpointHasBeenSet = false;
74
75 AuthorizationConfig m_authorizationConfig;
76 bool m_authorizationConfigHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace AppSync
81} // namespace Aws
HttpDataSourceConfig & WithEndpoint(const Aws::String &value)
const AuthorizationConfig & GetAuthorizationConfig() const
AWS_APPSYNC_API HttpDataSourceConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_APPSYNC_API HttpDataSourceConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEndpoint(const Aws::String &value)
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
HttpDataSourceConfig & WithAuthorizationConfig(const AuthorizationConfig &value)
HttpDataSourceConfig & WithEndpoint(const char *value)
void SetAuthorizationConfig(const AuthorizationConfig &value)
HttpDataSourceConfig & WithEndpoint(Aws::String &&value)
HttpDataSourceConfig & WithAuthorizationConfig(AuthorizationConfig &&value)
void SetAuthorizationConfig(AuthorizationConfig &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue