/** * 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 using Veeva as a flow source. *

See Also:

AWS * API Reference

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

The object specified in the Veeva flow source.

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

The object specified in the Veeva flow source.

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

The object specified in the Veeva flow source.

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

The object specified in the Veeva flow source.

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

The object specified in the Veeva flow source.

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

The object specified in the Veeva flow source.

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

The object specified in the Veeva flow source.

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

The object specified in the Veeva flow source.

*/ inline VeevaSourceProperties& WithObject(const char* value) { SetObject(value); return *this;} /** *

The document type specified in the Veeva document extract flow.

*/ inline const Aws::String& GetDocumentType() const{ return m_documentType; } /** *

The document type specified in the Veeva document extract flow.

*/ inline bool DocumentTypeHasBeenSet() const { return m_documentTypeHasBeenSet; } /** *

The document type specified in the Veeva document extract flow.

*/ inline void SetDocumentType(const Aws::String& value) { m_documentTypeHasBeenSet = true; m_documentType = value; } /** *

The document type specified in the Veeva document extract flow.

*/ inline void SetDocumentType(Aws::String&& value) { m_documentTypeHasBeenSet = true; m_documentType = std::move(value); } /** *

The document type specified in the Veeva document extract flow.

*/ inline void SetDocumentType(const char* value) { m_documentTypeHasBeenSet = true; m_documentType.assign(value); } /** *

The document type specified in the Veeva document extract flow.

*/ inline VeevaSourceProperties& WithDocumentType(const Aws::String& value) { SetDocumentType(value); return *this;} /** *

The document type specified in the Veeva document extract flow.

*/ inline VeevaSourceProperties& WithDocumentType(Aws::String&& value) { SetDocumentType(std::move(value)); return *this;} /** *

The document type specified in the Veeva document extract flow.

*/ inline VeevaSourceProperties& WithDocumentType(const char* value) { SetDocumentType(value); return *this;} /** *

Boolean value to include source files in Veeva document extract flow.

*/ inline bool GetIncludeSourceFiles() const{ return m_includeSourceFiles; } /** *

Boolean value to include source files in Veeva document extract flow.

*/ inline bool IncludeSourceFilesHasBeenSet() const { return m_includeSourceFilesHasBeenSet; } /** *

Boolean value to include source files in Veeva document extract flow.

*/ inline void SetIncludeSourceFiles(bool value) { m_includeSourceFilesHasBeenSet = true; m_includeSourceFiles = value; } /** *

Boolean value to include source files in Veeva document extract flow.

*/ inline VeevaSourceProperties& WithIncludeSourceFiles(bool value) { SetIncludeSourceFiles(value); return *this;} /** *

Boolean value to include file renditions in Veeva document extract flow.

*/ inline bool GetIncludeRenditions() const{ return m_includeRenditions; } /** *

Boolean value to include file renditions in Veeva document extract flow.

*/ inline bool IncludeRenditionsHasBeenSet() const { return m_includeRenditionsHasBeenSet; } /** *

Boolean value to include file renditions in Veeva document extract flow.

*/ inline void SetIncludeRenditions(bool value) { m_includeRenditionsHasBeenSet = true; m_includeRenditions = value; } /** *

Boolean value to include file renditions in Veeva document extract flow.

*/ inline VeevaSourceProperties& WithIncludeRenditions(bool value) { SetIncludeRenditions(value); return *this;} /** *

Boolean value to include All Versions of files in Veeva document extract * flow.

*/ inline bool GetIncludeAllVersions() const{ return m_includeAllVersions; } /** *

Boolean value to include All Versions of files in Veeva document extract * flow.

*/ inline bool IncludeAllVersionsHasBeenSet() const { return m_includeAllVersionsHasBeenSet; } /** *

Boolean value to include All Versions of files in Veeva document extract * flow.

*/ inline void SetIncludeAllVersions(bool value) { m_includeAllVersionsHasBeenSet = true; m_includeAllVersions = value; } /** *

Boolean value to include All Versions of files in Veeva document extract * flow.

*/ inline VeevaSourceProperties& WithIncludeAllVersions(bool value) { SetIncludeAllVersions(value); return *this;} private: Aws::String m_object; bool m_objectHasBeenSet = false; Aws::String m_documentType; bool m_documentTypeHasBeenSet = false; bool m_includeSourceFiles; bool m_includeSourceFilesHasBeenSet = false; bool m_includeRenditions; bool m_includeRenditionsHasBeenSet = false; bool m_includeAllVersions; bool m_includeAllVersionsHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws