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

#pragma once
#include <aws/sagemaker/SageMaker_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>

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

  /**
   * <p>The generative AI settings for the SageMaker Canvas application.</p>
   * <p>Configure these settings for Canvas users starting chats with generative AI
   * foundation models. For more information, see <a
   * href="https://docs.aws.amazon.com/sagemaker/latest/dg/canvas-fm-chat.html"> Use
   * generative AI with foundation models</a>.</p><p><h3>See Also:</h3>   <a
   * href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GenerativeAiSettings">AWS
   * API Reference</a></p>
   */
  class GenerativeAiSettings
  {
  public:
    AWS_SAGEMAKER_API GenerativeAiSettings();
    AWS_SAGEMAKER_API GenerativeAiSettings(Aws::Utils::Json::JsonView jsonValue);
    AWS_SAGEMAKER_API GenerativeAiSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
    AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;


    ///@{
    /**
     * <p>The ARN of an Amazon Web Services IAM role that allows fine-tuning of large
     * language models (LLMs) in Amazon Bedrock. The IAM role should have Amazon S3
     * read and write permissions, as well as a trust relationship that establishes
     * <code>bedrock.amazonaws.com</code> as a service principal.</p>
     */
    inline const Aws::String& GetAmazonBedrockRoleArn() const{ return m_amazonBedrockRoleArn; }
    inline bool AmazonBedrockRoleArnHasBeenSet() const { return m_amazonBedrockRoleArnHasBeenSet; }
    inline void SetAmazonBedrockRoleArn(const Aws::String& value) { m_amazonBedrockRoleArnHasBeenSet = true; m_amazonBedrockRoleArn = value; }
    inline void SetAmazonBedrockRoleArn(Aws::String&& value) { m_amazonBedrockRoleArnHasBeenSet = true; m_amazonBedrockRoleArn = std::move(value); }
    inline void SetAmazonBedrockRoleArn(const char* value) { m_amazonBedrockRoleArnHasBeenSet = true; m_amazonBedrockRoleArn.assign(value); }
    inline GenerativeAiSettings& WithAmazonBedrockRoleArn(const Aws::String& value) { SetAmazonBedrockRoleArn(value); return *this;}
    inline GenerativeAiSettings& WithAmazonBedrockRoleArn(Aws::String&& value) { SetAmazonBedrockRoleArn(std::move(value)); return *this;}
    inline GenerativeAiSettings& WithAmazonBedrockRoleArn(const char* value) { SetAmazonBedrockRoleArn(value); return *this;}
    ///@}
  private:

    Aws::String m_amazonBedrockRoleArn;
    bool m_amazonBedrockRoleArnHasBeenSet = false;
  };

} // namespace Model
} // namespace SageMaker
} // namespace Aws
