AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent/model/ConfluenceHostType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace BedrockAgent
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_BEDROCKAGENT_API ConfluenceSourceConfiguration() = default;
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline ConfluenceAuthType GetAuthType() const { return m_authType; }
49 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
50 inline void SetAuthType(ConfluenceAuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
53
55
63 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
64 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
65 template<typename CredentialsSecretArnT = Aws::String>
66 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value); }
67 template<typename CredentialsSecretArnT = Aws::String>
68 ConfluenceSourceConfiguration& WithCredentialsSecretArn(CredentialsSecretArnT&& value) { SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value)); return *this;}
70
72
75 inline ConfluenceHostType GetHostType() const { return m_hostType; }
76 inline bool HostTypeHasBeenSet() const { return m_hostTypeHasBeenSet; }
77 inline void SetHostType(ConfluenceHostType value) { m_hostTypeHasBeenSet = true; m_hostType = value; }
80
82
85 inline const Aws::String& GetHostUrl() const { return m_hostUrl; }
86 inline bool HostUrlHasBeenSet() const { return m_hostUrlHasBeenSet; }
87 template<typename HostUrlT = Aws::String>
88 void SetHostUrl(HostUrlT&& value) { m_hostUrlHasBeenSet = true; m_hostUrl = std::forward<HostUrlT>(value); }
89 template<typename HostUrlT = Aws::String>
90 ConfluenceSourceConfiguration& WithHostUrl(HostUrlT&& value) { SetHostUrl(std::forward<HostUrlT>(value)); return *this;}
92 private:
93
95 bool m_authTypeHasBeenSet = false;
96
97 Aws::String m_credentialsSecretArn;
98 bool m_credentialsSecretArnHasBeenSet = false;
99
101 bool m_hostTypeHasBeenSet = false;
102
103 Aws::String m_hostUrl;
104 bool m_hostUrlHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace BedrockAgent
109} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue