AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ConfluenceSourceConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/ConfluenceAuthType.h>
9#include <aws/bedrock-agent/model/ConfluenceHostType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BedrockAgent {
22namespace Model {
23
31 public:
32 AWS_BEDROCKAGENT_API ConfluenceSourceConfiguration() = default;
35 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetHostUrl() const { return m_hostUrl; }
42 inline bool HostUrlHasBeenSet() const { return m_hostUrlHasBeenSet; }
43 template <typename HostUrlT = Aws::String>
44 void SetHostUrl(HostUrlT&& value) {
45 m_hostUrlHasBeenSet = true;
46 m_hostUrl = std::forward<HostUrlT>(value);
47 }
48 template <typename HostUrlT = Aws::String>
50 SetHostUrl(std::forward<HostUrlT>(value));
51 return *this;
52 }
54
56
59 inline ConfluenceHostType GetHostType() const { return m_hostType; }
60 inline bool HostTypeHasBeenSet() const { return m_hostTypeHasBeenSet; }
61 inline void SetHostType(ConfluenceHostType value) {
62 m_hostTypeHasBeenSet = true;
63 m_hostType = value;
64 }
66 SetHostType(value);
67 return *this;
68 }
70
72
76 inline ConfluenceAuthType GetAuthType() const { return m_authType; }
77 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
78 inline void SetAuthType(ConfluenceAuthType value) {
79 m_authTypeHasBeenSet = true;
80 m_authType = value;
81 }
83 SetAuthType(value);
84 return *this;
85 }
87
89
97 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
98 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
99 template <typename CredentialsSecretArnT = Aws::String>
101 m_credentialsSecretArnHasBeenSet = true;
102 m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value);
103 }
104 template <typename CredentialsSecretArnT = Aws::String>
106 SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value));
107 return *this;
108 }
110 private:
111 Aws::String m_hostUrl;
112
114
116
117 Aws::String m_credentialsSecretArn;
118 bool m_hostUrlHasBeenSet = false;
119 bool m_hostTypeHasBeenSet = false;
120 bool m_authTypeHasBeenSet = false;
121 bool m_credentialsSecretArnHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace BedrockAgent
126} // namespace Aws
ConfluenceSourceConfiguration & WithCredentialsSecretArn(CredentialsSecretArnT &&value)
AWS_BEDROCKAGENT_API ConfluenceSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENT_API ConfluenceSourceConfiguration()=default
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BEDROCKAGENT_API ConfluenceSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
ConfluenceSourceConfiguration & WithHostType(ConfluenceHostType value)
ConfluenceSourceConfiguration & WithHostUrl(HostUrlT &&value)
ConfluenceSourceConfiguration & WithAuthType(ConfluenceAuthType value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue