AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41 AWS_BEDROCKAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const SharePointAuthType& GetAuthType() const{ return m_authType; }
50 inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; }
51 inline void SetAuthType(const SharePointAuthType& value) { m_authTypeHasBeenSet = true; m_authType = value; }
52 inline void SetAuthType(SharePointAuthType&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); }
53 inline SharePointSourceConfiguration& WithAuthType(const SharePointAuthType& value) { SetAuthType(value); return *this;}
54 inline SharePointSourceConfiguration& WithAuthType(SharePointAuthType&& value) { SetAuthType(std::move(value)); return *this;}
56
58
66 inline const Aws::String& GetCredentialsSecretArn() const{ return m_credentialsSecretArn; }
67 inline bool CredentialsSecretArnHasBeenSet() const { return m_credentialsSecretArnHasBeenSet; }
68 inline void SetCredentialsSecretArn(const Aws::String& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = value; }
69 inline void SetCredentialsSecretArn(Aws::String&& value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn = std::move(value); }
70 inline void SetCredentialsSecretArn(const char* value) { m_credentialsSecretArnHasBeenSet = true; m_credentialsSecretArn.assign(value); }
73 inline SharePointSourceConfiguration& WithCredentialsSecretArn(const char* value) { SetCredentialsSecretArn(value); return *this;}
75
77
80 inline const Aws::String& GetDomain() const{ return m_domain; }
81 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
82 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
83 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
84 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
85 inline SharePointSourceConfiguration& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
86 inline SharePointSourceConfiguration& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
87 inline SharePointSourceConfiguration& WithDomain(const char* value) { SetDomain(value); return *this;}
89
91
94 inline const SharePointHostType& GetHostType() const{ return m_hostType; }
95 inline bool HostTypeHasBeenSet() const { return m_hostTypeHasBeenSet; }
96 inline void SetHostType(const SharePointHostType& value) { m_hostTypeHasBeenSet = true; m_hostType = value; }
97 inline void SetHostType(SharePointHostType&& value) { m_hostTypeHasBeenSet = true; m_hostType = std::move(value); }
98 inline SharePointSourceConfiguration& WithHostType(const SharePointHostType& value) { SetHostType(value); return *this;}
99 inline SharePointSourceConfiguration& WithHostType(SharePointHostType&& value) { SetHostType(std::move(value)); return *this;}
101
103
106 inline const Aws::Vector<Aws::String>& GetSiteUrls() const{ return m_siteUrls; }
107 inline bool SiteUrlsHasBeenSet() const { return m_siteUrlsHasBeenSet; }
108 inline void SetSiteUrls(const Aws::Vector<Aws::String>& value) { m_siteUrlsHasBeenSet = true; m_siteUrls = value; }
109 inline void SetSiteUrls(Aws::Vector<Aws::String>&& value) { m_siteUrlsHasBeenSet = true; m_siteUrls = std::move(value); }
111 inline SharePointSourceConfiguration& WithSiteUrls(Aws::Vector<Aws::String>&& value) { SetSiteUrls(std::move(value)); return *this;}
112 inline SharePointSourceConfiguration& AddSiteUrls(const Aws::String& value) { m_siteUrlsHasBeenSet = true; m_siteUrls.push_back(value); return *this; }
113 inline SharePointSourceConfiguration& AddSiteUrls(Aws::String&& value) { m_siteUrlsHasBeenSet = true; m_siteUrls.push_back(std::move(value)); return *this; }
114 inline SharePointSourceConfiguration& AddSiteUrls(const char* value) { m_siteUrlsHasBeenSet = true; m_siteUrls.push_back(value); return *this; }
116
118
121 inline const Aws::String& GetTenantId() const{ return m_tenantId; }
122 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
123 inline void SetTenantId(const Aws::String& value) { m_tenantIdHasBeenSet = true; m_tenantId = value; }
124 inline void SetTenantId(Aws::String&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::move(value); }
125 inline void SetTenantId(const char* value) { m_tenantIdHasBeenSet = true; m_tenantId.assign(value); }
126 inline SharePointSourceConfiguration& WithTenantId(const Aws::String& value) { SetTenantId(value); return *this;}
127 inline SharePointSourceConfiguration& WithTenantId(Aws::String&& value) { SetTenantId(std::move(value)); return *this;}
128 inline SharePointSourceConfiguration& WithTenantId(const char* value) { SetTenantId(value); return *this;}
130 private:
131
132 SharePointAuthType m_authType;
133 bool m_authTypeHasBeenSet = false;
134
135 Aws::String m_credentialsSecretArn;
136 bool m_credentialsSecretArnHasBeenSet = false;
137
138 Aws::String m_domain;
139 bool m_domainHasBeenSet = false;
140
141 SharePointHostType m_hostType;
142 bool m_hostTypeHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_siteUrls;
145 bool m_siteUrlsHasBeenSet = false;
146
147 Aws::String m_tenantId;
148 bool m_tenantIdHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace BedrockAgent
153} // namespace Aws
SharePointSourceConfiguration & WithSiteUrls(Aws::Vector< Aws::String > &&value)
AWS_BEDROCKAGENT_API SharePointSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
SharePointSourceConfiguration & WithDomain(const char *value)
SharePointSourceConfiguration & WithTenantId(const Aws::String &value)
SharePointSourceConfiguration & WithSiteUrls(const Aws::Vector< Aws::String > &value)
SharePointSourceConfiguration & WithCredentialsSecretArn(Aws::String &&value)
SharePointSourceConfiguration & WithTenantId(Aws::String &&value)
SharePointSourceConfiguration & WithDomain(const Aws::String &value)
SharePointSourceConfiguration & WithHostType(const SharePointHostType &value)
SharePointSourceConfiguration & WithAuthType(const SharePointAuthType &value)
AWS_BEDROCKAGENT_API SharePointSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SharePointSourceConfiguration & AddSiteUrls(const char *value)
SharePointSourceConfiguration & WithTenantId(const char *value)
SharePointSourceConfiguration & AddSiteUrls(Aws::String &&value)
SharePointSourceConfiguration & WithAuthType(SharePointAuthType &&value)
SharePointSourceConfiguration & WithCredentialsSecretArn(const char *value)
SharePointSourceConfiguration & WithHostType(SharePointHostType &&value)
SharePointSourceConfiguration & AddSiteUrls(const Aws::String &value)
SharePointSourceConfiguration & WithDomain(Aws::String &&value)
SharePointSourceConfiguration & WithCredentialsSecretArn(const Aws::String &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