AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
SaaSConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kendra/Kendra_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace kendra {
20namespace Model {
21
29 public:
30 AWS_KENDRA_API SaaSConfiguration() = default;
33 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetOrganizationName() const { return m_organizationName; }
43 inline bool OrganizationNameHasBeenSet() const { return m_organizationNameHasBeenSet; }
44 template <typename OrganizationNameT = Aws::String>
45 void SetOrganizationName(OrganizationNameT&& value) {
46 m_organizationNameHasBeenSet = true;
47 m_organizationName = std::forward<OrganizationNameT>(value);
48 }
49 template <typename OrganizationNameT = Aws::String>
50 SaaSConfiguration& WithOrganizationName(OrganizationNameT&& value) {
51 SetOrganizationName(std::forward<OrganizationNameT>(value));
52 return *this;
53 }
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) {
65 m_hostUrlHasBeenSet = true;
66 m_hostUrl = std::forward<HostUrlT>(value);
67 }
68 template <typename HostUrlT = Aws::String>
69 SaaSConfiguration& WithHostUrl(HostUrlT&& value) {
70 SetHostUrl(std::forward<HostUrlT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_organizationName;
76 bool m_organizationNameHasBeenSet = false;
77
78 Aws::String m_hostUrl;
79 bool m_hostUrlHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace kendra
84} // 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