AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
HttpInterfaceDefaults.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
8#include <aws/cloudextensions/model/Authentication.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudExtensions {
20namespace Model {
21
29 public:
30 AWS_CLOUDEXTENSIONS_API HttpInterfaceDefaults() = default;
31 AWS_CLOUDEXTENSIONS_API HttpInterfaceDefaults(Aws::Utils::Json::JsonView jsonValue);
32 AWS_CLOUDEXTENSIONS_API HttpInterfaceDefaults& 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 HttpInterfaceDefaults& WithAuthentication(AuthenticationT&& value) {
49 SetAuthentication(std::forward<AuthenticationT>(value));
50 return *this;
51 }
53 private:
54 Authentication m_authentication;
55 bool m_authenticationHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace CloudExtensions
60} // namespace Aws
HttpInterfaceDefaults & WithAuthentication(AuthenticationT &&value)
AWS_CLOUDEXTENSIONS_API HttpInterfaceDefaults(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDEXTENSIONS_API HttpInterfaceDefaults & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDEXTENSIONS_API HttpInterfaceDefaults()=default
AWS_CLOUDEXTENSIONS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue