AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateHarvestJobRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackage/MediaPackageRequest.h>
9#include <aws/mediapackage/MediaPackage_EXPORTS.h>
10#include <aws/mediapackage/model/S3Destination.h>
11
12#include <utility>
13
14namespace Aws {
15namespace MediaPackage {
16namespace Model {
17
25 public:
26 AWS_MEDIAPACKAGE_API CreateHarvestJobRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateHarvestJob"; }
33
34 AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override;
35
37
41 inline const Aws::String& GetEndTime() const { return m_endTime; }
42 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
43 template <typename EndTimeT = Aws::String>
44 void SetEndTime(EndTimeT&& value) {
45 m_endTimeHasBeenSet = true;
46 m_endTime = std::forward<EndTimeT>(value);
47 }
48 template <typename EndTimeT = Aws::String>
50 SetEndTime(std::forward<EndTimeT>(value));
51 return *this;
52 }
54
56
62 inline const Aws::String& GetId() const { return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 template <typename IdT = Aws::String>
65 void SetId(IdT&& value) {
66 m_idHasBeenSet = true;
67 m_id = std::forward<IdT>(value);
68 }
69 template <typename IdT = Aws::String>
71 SetId(std::forward<IdT>(value));
72 return *this;
73 }
75
77
83 inline const Aws::String& GetOriginEndpointId() const { return m_originEndpointId; }
84 inline bool OriginEndpointIdHasBeenSet() const { return m_originEndpointIdHasBeenSet; }
85 template <typename OriginEndpointIdT = Aws::String>
86 void SetOriginEndpointId(OriginEndpointIdT&& value) {
87 m_originEndpointIdHasBeenSet = true;
88 m_originEndpointId = std::forward<OriginEndpointIdT>(value);
89 }
90 template <typename OriginEndpointIdT = Aws::String>
91 CreateHarvestJobRequest& WithOriginEndpointId(OriginEndpointIdT&& value) {
92 SetOriginEndpointId(std::forward<OriginEndpointIdT>(value));
93 return *this;
94 }
96
98
99 inline const S3Destination& GetS3Destination() const { return m_s3Destination; }
100 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
101 template <typename S3DestinationT = S3Destination>
102 void SetS3Destination(S3DestinationT&& value) {
103 m_s3DestinationHasBeenSet = true;
104 m_s3Destination = std::forward<S3DestinationT>(value);
105 }
106 template <typename S3DestinationT = S3Destination>
108 SetS3Destination(std::forward<S3DestinationT>(value));
109 return *this;
110 }
112
114
118 inline const Aws::String& GetStartTime() const { return m_startTime; }
119 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
120 template <typename StartTimeT = Aws::String>
121 void SetStartTime(StartTimeT&& value) {
122 m_startTimeHasBeenSet = true;
123 m_startTime = std::forward<StartTimeT>(value);
124 }
125 template <typename StartTimeT = Aws::String>
127 SetStartTime(std::forward<StartTimeT>(value));
128 return *this;
129 }
131 private:
132 Aws::String m_endTime;
133
134 Aws::String m_id;
135
136 Aws::String m_originEndpointId;
137
138 S3Destination m_s3Destination;
139
140 Aws::String m_startTime;
141 bool m_endTimeHasBeenSet = false;
142 bool m_idHasBeenSet = false;
143 bool m_originEndpointIdHasBeenSet = false;
144 bool m_s3DestinationHasBeenSet = false;
145 bool m_startTimeHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace MediaPackage
150} // 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