/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The properties that Amazon AppFlow applies when you use Marketo as a flow
* destination.See Also:
AWS
* API Reference
The object specified in the Marketo flow destination.
*/ inline const Aws::String& GetObject() const{ return m_object; } /** *The object specified in the Marketo flow destination.
*/ inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; } /** *The object specified in the Marketo flow destination.
*/ inline void SetObject(const Aws::String& value) { m_objectHasBeenSet = true; m_object = value; } /** *The object specified in the Marketo flow destination.
*/ inline void SetObject(Aws::String&& value) { m_objectHasBeenSet = true; m_object = std::move(value); } /** *The object specified in the Marketo flow destination.
*/ inline void SetObject(const char* value) { m_objectHasBeenSet = true; m_object.assign(value); } /** *The object specified in the Marketo flow destination.
*/ inline MarketoDestinationProperties& WithObject(const Aws::String& value) { SetObject(value); return *this;} /** *The object specified in the Marketo flow destination.
*/ inline MarketoDestinationProperties& WithObject(Aws::String&& value) { SetObject(std::move(value)); return *this;} /** *The object specified in the Marketo flow destination.
*/ inline MarketoDestinationProperties& WithObject(const char* value) { SetObject(value); return *this;} inline const ErrorHandlingConfig& GetErrorHandlingConfig() const{ return m_errorHandlingConfig; } inline bool ErrorHandlingConfigHasBeenSet() const { return m_errorHandlingConfigHasBeenSet; } inline void SetErrorHandlingConfig(const ErrorHandlingConfig& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = value; } inline void SetErrorHandlingConfig(ErrorHandlingConfig&& value) { m_errorHandlingConfigHasBeenSet = true; m_errorHandlingConfig = std::move(value); } inline MarketoDestinationProperties& WithErrorHandlingConfig(const ErrorHandlingConfig& value) { SetErrorHandlingConfig(value); return *this;} inline MarketoDestinationProperties& WithErrorHandlingConfig(ErrorHandlingConfig&& value) { SetErrorHandlingConfig(std::move(value)); return *this;} private: Aws::String m_object; bool m_objectHasBeenSet = false; ErrorHandlingConfig m_errorHandlingConfig; bool m_errorHandlingConfigHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws