/**
 * 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/lookoutequipment/LookoutEquipment_EXPORTS.h>
#include <aws/lookoutequipment/model/InferenceS3OutputConfiguration.h>

#include <utility>

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

/**
 * <p> Specifies configuration information for the output results from for the
 * inference, including KMS key ID and output S3 location. </p><p><h3>See
 * Also:</h3>   <a
 * href="http://docs.aws.amazon.com/goto/WebAPI/lookoutequipment-2020-12-15/InferenceOutputConfiguration">AWS
 * API Reference</a></p>
 */
class InferenceOutputConfiguration {
 public:
  AWS_LOOKOUTEQUIPMENT_API InferenceOutputConfiguration() = default;
  AWS_LOOKOUTEQUIPMENT_API InferenceOutputConfiguration(Aws::Utils::Json::JsonView jsonValue);
  AWS_LOOKOUTEQUIPMENT_API InferenceOutputConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
  AWS_LOOKOUTEQUIPMENT_API Aws::Utils::Json::JsonValue Jsonize() const;

  ///@{
  /**
   * <p> Specifies configuration information for the output results from for the
   * inference, output S3 location. </p>
   */
  inline const InferenceS3OutputConfiguration& GetS3OutputConfiguration() const { return m_s3OutputConfiguration; }
  inline bool S3OutputConfigurationHasBeenSet() const { return m_s3OutputConfigurationHasBeenSet; }
  template <typename S3OutputConfigurationT = InferenceS3OutputConfiguration>
  void SetS3OutputConfiguration(S3OutputConfigurationT&& value) {
    m_s3OutputConfigurationHasBeenSet = true;
    m_s3OutputConfiguration = std::forward<S3OutputConfigurationT>(value);
  }
  template <typename S3OutputConfigurationT = InferenceS3OutputConfiguration>
  InferenceOutputConfiguration& WithS3OutputConfiguration(S3OutputConfigurationT&& value) {
    SetS3OutputConfiguration(std::forward<S3OutputConfigurationT>(value));
    return *this;
  }
  ///@}

  ///@{
  /**
   * <p>The ID number for the KMS key key used to encrypt the inference output. </p>
   */
  inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
  inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
  template <typename KmsKeyIdT = Aws::String>
  void SetKmsKeyId(KmsKeyIdT&& value) {
    m_kmsKeyIdHasBeenSet = true;
    m_kmsKeyId = std::forward<KmsKeyIdT>(value);
  }
  template <typename KmsKeyIdT = Aws::String>
  InferenceOutputConfiguration& WithKmsKeyId(KmsKeyIdT&& value) {
    SetKmsKeyId(std::forward<KmsKeyIdT>(value));
    return *this;
  }
  ///@}
 private:
  InferenceS3OutputConfiguration m_s3OutputConfiguration;

  Aws::String m_kmsKeyId;
  bool m_s3OutputConfigurationHasBeenSet = false;
  bool m_kmsKeyIdHasBeenSet = false;
};

}  // namespace Model
}  // namespace LookoutEquipment
}  // namespace Aws
