AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
ProxyCredentials.h
1
6#pragma once
7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/BasicAuth.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
30 public:
31 AWS_BEDROCKAGENTCORE_API ProxyCredentials() = default;
32 AWS_BEDROCKAGENTCORE_API ProxyCredentials(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BEDROCKAGENTCORE_API ProxyCredentials& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const BasicAuth& GetBasicAuth() const { return m_basicAuth; }
42 inline bool BasicAuthHasBeenSet() const { return m_basicAuthHasBeenSet; }
43 template <typename BasicAuthT = BasicAuth>
44 void SetBasicAuth(BasicAuthT&& value) {
45 m_basicAuthHasBeenSet = true;
46 m_basicAuth = std::forward<BasicAuthT>(value);
47 }
48 template <typename BasicAuthT = BasicAuth>
49 ProxyCredentials& WithBasicAuth(BasicAuthT&& value) {
50 SetBasicAuth(std::forward<BasicAuthT>(value));
51 return *this;
52 }
54 private:
55 BasicAuth m_basicAuth;
56 bool m_basicAuthHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace BedrockAgentCore
61} // namespace Aws
ProxyCredentials & WithBasicAuth(BasicAuthT &&value)
AWS_BEDROCKAGENTCORE_API ProxyCredentials()=default
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENTCORE_API ProxyCredentials(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API ProxyCredentials & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue