AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
HttpInterfaceOptions.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
8#include <aws/cloudextensions/model/Authentication.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CloudExtensions {
21namespace Model {
22
29 public:
30 AWS_CLOUDEXTENSIONS_API HttpInterfaceOptions() = default;
31 AWS_CLOUDEXTENSIONS_API HttpInterfaceOptions(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLOUDEXTENSIONS_API HttpInterfaceOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Authentication& GetAuthentication() const { return m_authentication; }
41 inline bool AuthenticationHasBeenSet() const { return m_authenticationHasBeenSet; }
42 template <typename AuthenticationT = Authentication>
43 void SetAuthentication(AuthenticationT&& value) {
44 m_authenticationHasBeenSet = true;
45 m_authentication = std::forward<AuthenticationT>(value);
46 }
47 template <typename AuthenticationT = Authentication>
48 HttpInterfaceOptions& WithAuthentication(AuthenticationT&& value) {
49 SetAuthentication(std::forward<AuthenticationT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetBasePath() const { return m_basePath; }
60 inline bool BasePathHasBeenSet() const { return m_basePathHasBeenSet; }
61 template <typename BasePathT = Aws::String>
62 void SetBasePath(BasePathT&& value) {
63 m_basePathHasBeenSet = true;
64 m_basePath = std::forward<BasePathT>(value);
65 }
66 template <typename BasePathT = Aws::String>
67 HttpInterfaceOptions& WithBasePath(BasePathT&& value) {
68 SetBasePath(std::forward<BasePathT>(value));
69 return *this;
70 }
72 private:
73 Authentication m_authentication;
74
75 Aws::String m_basePath;
76 bool m_authenticationHasBeenSet = false;
77 bool m_basePathHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace CloudExtensions
82} // namespace Aws
AWS_CLOUDEXTENSIONS_API HttpInterfaceOptions()=default
HttpInterfaceOptions & WithAuthentication(AuthenticationT &&value)
AWS_CLOUDEXTENSIONS_API HttpInterfaceOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDEXTENSIONS_API HttpInterfaceOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
HttpInterfaceOptions & WithBasePath(BasePathT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue