AWS SDK for C++

AWS SDK for C++ Version 1.11.633

Loading...
Searching...
No Matches
ConfluenceSourceConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-agent/model/ConfluenceHostType.h>
10#include <aws/bedrock-agent/model/ConfluenceAuthType.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
47 inline const Aws::String& GetHostUrl() const { return m_hostUrl; }
48 inline bool HostUrlHasBeenSet() const { return m_hostUrlHasBeenSet; }
49 template<typename HostUrlT = Aws::String>
50 void SetHostUrl(HostUrlT&& value) { m_hostUrlHasBeenSet = true; m_hostUrl = std::forward<HostUrlT>(value); }
51 template<typename HostUrlT = Aws::String>
52 ConfluenceSourceConfiguration& WithHostUrl(HostUrlT&& value) { SetHostUrl(std::forward<HostUrlT>(value)); return *this;}
54
56
59 inline ConfluenceHostType GetHostType() const { return m_hostType; }
60 inline bool HostTypeHasBeenSet() const { return m_hostTypeHasBeenSet; }
61 inline void SetHostType(ConfluenceHostType value) { m_hostTypeHasBeenSet = true; m_hostType = value; }
64
66
70 inline ConfluenceAuthType GetAuthType() const { return m_authType; }
71 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
72 inline void SetAuthType(ConfluenceAuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
75
77
85 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
86 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
87 template<typename CredentialsSecretArnT = Aws::String>
88 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value); }
89 template<typename CredentialsSecretArnT = Aws::String>
90 ConfluenceSourceConfiguration& WithCredentialsSecretArn(CredentialsSecretArnT&& value) { SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value)); return *this;}
92 private:
93
94 Aws::String m_hostUrl;
95 bool m_hostUrlHasBeenSet = false;
96
98 bool m_hostTypeHasBeenSet = false;
99
101 bool m_authTypeHasBeenSet = false;
102
103 Aws::String m_credentialsSecretArn;
104 bool m_credentialsSecretArnHasBeenSet = 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