AWS SDK for C++

AWS SDK for C++ Version 1.11.934

Loading...
Searching...
No Matches
ProxyBypass.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace BedrockAgentCore {
21namespace Model {
22
31 public:
32 AWS_BEDROCKAGENTCORE_API ProxyBypass() = default;
33 AWS_BEDROCKAGENTCORE_API ProxyBypass(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTCORE_API ProxyBypass& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const Aws::Vector<Aws::String>& GetDomainPatterns() const { return m_domainPatterns; }
45 inline bool DomainPatternsHasBeenSet() const { return m_domainPatternsHasBeenSet; }
46 template <typename DomainPatternsT = Aws::Vector<Aws::String>>
47 void SetDomainPatterns(DomainPatternsT&& value) {
48 m_domainPatternsHasBeenSet = true;
49 m_domainPatterns = std::forward<DomainPatternsT>(value);
50 }
51 template <typename DomainPatternsT = Aws::Vector<Aws::String>>
52 ProxyBypass& WithDomainPatterns(DomainPatternsT&& value) {
53 SetDomainPatterns(std::forward<DomainPatternsT>(value));
54 return *this;
55 }
56 template <typename DomainPatternsT = Aws::String>
57 ProxyBypass& AddDomainPatterns(DomainPatternsT&& value) {
58 m_domainPatternsHasBeenSet = true;
59 m_domainPatterns.emplace_back(std::forward<DomainPatternsT>(value));
60 return *this;
61 }
63 private:
64 Aws::Vector<Aws::String> m_domainPatterns;
65 bool m_domainPatternsHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace BedrockAgentCore
70} // namespace Aws
const Aws::Vector< Aws::String > & GetDomainPatterns() const
Definition ProxyBypass.h:44
AWS_BEDROCKAGENTCORE_API ProxyBypass()=default
AWS_BEDROCKAGENTCORE_API ProxyBypass(Aws::Utils::Json::JsonView jsonValue)
void SetDomainPatterns(DomainPatternsT &&value)
Definition ProxyBypass.h:47
ProxyBypass & WithDomainPatterns(DomainPatternsT &&value)
Definition ProxyBypass.h:52
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
ProxyBypass & AddDomainPatterns(DomainPatternsT &&value)
Definition ProxyBypass.h:57
AWS_BEDROCKAGENTCORE_API ProxyBypass & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue