AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
Proxy.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/ExternalProxy.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace BedrockAgentCore {
20namespace Model {
21
28class Proxy {
29 public:
30 AWS_BEDROCKAGENTCORE_API Proxy() = default;
31 AWS_BEDROCKAGENTCORE_API Proxy(Aws::Utils::Json::JsonView jsonValue);
32 AWS_BEDROCKAGENTCORE_API Proxy& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const ExternalProxy& GetExternalProxy() const { return m_externalProxy; }
40 inline bool ExternalProxyHasBeenSet() const { return m_externalProxyHasBeenSet; }
41 template <typename ExternalProxyT = ExternalProxy>
42 void SetExternalProxy(ExternalProxyT&& value) {
43 m_externalProxyHasBeenSet = true;
44 m_externalProxy = std::forward<ExternalProxyT>(value);
45 }
46 template <typename ExternalProxyT = ExternalProxy>
47 Proxy& WithExternalProxy(ExternalProxyT&& value) {
48 SetExternalProxy(std::forward<ExternalProxyT>(value));
49 return *this;
50 }
52 private:
53 ExternalProxy m_externalProxy;
54 bool m_externalProxyHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace BedrockAgentCore
59} // namespace Aws
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
const ExternalProxy & GetExternalProxy() const
Definition Proxy.h:39
AWS_BEDROCKAGENTCORE_API Proxy()=default
AWS_BEDROCKAGENTCORE_API Proxy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ExternalProxyHasBeenSet() const
Definition Proxy.h:40
AWS_BEDROCKAGENTCORE_API Proxy(Aws::Utils::Json::JsonView jsonValue)
Proxy & WithExternalProxy(ExternalProxyT &&value)
Definition Proxy.h:47
void SetExternalProxy(ExternalProxyT &&value)
Definition Proxy.h:42
Aws::Utils::Json::JsonValue JsonValue