AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SaaSConfiguration.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace kendra
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_KENDRA_API SaaSConfiguration() = default;
38 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const Aws::String& GetOrganizationName() const { return m_organizationName; }
49 inline bool OrganizationNameHasBeenSet() const { return m_organizationNameHasBeenSet; }
50 template<typename OrganizationNameT = Aws::String>
51 void SetOrganizationName(OrganizationNameT&& value) { m_organizationNameHasBeenSet = true; m_organizationName = std::forward<OrganizationNameT>(value); }
52 template<typename OrganizationNameT = Aws::String>
53 SaaSConfiguration& WithOrganizationName(OrganizationNameT&& value) { SetOrganizationName(std::forward<OrganizationNameT>(value)); return *this;}
55
57
61 inline const Aws::String& GetHostUrl() const { return m_hostUrl; }
62 inline bool HostUrlHasBeenSet() const { return m_hostUrlHasBeenSet; }
63 template<typename HostUrlT = Aws::String>
64 void SetHostUrl(HostUrlT&& value) { m_hostUrlHasBeenSet = true; m_hostUrl = std::forward<HostUrlT>(value); }
65 template<typename HostUrlT = Aws::String>
66 SaaSConfiguration& WithHostUrl(HostUrlT&& value) { SetHostUrl(std::forward<HostUrlT>(value)); return *this;}
68 private:
69
70 Aws::String m_organizationName;
71 bool m_organizationNameHasBeenSet = false;
72
73 Aws::String m_hostUrl;
74 bool m_hostUrlHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace kendra
79} // namespace Aws
AWS_KENDRA_API SaaSConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetOrganizationName() const
AWS_KENDRA_API SaaSConfiguration()=default
AWS_KENDRA_API SaaSConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetOrganizationName(OrganizationNameT &&value)
const Aws::String & GetHostUrl() const
SaaSConfiguration & WithHostUrl(HostUrlT &&value)
SaaSConfiguration & WithOrganizationName(OrganizationNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue