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

The name of the data and how often it should be pulled from the * source.

See Also:

AWS * API Reference

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

The start date for objects to import in the first flow run as an Unix/epoch * timestamp in milliseconds or in ISO-8601 format.

*/ inline const Aws::String& GetFirstExecutionFrom() const{ return m_firstExecutionFrom; } /** *

The start date for objects to import in the first flow run as an Unix/epoch * timestamp in milliseconds or in ISO-8601 format.

*/ inline bool FirstExecutionFromHasBeenSet() const { return m_firstExecutionFromHasBeenSet; } /** *

The start date for objects to import in the first flow run as an Unix/epoch * timestamp in milliseconds or in ISO-8601 format.

*/ inline void SetFirstExecutionFrom(const Aws::String& value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom = value; } /** *

The start date for objects to import in the first flow run as an Unix/epoch * timestamp in milliseconds or in ISO-8601 format.

*/ inline void SetFirstExecutionFrom(Aws::String&& value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom = std::move(value); } /** *

The start date for objects to import in the first flow run as an Unix/epoch * timestamp in milliseconds or in ISO-8601 format.

*/ inline void SetFirstExecutionFrom(const char* value) { m_firstExecutionFromHasBeenSet = true; m_firstExecutionFrom.assign(value); } /** *

The start date for objects to import in the first flow run as an Unix/epoch * timestamp in milliseconds or in ISO-8601 format.

*/ inline ScheduleConfiguration& WithFirstExecutionFrom(const Aws::String& value) { SetFirstExecutionFrom(value); return *this;} /** *

The start date for objects to import in the first flow run as an Unix/epoch * timestamp in milliseconds or in ISO-8601 format.

*/ inline ScheduleConfiguration& WithFirstExecutionFrom(Aws::String&& value) { SetFirstExecutionFrom(std::move(value)); return *this;} /** *

The start date for objects to import in the first flow run as an Unix/epoch * timestamp in milliseconds or in ISO-8601 format.

*/ inline ScheduleConfiguration& WithFirstExecutionFrom(const char* value) { SetFirstExecutionFrom(value); return *this;} /** *

The name of the object to pull from the data source.

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

The name of the object to pull from the data source.

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

The name of the object to pull from the data source.

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

The name of the object to pull from the data source.

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

The name of the object to pull from the data source.

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

The name of the object to pull from the data source.

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

The name of the object to pull from the data source.

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

The name of the object to pull from the data source.

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

How often the data should be pulled from data source.

*/ inline const Aws::String& GetScheduleExpression() const{ return m_scheduleExpression; } /** *

How often the data should be pulled from data source.

*/ inline bool ScheduleExpressionHasBeenSet() const { return m_scheduleExpressionHasBeenSet; } /** *

How often the data should be pulled from data source.

*/ inline void SetScheduleExpression(const Aws::String& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = value; } /** *

How often the data should be pulled from data source.

*/ inline void SetScheduleExpression(Aws::String&& value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression = std::move(value); } /** *

How often the data should be pulled from data source.

*/ inline void SetScheduleExpression(const char* value) { m_scheduleExpressionHasBeenSet = true; m_scheduleExpression.assign(value); } /** *

How often the data should be pulled from data source.

*/ inline ScheduleConfiguration& WithScheduleExpression(const Aws::String& value) { SetScheduleExpression(value); return *this;} /** *

How often the data should be pulled from data source.

*/ inline ScheduleConfiguration& WithScheduleExpression(Aws::String&& value) { SetScheduleExpression(std::move(value)); return *this;} /** *

How often the data should be pulled from data source.

*/ inline ScheduleConfiguration& WithScheduleExpression(const char* value) { SetScheduleExpression(value); return *this;} private: Aws::String m_firstExecutionFrom; bool m_firstExecutionFromHasBeenSet = false; Aws::String m_object; bool m_objectHasBeenSet = false; Aws::String m_scheduleExpression; bool m_scheduleExpressionHasBeenSet = false; }; } // namespace Model } // namespace AppIntegrationsService } // namespace Aws