This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-mediapackage/include/aws/mediapackage/model/CreateHarvestJobRequest.h

307 lines
9.2 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/mediapackage/MediaPackage_EXPORTS.h>
#include <aws/mediapackage/MediaPackageRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/mediapackage/model/S3Destination.h>
#include <utility>
namespace Aws
{
namespace MediaPackage
{
namespace Model
{
/**
* Configuration parameters used to create a new HarvestJob.<p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/mediapackage-2017-10-12/CreateHarvestJobRequest">AWS
* API Reference</a></p>
*/
class AWS_MEDIAPACKAGE_API CreateHarvestJobRequest : public MediaPackageRequest
{
public:
CreateHarvestJobRequest();
// Service request name is the Operation name which will send this request out,
// each operation should has unique request name, so that we can get operation's name from this request.
// Note: this is not true for response, multiple operations may have the same response name,
// so we can not get operation's name from response.
inline virtual const char* GetServiceRequestName() const override { return "CreateHarvestJob"; }
Aws::String SerializePayload() const override;
/**
* The end of the time-window which will be harvested
*/
inline const Aws::String& GetEndTime() const{ return m_endTime; }
/**
* The end of the time-window which will be harvested
*/
inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
/**
* The end of the time-window which will be harvested
*/
inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
/**
* The end of the time-window which will be harvested
*/
inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
/**
* The end of the time-window which will be harvested
*/
inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); }
/**
* The end of the time-window which will be harvested
*/
inline CreateHarvestJobRequest& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;}
/**
* The end of the time-window which will be harvested
*/
inline CreateHarvestJobRequest& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;}
/**
* The end of the time-window which will be harvested
*/
inline CreateHarvestJobRequest& WithEndTime(const char* value) { SetEndTime(value); return *this;}
/**
* The ID of the HarvestJob. The ID must be unique within the region
and it cannot
* be changed after the HarvestJob is submitted
*/
inline const Aws::String& GetId() const{ return m_id; }
/**
* The ID of the HarvestJob. The ID must be unique within the region
and it cannot
* be changed after the HarvestJob is submitted
*/
inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
/**
* The ID of the HarvestJob. The ID must be unique within the region
and it cannot
* be changed after the HarvestJob is submitted
*/
inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
/**
* The ID of the HarvestJob. The ID must be unique within the region
and it cannot
* be changed after the HarvestJob is submitted
*/
inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
/**
* The ID of the HarvestJob. The ID must be unique within the region
and it cannot
* be changed after the HarvestJob is submitted
*/
inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
/**
* The ID of the HarvestJob. The ID must be unique within the region
and it cannot
* be changed after the HarvestJob is submitted
*/
inline CreateHarvestJobRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
/**
* The ID of the HarvestJob. The ID must be unique within the region
and it cannot
* be changed after the HarvestJob is submitted
*/
inline CreateHarvestJobRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
/**
* The ID of the HarvestJob. The ID must be unique within the region
and it cannot
* be changed after the HarvestJob is submitted
*/
inline CreateHarvestJobRequest& WithId(const char* value) { SetId(value); return *this;}
/**
* The ID of the OriginEndpoint that the HarvestJob will harvest from.
This cannot
* be changed after the HarvestJob is submitted.
*/
inline const Aws::String& GetOriginEndpointId() const{ return m_originEndpointId; }
/**
* The ID of the OriginEndpoint that the HarvestJob will harvest from.
This cannot
* be changed after the HarvestJob is submitted.
*/
inline bool OriginEndpointIdHasBeenSet() const { return m_originEndpointIdHasBeenSet; }
/**
* The ID of the OriginEndpoint that the HarvestJob will harvest from.
This cannot
* be changed after the HarvestJob is submitted.
*/
inline void SetOriginEndpointId(const Aws::String& value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId = value; }
/**
* The ID of the OriginEndpoint that the HarvestJob will harvest from.
This cannot
* be changed after the HarvestJob is submitted.
*/
inline void SetOriginEndpointId(Aws::String&& value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId = std::move(value); }
/**
* The ID of the OriginEndpoint that the HarvestJob will harvest from.
This cannot
* be changed after the HarvestJob is submitted.
*/
inline void SetOriginEndpointId(const char* value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId.assign(value); }
/**
* The ID of the OriginEndpoint that the HarvestJob will harvest from.
This cannot
* be changed after the HarvestJob is submitted.
*/
inline CreateHarvestJobRequest& WithOriginEndpointId(const Aws::String& value) { SetOriginEndpointId(value); return *this;}
/**
* The ID of the OriginEndpoint that the HarvestJob will harvest from.
This cannot
* be changed after the HarvestJob is submitted.
*/
inline CreateHarvestJobRequest& WithOriginEndpointId(Aws::String&& value) { SetOriginEndpointId(std::move(value)); return *this;}
/**
* The ID of the OriginEndpoint that the HarvestJob will harvest from.
This cannot
* be changed after the HarvestJob is submitted.
*/
inline CreateHarvestJobRequest& WithOriginEndpointId(const char* value) { SetOriginEndpointId(value); return *this;}
inline const S3Destination& GetS3Destination() const{ return m_s3Destination; }
inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
inline void SetS3Destination(const S3Destination& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = value; }
inline void SetS3Destination(S3Destination&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::move(value); }
inline CreateHarvestJobRequest& WithS3Destination(const S3Destination& value) { SetS3Destination(value); return *this;}
inline CreateHarvestJobRequest& WithS3Destination(S3Destination&& value) { SetS3Destination(std::move(value)); return *this;}
/**
* The start of the time-window which will be harvested
*/
inline const Aws::String& GetStartTime() const{ return m_startTime; }
/**
* The start of the time-window which will be harvested
*/
inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
/**
* The start of the time-window which will be harvested
*/
inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
/**
* The start of the time-window which will be harvested
*/
inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
/**
* The start of the time-window which will be harvested
*/
inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
/**
* The start of the time-window which will be harvested
*/
inline CreateHarvestJobRequest& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
/**
* The start of the time-window which will be harvested
*/
inline CreateHarvestJobRequest& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
/**
* The start of the time-window which will be harvested
*/
inline CreateHarvestJobRequest& WithStartTime(const char* value) { SetStartTime(value); return *this;}
private:
Aws::String m_endTime;
bool m_endTimeHasBeenSet;
Aws::String m_id;
bool m_idHasBeenSet;
Aws::String m_originEndpointId;
bool m_originEndpointIdHasBeenSet;
S3Destination m_s3Destination;
bool m_s3DestinationHasBeenSet;
Aws::String m_startTime;
bool m_startTimeHasBeenSet;
};
} // namespace Model
} // namespace MediaPackage
} // namespace Aws