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

#pragma once
#include <aws/bedrock-runtime/BedrockRuntime_EXPORTS.h>

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

  /**
   * <p>The guardrail coverage for the text characters.</p><p><h3>See Also:</h3>   <a
   * href="http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/GuardrailTextCharactersCoverage">AWS
   * API Reference</a></p>
   */
  class GuardrailTextCharactersCoverage
  {
  public:
    AWS_BEDROCKRUNTIME_API GuardrailTextCharactersCoverage();
    AWS_BEDROCKRUNTIME_API GuardrailTextCharactersCoverage(Aws::Utils::Json::JsonView jsonValue);
    AWS_BEDROCKRUNTIME_API GuardrailTextCharactersCoverage& operator=(Aws::Utils::Json::JsonView jsonValue);
    AWS_BEDROCKRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;


    ///@{
    /**
     * <p>The text characters that were guarded by the guardrail coverage.</p>
     */
    inline int GetGuarded() const{ return m_guarded; }
    inline bool GuardedHasBeenSet() const { return m_guardedHasBeenSet; }
    inline void SetGuarded(int value) { m_guardedHasBeenSet = true; m_guarded = value; }
    inline GuardrailTextCharactersCoverage& WithGuarded(int value) { SetGuarded(value); return *this;}
    ///@}

    ///@{
    /**
     * <p>The total text characters by the guardrail coverage.</p>
     */
    inline int GetTotal() const{ return m_total; }
    inline bool TotalHasBeenSet() const { return m_totalHasBeenSet; }
    inline void SetTotal(int value) { m_totalHasBeenSet = true; m_total = value; }
    inline GuardrailTextCharactersCoverage& WithTotal(int value) { SetTotal(value); return *this;}
    ///@}
  private:

    int m_guarded;
    bool m_guardedHasBeenSet = false;

    int m_total;
    bool m_totalHasBeenSet = false;
  };

} // namespace Model
} // namespace BedrockRuntime
} // namespace Aws
