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

#pragma once
#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
#include <aws/cleanroomsml/model/TrainedModelExportsConfigurationPolicy.h>
#include <aws/cleanroomsml/model/TrainedModelInferenceJobsConfigurationPolicy.h>
#include <aws/cleanroomsml/model/TrainedModelsConfigurationPolicy.h>

#include <utility>

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

/**
 * <p>Information about the privacy configuration policies for a configured model
 * algorithm association.</p><p><h3>See Also:</h3>   <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/cleanroomsml-2023-09-06/PrivacyConfigurationPolicies">AWS
 * API Reference</a></p>
 */
class PrivacyConfigurationPolicies {
 public:
  AWS_CLEANROOMSML_API PrivacyConfigurationPolicies() = default;
  AWS_CLEANROOMSML_API PrivacyConfigurationPolicies(Aws::Utils::Json::JsonView jsonValue);
  AWS_CLEANROOMSML_API PrivacyConfigurationPolicies& operator=(Aws::Utils::Json::JsonView jsonValue);
  AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;

  ///@{
  /**
   * <p>Specifies who will receive the trained models.</p>
   */
  inline const TrainedModelsConfigurationPolicy& GetTrainedModels() const { return m_trainedModels; }
  inline bool TrainedModelsHasBeenSet() const { return m_trainedModelsHasBeenSet; }
  template <typename TrainedModelsT = TrainedModelsConfigurationPolicy>
  void SetTrainedModels(TrainedModelsT&& value) {
    m_trainedModelsHasBeenSet = true;
    m_trainedModels = std::forward<TrainedModelsT>(value);
  }
  template <typename TrainedModelsT = TrainedModelsConfigurationPolicy>
  PrivacyConfigurationPolicies& WithTrainedModels(TrainedModelsT&& value) {
    SetTrainedModels(std::forward<TrainedModelsT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>Specifies who will receive the trained model export.</p>
   */
  inline const TrainedModelExportsConfigurationPolicy& GetTrainedModelExports() const { return m_trainedModelExports; }
  inline bool TrainedModelExportsHasBeenSet() const { return m_trainedModelExportsHasBeenSet; }
  template <typename TrainedModelExportsT = TrainedModelExportsConfigurationPolicy>
  void SetTrainedModelExports(TrainedModelExportsT&& value) {
    m_trainedModelExportsHasBeenSet = true;
    m_trainedModelExports = std::forward<TrainedModelExportsT>(value);
  }
  template <typename TrainedModelExportsT = TrainedModelExportsConfigurationPolicy>
  PrivacyConfigurationPolicies& WithTrainedModelExports(TrainedModelExportsT&& value) {
    SetTrainedModelExports(std::forward<TrainedModelExportsT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>Specifies who will receive the trained model inference jobs.</p>
   */
  inline const TrainedModelInferenceJobsConfigurationPolicy& GetTrainedModelInferenceJobs() const { return m_trainedModelInferenceJobs; }
  inline bool TrainedModelInferenceJobsHasBeenSet() const { return m_trainedModelInferenceJobsHasBeenSet; }
  template <typename TrainedModelInferenceJobsT = TrainedModelInferenceJobsConfigurationPolicy>
  void SetTrainedModelInferenceJobs(TrainedModelInferenceJobsT&& value) {
    m_trainedModelInferenceJobsHasBeenSet = true;
    m_trainedModelInferenceJobs = std::forward<TrainedModelInferenceJobsT>(value);
  }
  template <typename TrainedModelInferenceJobsT = TrainedModelInferenceJobsConfigurationPolicy>
  PrivacyConfigurationPolicies& WithTrainedModelInferenceJobs(TrainedModelInferenceJobsT&& value) {
    SetTrainedModelInferenceJobs(std::forward<TrainedModelInferenceJobsT>(value));
    return *this;
  }
  ///@}
 private:
  TrainedModelsConfigurationPolicy m_trainedModels;

  TrainedModelExportsConfigurationPolicy m_trainedModelExports;

  TrainedModelInferenceJobsConfigurationPolicy m_trainedModelInferenceJobs;
  bool m_trainedModelsHasBeenSet = false;
  bool m_trainedModelExportsHasBeenSet = false;
  bool m_trainedModelInferenceJobsHasBeenSet = false;
};

}  // namespace Model
}  // namespace CleanRoomsML
}  // namespace Aws
