/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies JSON as object's input serialization format.See
* Also:
AWS API
* Reference
The type of JSON. Valid values: Document, Lines.
*/ inline const JSONType& GetType() const{ return m_type; } /** *The type of JSON. Valid values: Document, Lines.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of JSON. Valid values: Document, Lines.
*/ inline void SetType(const JSONType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of JSON. Valid values: Document, Lines.
*/ inline void SetType(JSONType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of JSON. Valid values: Document, Lines.
*/ inline JSONInput& WithType(const JSONType& value) { SetType(value); return *this;} /** *The type of JSON. Valid values: Document, Lines.
*/ inline JSONInput& WithType(JSONType&& value) { SetType(std::move(value)); return *this;} private: JSONType m_type; bool m_typeHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws