/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A reference to a substring of a literal string in a JSON
* document.See Also:
AWS
* API Reference
The start index of the substring, starting from 0.
*/ inline int GetStart() const{ return m_start; } /** *The start index of the substring, starting from 0.
*/ inline bool StartHasBeenSet() const { return m_startHasBeenSet; } /** *The start index of the substring, starting from 0.
*/ inline void SetStart(int value) { m_startHasBeenSet = true; m_start = value; } /** *The start index of the substring, starting from 0.
*/ inline Substring& WithStart(int value) { SetStart(value); return *this;} /** *The length of the substring.
*/ inline int GetLength() const{ return m_length; } /** *The length of the substring.
*/ inline bool LengthHasBeenSet() const { return m_lengthHasBeenSet; } /** *The length of the substring.
*/ inline void SetLength(int value) { m_lengthHasBeenSet = true; m_length = value; } /** *The length of the substring.
*/ inline Substring& WithLength(int value) { SetLength(value); return *this;} private: int m_start; bool m_startHasBeenSet = false; int m_length; bool m_lengthHasBeenSet = false; }; } // namespace Model } // namespace AccessAnalyzer } // namespace Aws