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>
22namespace BedrockAgent {
44 template <
typename TenantIdT = Aws::String>
46 m_tenantIdHasBeenSet =
true;
47 m_tenantId = std::forward<TenantIdT>(value);
49 template <
typename TenantIdT = Aws::String>
62 template <
typename DomainT = Aws::String>
64 m_domainHasBeenSet =
true;
65 m_domain = std::forward<DomainT>(value);
67 template <
typename DomainT = Aws::String>
80 template <
typename SiteUrlsT = Aws::Vector<Aws::String>>
82 m_siteUrlsHasBeenSet =
true;
83 m_siteUrls = std::forward<SiteUrlsT>(value);
85 template <
typename SiteUrlsT = Aws::Vector<Aws::String>>
90 template <
typename SiteUrlsT = Aws::String>
92 m_siteUrlsHasBeenSet =
true;
93 m_siteUrls.emplace_back(std::forward<SiteUrlsT>(value));
105 m_hostTypeHasBeenSet =
true;
122 m_authTypeHasBeenSet =
true;
142 template <
typename CredentialsSecretArnT = Aws::String>
144 m_credentialsSecretArnHasBeenSet =
true;
145 m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value);
147 template <
typename CredentialsSecretArnT = Aws::String>
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;
void SetHostType(SharePointHostType value)
AWS_BEDROCKAGENT_API SharePointSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetSiteUrls(SiteUrlsT &&value)
SharePointHostType GetHostType() const
SharePointSourceConfiguration & AddSiteUrls(SiteUrlsT &&value)
AWS_BEDROCKAGENT_API SharePointSourceConfiguration()=default
bool CredentialsSecretArnHasBeenSet() const
void SetDomain(DomainT &&value)
AWS_BEDROCKAGENT_API SharePointSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCredentialsSecretArn() const
bool AuthTypeHasBeenSet() const
bool SiteUrlsHasBeenSet() const
bool DomainHasBeenSet() const
SharePointSourceConfiguration & WithSiteUrls(SiteUrlsT &&value)
SharePointSourceConfiguration & WithHostType(SharePointHostType value)
void SetAuthType(SharePointAuthType value)
void SetTenantId(TenantIdT &&value)
void SetCredentialsSecretArn(CredentialsSecretArnT &&value)
SharePointSourceConfiguration & WithDomain(DomainT &&value)
SharePointSourceConfiguration & WithAuthType(SharePointAuthType value)
const Aws::String & GetDomain() const
const Aws::Vector< Aws::String > & GetSiteUrls() const
SharePointAuthType GetAuthType() const
bool TenantIdHasBeenSet() const
SharePointSourceConfiguration & WithTenantId(TenantIdT &&value)
bool HostTypeHasBeenSet() const
SharePointSourceConfiguration & WithCredentialsSecretArn(CredentialsSecretArnT &&value)
const Aws::String & GetTenantId() const
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