AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateHarvestJobRequest.h
1
6#pragma once
7#include <aws/mediapackage/MediaPackage_EXPORTS.h>
8#include <aws/mediapackage/MediaPackageRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediapackage/model/S3Destination.h>
11#include <utility>
12
13namespace Aws
14{
15namespace MediaPackage
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_MEDIAPACKAGE_API CreateHarvestJobRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateHarvestJob"; }
36
37 AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetEndTime() const { return m_endTime; }
46 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
47 template<typename EndTimeT = Aws::String>
48 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
49 template<typename EndTimeT = Aws::String>
50 CreateHarvestJobRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
52
54
60 inline const Aws::String& GetId() const { return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 template<typename IdT = Aws::String>
63 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
64 template<typename IdT = Aws::String>
65 CreateHarvestJobRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
67
69
75 inline const Aws::String& GetOriginEndpointId() const { return m_originEndpointId; }
76 inline bool OriginEndpointIdHasBeenSet() const { return m_originEndpointIdHasBeenSet; }
77 template<typename OriginEndpointIdT = Aws::String>
78 void SetOriginEndpointId(OriginEndpointIdT&& value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId = std::forward<OriginEndpointIdT>(value); }
79 template<typename OriginEndpointIdT = Aws::String>
80 CreateHarvestJobRequest& WithOriginEndpointId(OriginEndpointIdT&& value) { SetOriginEndpointId(std::forward<OriginEndpointIdT>(value)); return *this;}
82
84
85 inline const S3Destination& GetS3Destination() const { return m_s3Destination; }
86 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
87 template<typename S3DestinationT = S3Destination>
88 void SetS3Destination(S3DestinationT&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::forward<S3DestinationT>(value); }
89 template<typename S3DestinationT = S3Destination>
90 CreateHarvestJobRequest& WithS3Destination(S3DestinationT&& value) { SetS3Destination(std::forward<S3DestinationT>(value)); return *this;}
92
94
98 inline const Aws::String& GetStartTime() const { return m_startTime; }
99 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
100 template<typename StartTimeT = Aws::String>
101 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
102 template<typename StartTimeT = Aws::String>
103 CreateHarvestJobRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
105 private:
106
107 Aws::String m_endTime;
108 bool m_endTimeHasBeenSet = false;
109
110 Aws::String m_id;
111 bool m_idHasBeenSet = false;
112
113 Aws::String m_originEndpointId;
114 bool m_originEndpointIdHasBeenSet = false;
115
116 S3Destination m_s3Destination;
117 bool m_s3DestinationHasBeenSet = false;
118
119 Aws::String m_startTime;
120 bool m_startTimeHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace MediaPackage
125} // namespace Aws
CreateHarvestJobRequest & WithStartTime(StartTimeT &&value)
AWS_MEDIAPACKAGE_API CreateHarvestJobRequest()=default
CreateHarvestJobRequest & WithS3Destination(S3DestinationT &&value)
virtual const char * GetServiceRequestName() const override
CreateHarvestJobRequest & WithEndTime(EndTimeT &&value)
CreateHarvestJobRequest & WithOriginEndpointId(OriginEndpointIdT &&value)
AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String