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

Batch defines the boundaries for ingestion for each step in * APPFLOW_INTEGRATION workflow. APPFLOW_INTEGRATION * workflow splits ingestion based on these boundaries.

See Also:

* AWS * API Reference

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

Start time of batch to split ingestion.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

Start time of batch to split ingestion.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

Start time of batch to split ingestion.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

Start time of batch to split ingestion.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

Start time of batch to split ingestion.

*/ inline Batch& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

Start time of batch to split ingestion.

*/ inline Batch& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

End time of batch to split ingestion.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

End time of batch to split ingestion.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

End time of batch to split ingestion.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

End time of batch to split ingestion.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

End time of batch to split ingestion.

*/ inline Batch& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

End time of batch to split ingestion.

*/ inline Batch& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} private: Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws