AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const ConfluenceAuthType& GetAuthType() const{ return m_authType; }
49 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
50 inline void SetAuthType(const ConfluenceAuthType& value) { m_authTypeHasBeenSet = true; m_authType = value; }
51 inline void SetAuthType(ConfluenceAuthType&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); }
52 inline ConfluenceSourceConfiguration& WithAuthType(const ConfluenceAuthType& value) { SetAuthType(value); return *this;}
53 inline ConfluenceSourceConfiguration& WithAuthType(ConfluenceAuthType&& value) { SetAuthType(std::move(value)); return *this;}
55
57
65 inline const Aws::String& GetCredentialsSecretArn() const{ return m_credentialsSecretArn; }
66 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
67 inline void SetCredentialsSecretArn(const Aws::String& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = value; }
68 inline void SetCredentialsSecretArn(Aws::String&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::move(value); }
69 inline void SetCredentialsSecretArn(const char* value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn.assign(value); }
72 inline ConfluenceSourceConfiguration& WithCredentialsSecretArn(const char* value) { SetCredentialsSecretArn(value); return *this;}
74
76
79 inline const ConfluenceHostType& GetHostType() const{ return m_hostType; }
80 inline bool HostTypeHasBeenSet() const { return m_hostTypeHasBeenSet; }
81 inline void SetHostType(const ConfluenceHostType& value) { m_hostTypeHasBeenSet = true; m_hostType = value; }
82 inline void SetHostType(ConfluenceHostType&& value) { m_hostTypeHasBeenSet = true; m_hostType = std::move(value); }
83 inline ConfluenceSourceConfiguration& WithHostType(const ConfluenceHostType& value) { SetHostType(value); return *this;}
84 inline ConfluenceSourceConfiguration& WithHostType(ConfluenceHostType&& value) { SetHostType(std::move(value)); return *this;}
86
88
91 inline const Aws::String& GetHostUrl() const{ return m_hostUrl; }
92 inline bool HostUrlHasBeenSet() const { return m_hostUrlHasBeenSet; }
93 inline void SetHostUrl(const Aws::String& value) { m_hostUrlHasBeenSet = true; m_hostUrl = value; }
94 inline void SetHostUrl(Aws::String&& value) { m_hostUrlHasBeenSet = true; m_hostUrl = std::move(value); }
95 inline void SetHostUrl(const char* value) { m_hostUrlHasBeenSet = true; m_hostUrl.assign(value); }
96 inline ConfluenceSourceConfiguration& WithHostUrl(const Aws::String& value) { SetHostUrl(value); return *this;}
97 inline ConfluenceSourceConfiguration& WithHostUrl(Aws::String&& value) { SetHostUrl(std::move(value)); return *this;}
98 inline ConfluenceSourceConfiguration& WithHostUrl(const char* value) { SetHostUrl(value); return *this;}
100 private:
101
102 ConfluenceAuthType m_authType;
103 bool m_authTypeHasBeenSet = false;
104
105 Aws::String m_credentialsSecretArn;
106 bool m_credentialsSecretArnHasBeenSet = false;
107
108 ConfluenceHostType m_hostType;
109 bool m_hostTypeHasBeenSet = false;
110
111 Aws::String m_hostUrl;
112 bool m_hostUrlHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace BedrockAgent
117} // namespace Aws
ConfluenceSourceConfiguration & WithHostType(const ConfluenceHostType &value)
ConfluenceSourceConfiguration & WithCredentialsSecretArn(const Aws::String &value)
AWS_BEDROCKAGENT_API ConfluenceSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfluenceSourceConfiguration & WithHostUrl(Aws::String &&value)
ConfluenceSourceConfiguration & WithCredentialsSecretArn(const char *value)
ConfluenceSourceConfiguration & WithHostUrl(const Aws::String &value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
ConfluenceSourceConfiguration & WithAuthType(const ConfluenceAuthType &value)
AWS_BEDROCKAGENT_API ConfluenceSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
ConfluenceSourceConfiguration & WithHostType(ConfluenceHostType &&value)
ConfluenceSourceConfiguration & WithHostUrl(const char *value)
ConfluenceSourceConfiguration & WithAuthType(ConfluenceAuthType &&value)
ConfluenceSourceConfiguration & WithCredentialsSecretArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue