/** * 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 Appflow { namespace Model { /** *

The properties that are applied when Singular is being used as a source. *

See Also:

AWS * API Reference

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

The object specified in the Singular flow source.

*/ inline const Aws::String& GetObject() const{ return m_object; } /** *

The object specified in the Singular flow source.

*/ inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; } /** *

The object specified in the Singular flow source.

*/ inline void SetObject(const Aws::String& value) { m_objectHasBeenSet = true; m_object = value; } /** *

The object specified in the Singular flow source.

*/ inline void SetObject(Aws::String&& value) { m_objectHasBeenSet = true; m_object = std::move(value); } /** *

The object specified in the Singular flow source.

*/ inline void SetObject(const char* value) { m_objectHasBeenSet = true; m_object.assign(value); } /** *

The object specified in the Singular flow source.

*/ inline SingularSourceProperties& WithObject(const Aws::String& value) { SetObject(value); return *this;} /** *

The object specified in the Singular flow source.

*/ inline SingularSourceProperties& WithObject(Aws::String&& value) { SetObject(std::move(value)); return *this;} /** *

The object specified in the Singular flow source.

*/ inline SingularSourceProperties& WithObject(const char* value) { SetObject(value); return *this;} private: Aws::String m_object; bool m_objectHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws