/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace GameSparks { namespace Model { /** *

The source used to import configuration sections.

See Also:

* AWS * API Reference

*/ class ImportGameConfigurationSource { public: AWS_GAMESPARKS_API ImportGameConfigurationSource(); AWS_GAMESPARKS_API ImportGameConfigurationSource(Aws::Utils::Json::JsonView jsonValue); AWS_GAMESPARKS_API ImportGameConfigurationSource& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GAMESPARKS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The JSON string containing the configuration sections.

*/ inline const Aws::Utils::ByteBuffer& GetFile() const{ return m_file; } /** *

The JSON string containing the configuration sections.

*/ inline bool FileHasBeenSet() const { return m_fileHasBeenSet; } /** *

The JSON string containing the configuration sections.

*/ inline void SetFile(const Aws::Utils::ByteBuffer& value) { m_fileHasBeenSet = true; m_file = value; } /** *

The JSON string containing the configuration sections.

*/ inline void SetFile(Aws::Utils::ByteBuffer&& value) { m_fileHasBeenSet = true; m_file = std::move(value); } /** *

The JSON string containing the configuration sections.

*/ inline ImportGameConfigurationSource& WithFile(const Aws::Utils::ByteBuffer& value) { SetFile(value); return *this;} /** *

The JSON string containing the configuration sections.

*/ inline ImportGameConfigurationSource& WithFile(Aws::Utils::ByteBuffer&& value) { SetFile(std::move(value)); return *this;} private: Aws::Utils::ByteBuffer m_file; bool m_fileHasBeenSet = false; }; } // namespace Model } // namespace GameSparks } // namespace Aws