7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/ProxyCredentials.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace BedrockAgentCore {
45 template <
typename ServerT = Aws::String>
47 m_serverHasBeenSet =
true;
48 m_server = std::forward<ServerT>(value);
50 template <
typename ServerT = Aws::String>
61 inline int GetPort()
const {
return m_port; }
64 m_portHasBeenSet =
true;
83 template <
typename DomainPatternsT = Aws::Vector<Aws::String>>
85 m_domainPatternsHasBeenSet =
true;
86 m_domainPatterns = std::forward<DomainPatternsT>(value);
88 template <
typename DomainPatternsT = Aws::Vector<Aws::String>>
93 template <
typename DomainPatternsT = Aws::String>
95 m_domainPatternsHasBeenSet =
true;
96 m_domainPatterns.emplace_back(std::forward<DomainPatternsT>(value));
109 template <
typename CredentialsT = ProxyCredentials>
111 m_credentialsHasBeenSet =
true;
112 m_credentials = std::forward<CredentialsT>(value);
114 template <
typename CredentialsT = ProxyCredentials>
127 ProxyCredentials m_credentials;
128 bool m_serverHasBeenSet =
false;
129 bool m_portHasBeenSet =
false;
130 bool m_domainPatternsHasBeenSet =
false;
131 bool m_credentialsHasBeenSet =
false;
AWS_BEDROCKAGENTCORE_API ExternalProxy(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetServer() const
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API ExternalProxy & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PortHasBeenSet() const
ExternalProxy & WithCredentials(CredentialsT &&value)
void SetCredentials(CredentialsT &&value)
bool CredentialsHasBeenSet() const
bool ServerHasBeenSet() const
ExternalProxy & WithDomainPatterns(DomainPatternsT &&value)
void SetDomainPatterns(DomainPatternsT &&value)
const ProxyCredentials & GetCredentials() const
ExternalProxy & AddDomainPatterns(DomainPatternsT &&value)
bool DomainPatternsHasBeenSet() const
void SetServer(ServerT &&value)
ExternalProxy & WithServer(ServerT &&value)
ExternalProxy & WithPort(int value)
const Aws::Vector< Aws::String > & GetDomainPatterns() const
AWS_BEDROCKAGENTCORE_API ExternalProxy()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue