/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the configuration information to connect to GitHub Enterprise Cloud
* (SaaS).See Also:
AWS
* API Reference
The name of the organization of the GitHub Enterprise Cloud (SaaS) account * you want to connect to. You can find your organization name by logging into * GitHub desktop and selecting Your organizations under your profile * picture dropdown.
*/ inline const Aws::String& GetOrganizationName() const{ return m_organizationName; } /** *The name of the organization of the GitHub Enterprise Cloud (SaaS) account * you want to connect to. You can find your organization name by logging into * GitHub desktop and selecting Your organizations under your profile * picture dropdown.
*/ inline bool OrganizationNameHasBeenSet() const { return m_organizationNameHasBeenSet; } /** *The name of the organization of the GitHub Enterprise Cloud (SaaS) account * you want to connect to. You can find your organization name by logging into * GitHub desktop and selecting Your organizations under your profile * picture dropdown.
*/ inline void SetOrganizationName(const Aws::String& value) { m_organizationNameHasBeenSet = true; m_organizationName = value; } /** *The name of the organization of the GitHub Enterprise Cloud (SaaS) account * you want to connect to. You can find your organization name by logging into * GitHub desktop and selecting Your organizations under your profile * picture dropdown.
*/ inline void SetOrganizationName(Aws::String&& value) { m_organizationNameHasBeenSet = true; m_organizationName = std::move(value); } /** *The name of the organization of the GitHub Enterprise Cloud (SaaS) account * you want to connect to. You can find your organization name by logging into * GitHub desktop and selecting Your organizations under your profile * picture dropdown.
*/ inline void SetOrganizationName(const char* value) { m_organizationNameHasBeenSet = true; m_organizationName.assign(value); } /** *The name of the organization of the GitHub Enterprise Cloud (SaaS) account * you want to connect to. You can find your organization name by logging into * GitHub desktop and selecting Your organizations under your profile * picture dropdown.
*/ inline SaaSConfiguration& WithOrganizationName(const Aws::String& value) { SetOrganizationName(value); return *this;} /** *The name of the organization of the GitHub Enterprise Cloud (SaaS) account * you want to connect to. You can find your organization name by logging into * GitHub desktop and selecting Your organizations under your profile * picture dropdown.
*/ inline SaaSConfiguration& WithOrganizationName(Aws::String&& value) { SetOrganizationName(std::move(value)); return *this;} /** *The name of the organization of the GitHub Enterprise Cloud (SaaS) account * you want to connect to. You can find your organization name by logging into * GitHub desktop and selecting Your organizations under your profile * picture dropdown.
*/ inline SaaSConfiguration& WithOrganizationName(const char* value) { SetOrganizationName(value); return *this;} /** *The GitHub host URL or API endpoint URL. For example, * https://api.github.com.
*/ inline const Aws::String& GetHostUrl() const{ return m_hostUrl; } /** *The GitHub host URL or API endpoint URL. For example, * https://api.github.com.
*/ inline bool HostUrlHasBeenSet() const { return m_hostUrlHasBeenSet; } /** *The GitHub host URL or API endpoint URL. For example, * https://api.github.com.
*/ inline void SetHostUrl(const Aws::String& value) { m_hostUrlHasBeenSet = true; m_hostUrl = value; } /** *The GitHub host URL or API endpoint URL. For example, * https://api.github.com.
*/ inline void SetHostUrl(Aws::String&& value) { m_hostUrlHasBeenSet = true; m_hostUrl = std::move(value); } /** *The GitHub host URL or API endpoint URL. For example, * https://api.github.com.
*/ inline void SetHostUrl(const char* value) { m_hostUrlHasBeenSet = true; m_hostUrl.assign(value); } /** *The GitHub host URL or API endpoint URL. For example, * https://api.github.com.
*/ inline SaaSConfiguration& WithHostUrl(const Aws::String& value) { SetHostUrl(value); return *this;} /** *The GitHub host URL or API endpoint URL. For example, * https://api.github.com.
*/ inline SaaSConfiguration& WithHostUrl(Aws::String&& value) { SetHostUrl(std::move(value)); return *this;} /** *The GitHub host URL or API endpoint URL. For example, * https://api.github.com.
*/ inline SaaSConfiguration& WithHostUrl(const char* value) { SetHostUrl(value); return *this;} private: Aws::String m_organizationName; bool m_organizationNameHasBeenSet = false; Aws::String m_hostUrl; bool m_hostUrlHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws