/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */

#pragma once
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/workspaces/WorkSpaces_EXPORTS.h>

#include <utility>

namespace Aws {
namespace Utils {
namespace Json {
class JsonValue;
class JsonView;
}  // namespace Json
}  // namespace Utils
namespace WorkSpaces {
namespace Model {

/**
 * <p>Specifies the configurations of the Microsoft Entra.</p><p><h3>See Also:</h3>
 * <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/MicrosoftEntraConfig">AWS
 * API Reference</a></p>
 */
class MicrosoftEntraConfig {
 public:
  AWS_WORKSPACES_API MicrosoftEntraConfig() = default;
  AWS_WORKSPACES_API MicrosoftEntraConfig(Aws::Utils::Json::JsonView jsonValue);
  AWS_WORKSPACES_API MicrosoftEntraConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
  AWS_WORKSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;

  ///@{
  /**
   * <p>The identifier of the tenant.</p>
   */
  inline const Aws::String& GetTenantId() const { return m_tenantId; }
  inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
  template <typename TenantIdT = Aws::String>
  void SetTenantId(TenantIdT&& value) {
    m_tenantIdHasBeenSet = true;
    m_tenantId = std::forward<TenantIdT>(value);
  }
  template <typename TenantIdT = Aws::String>
  MicrosoftEntraConfig& WithTenantId(TenantIdT&& value) {
    SetTenantId(std::forward<TenantIdT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The Amazon Resource Name (ARN) of the application config.</p>
   */
  inline const Aws::String& GetApplicationConfigSecretArn() const { return m_applicationConfigSecretArn; }
  inline bool ApplicationConfigSecretArnHasBeenSet() const { return m_applicationConfigSecretArnHasBeenSet; }
  template <typename ApplicationConfigSecretArnT = Aws::String>
  void SetApplicationConfigSecretArn(ApplicationConfigSecretArnT&& value) {
    m_applicationConfigSecretArnHasBeenSet = true;
    m_applicationConfigSecretArn = std::forward<ApplicationConfigSecretArnT>(value);
  }
  template <typename ApplicationConfigSecretArnT = Aws::String>
  MicrosoftEntraConfig& WithApplicationConfigSecretArn(ApplicationConfigSecretArnT&& value) {
    SetApplicationConfigSecretArn(std::forward<ApplicationConfigSecretArnT>(value));
    return *this;
  }
  ///@}
 private:
  Aws::String m_tenantId;

  Aws::String m_applicationConfigSecretArn;
  bool m_tenantIdHasBeenSet = false;
  bool m_applicationConfigSecretArnHasBeenSet = false;
};

}  // namespace Model
}  // namespace WorkSpaces
}  // namespace Aws
