AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-agent/model/SharePointHostType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace BedrockAgent
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_BEDROCKAGENT_API SharePointSourceConfiguration() = default;
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline SharePointAuthType GetAuthType() const { return m_authType; }
50 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
51 inline void SetAuthType(SharePointAuthType value) { m_authTypeHasBeenSet = true; m_authType = value; }
54
56
64 inline const Aws::String& GetCredentialsSecretArn() const { return m_credentialsSecretArn; }
65 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
66 template<typename CredentialsSecretArnT = Aws::String>
67 void SetCredentialsSecretArn(CredentialsSecretArnT&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::forward<CredentialsSecretArnT>(value); }
68 template<typename CredentialsSecretArnT = Aws::String>
69 SharePointSourceConfiguration& WithCredentialsSecretArn(CredentialsSecretArnT&& value) { SetCredentialsSecretArn(std::forward<CredentialsSecretArnT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDomain() const { return m_domain; }
77 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
78 template<typename DomainT = Aws::String>
79 void SetDomain(DomainT&& value) { m_domainHasBeenSet = true; m_domain = std::forward<DomainT>(value); }
80 template<typename DomainT = Aws::String>
81 SharePointSourceConfiguration& WithDomain(DomainT&& value) { SetDomain(std::forward<DomainT>(value)); return *this;}
83
85
88 inline SharePointHostType GetHostType() const { return m_hostType; }
89 inline bool HostTypeHasBeenSet() const { return m_hostTypeHasBeenSet; }
90 inline void SetHostType(SharePointHostType value) { m_hostTypeHasBeenSet = true; m_hostType = value; }
93
95
98 inline const Aws::Vector<Aws::String>& GetSiteUrls() const { return m_siteUrls; }
99 inline bool SiteUrlsHasBeenSet() const { return m_siteUrlsHasBeenSet; }
100 template<typename SiteUrlsT = Aws::Vector<Aws::String>>
101 void SetSiteUrls(SiteUrlsT&& value) { m_siteUrlsHasBeenSet = true; m_siteUrls = std::forward<SiteUrlsT>(value); }
102 template<typename SiteUrlsT = Aws::Vector<Aws::String>>
103 SharePointSourceConfiguration& WithSiteUrls(SiteUrlsT&& value) { SetSiteUrls(std::forward<SiteUrlsT>(value)); return *this;}
104 template<typename SiteUrlsT = Aws::String>
105 SharePointSourceConfiguration& AddSiteUrls(SiteUrlsT&& value) { m_siteUrlsHasBeenSet = true; m_siteUrls.emplace_back(std::forward<SiteUrlsT>(value)); return *this; }
107
109
112 inline const Aws::String& GetTenantId() const { return m_tenantId; }
113 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
114 template<typename TenantIdT = Aws::String>
115 void SetTenantId(TenantIdT&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::forward<TenantIdT>(value); }
116 template<typename TenantIdT = Aws::String>
117 SharePointSourceConfiguration& WithTenantId(TenantIdT&& value) { SetTenantId(std::forward<TenantIdT>(value)); return *this;}
119 private:
120
122 bool m_authTypeHasBeenSet = false;
123
124 Aws::String m_credentialsSecretArn;
125 bool m_credentialsSecretArnHasBeenSet = false;
126
127 Aws::String m_domain;
128 bool m_domainHasBeenSet = false;
129
131 bool m_hostTypeHasBeenSet = false;
132
133 Aws::Vector<Aws::String> m_siteUrls;
134 bool m_siteUrlsHasBeenSet = false;
135
136 Aws::String m_tenantId;
137 bool m_tenantIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace BedrockAgent
142} // 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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue