AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
SharePointSourceConfiguration.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/model/SharePointAuthType.h>
9#include <aws/bedrock-agent/model/SharePointHostType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace BedrockAgent {
23namespace Model {
24
32 public:
33 AWS_BEDROCKAGENT_API SharePointSourceConfiguration() = default;
36 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetTenantId() const { return m_tenantId; }
43 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
44 template <typename TenantIdT = Aws::String>
45 void SetTenantId(TenantIdT&& value) {
46 m_tenantIdHasBeenSet = true;
47 m_tenantId = std::forward<TenantIdT>(value);
48 }
49 template <typename TenantIdT = Aws::String>
51 SetTenantId(std::forward<TenantIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDomain() const { return m_domain; }
61 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
62 template <typename DomainT = Aws::String>
63 void SetDomain(DomainT&& value) {
64 m_domainHasBeenSet = true;
65 m_domain = std::forward<DomainT>(value);
66 }
67 template <typename DomainT = Aws::String>
69 SetDomain(std::forward<DomainT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<Aws::String>& GetSiteUrls() const { return m_siteUrls; }
79 inline bool SiteUrlsHasBeenSet() const { return m_siteUrlsHasBeenSet; }
80 template <typename SiteUrlsT = Aws::Vector<Aws::String>>
81 void SetSiteUrls(SiteUrlsT&& value) {
82 m_siteUrlsHasBeenSet = true;
83 m_siteUrls = std::forward<SiteUrlsT>(value);
84 }
85 template <typename SiteUrlsT = Aws::Vector<Aws::String>>
87 SetSiteUrls(std::forward<SiteUrlsT>(value));
88 return *this;
89 }
90 template <typename SiteUrlsT = Aws::String>
92 m_siteUrlsHasBeenSet = true;
93 m_siteUrls.emplace_back(std::forward<SiteUrlsT>(value));
94 return *this;
95 }
97
99
102 inline SharePointHostType GetHostType() const { return m_hostType; }
103 inline bool HostTypeHasBeenSet() const { return m_hostTypeHasBeenSet; }
104 inline void SetHostType(SharePointHostType value) {
105 m_hostTypeHasBeenSet = true;
106 m_hostType = value;
107 }
109 SetHostType(value);
110 return *this;
111 }
113
115
119 inline SharePointAuthType GetAuthType() const { return m_authType; }
120 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
121 inline void SetAuthType(SharePointAuthType value) {
122 m_authTypeHasBeenSet = true;
123 m_authType = value;
124 }
126 SetAuthType(value);
127 return *this;
128 }
130
132
140 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
141 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
142 template <typename CredentialsSecretArnT = Aws::String>
144 m_credentialsSecretArnHasBeenSet = true;
145 m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value);
146 }
147 template <typename CredentialsSecretArnT = Aws::String>
149 SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value));
150 return *this;
151 }
153 private:
154 Aws::String m_tenantId;
155
156 Aws::String m_domain;
157
158 Aws::Vector<Aws::String> m_siteUrls;
159
161
163
164 Aws::String m_credentialsSecretArn;
165 bool m_tenantIdHasBeenSet = false;
166 bool m_domainHasBeenSet = false;
167 bool m_siteUrlsHasBeenSet = false;
168 bool m_hostTypeHasBeenSet = false;
169 bool m_authTypeHasBeenSet = false;
170 bool m_credentialsSecretArnHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace BedrockAgent
175} // namespace Aws
AWS_BEDROCKAGENT_API SharePointSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
SharePointSourceConfiguration & AddSiteUrls(SiteUrlsT &&value)
AWS_BEDROCKAGENT_API SharePointSourceConfiguration()=default
AWS_BEDROCKAGENT_API SharePointSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SharePointSourceConfiguration & WithSiteUrls(SiteUrlsT &&value)
SharePointSourceConfiguration & WithHostType(SharePointHostType value)
SharePointSourceConfiguration & WithDomain(DomainT &&value)
SharePointSourceConfiguration & WithAuthType(SharePointAuthType value)
SharePointSourceConfiguration & WithTenantId(TenantIdT &&value)
SharePointSourceConfiguration & WithCredentialsSecretArn(CredentialsSecretArnT &&value)
AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue