AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OnPremiseConfiguration.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kendra/model/S3Path.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace kendra
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KENDRA_API OnPremiseConfiguration() = default;
39 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetHostUrl() const { return m_hostUrl; }
48 inline bool HostUrlHasBeenSet() const { return m_hostUrlHasBeenSet; }
49 template<typename HostUrlT = Aws::String>
50 void SetHostUrl(HostUrlT&& value) { m_hostUrlHasBeenSet = true; m_hostUrl = std::forward<HostUrlT>(value); }
51 template<typename HostUrlT = Aws::String>
52 OnPremiseConfiguration& WithHostUrl(HostUrlT&& value) { SetHostUrl(std::forward<HostUrlT>(value)); return *this;}
54
56
62 inline const Aws::String& GetOrganizationName() const { return m_organizationName; }
63 inline bool OrganizationNameHasBeenSet() const { return m_organizationNameHasBeenSet; }
64 template<typename OrganizationNameT = Aws::String>
65 void SetOrganizationName(OrganizationNameT&& value) { m_organizationNameHasBeenSet = true; m_organizationName = std::forward<OrganizationNameT>(value); }
66 template<typename OrganizationNameT = Aws::String>
67 OnPremiseConfiguration& WithOrganizationName(OrganizationNameT&& value) { SetOrganizationName(std::forward<OrganizationNameT>(value)); return *this;}
69
71
79 inline const S3Path& GetSslCertificateS3Path() const { return m_sslCertificateS3Path; }
80 inline bool SslCertificateS3PathHasBeenSet() const { return m_sslCertificateS3PathHasBeenSet; }
81 template<typename SslCertificateS3PathT = S3Path>
82 void SetSslCertificateS3Path(SslCertificateS3PathT&& value) { m_sslCertificateS3PathHasBeenSet = true; m_sslCertificateS3Path = std::forward<SslCertificateS3PathT>(value); }
83 template<typename SslCertificateS3PathT = S3Path>
84 OnPremiseConfiguration& WithSslCertificateS3Path(SslCertificateS3PathT&& value) { SetSslCertificateS3Path(std::forward<SslCertificateS3PathT>(value)); return *this;}
86 private:
87
88 Aws::String m_hostUrl;
89 bool m_hostUrlHasBeenSet = false;
90
91 Aws::String m_organizationName;
92 bool m_organizationNameHasBeenSet = false;
93
94 S3Path m_sslCertificateS3Path;
95 bool m_sslCertificateS3PathHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace kendra
100} // namespace Aws
AWS_KENDRA_API OnPremiseConfiguration(Aws::Utils::Json::JsonView jsonValue)
OnPremiseConfiguration & WithSslCertificateS3Path(SslCertificateS3PathT &&value)
AWS_KENDRA_API OnPremiseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KENDRA_API OnPremiseConfiguration()=default
OnPremiseConfiguration & WithHostUrl(HostUrlT &&value)
void SetOrganizationName(OrganizationNameT &&value)
void SetSslCertificateS3Path(SslCertificateS3PathT &&value)
OnPremiseConfiguration & WithOrganizationName(OrganizationNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue