AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
48 inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
49 inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); }
50 inline CreateHarvestJobRequest& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;}
51 inline CreateHarvestJobRequest& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;}
52 inline CreateHarvestJobRequest& WithEndTime(const char* value) { SetEndTime(value); return *this;}
54
56
62 inline const Aws::String& GetId() const{ return m_id; }
63 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
64 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
65 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
66 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
67 inline CreateHarvestJobRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
68 inline CreateHarvestJobRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
69 inline CreateHarvestJobRequest& WithId(const char* value) { SetId(value); return *this;}
71
73
79 inline const Aws::String& GetOriginEndpointId() const{ return m_originEndpointId; }
80 inline bool OriginEndpointIdHasBeenSet() const { return m_originEndpointIdHasBeenSet; }
81 inline void SetOriginEndpointId(const Aws::String& value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId = value; }
82 inline void SetOriginEndpointId(Aws::String&& value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId = std::move(value); }
83 inline void SetOriginEndpointId(const char* value) { m_originEndpointIdHasBeenSet = true; m_originEndpointId.assign(value); }
84 inline CreateHarvestJobRequest& WithOriginEndpointId(const Aws::String& value) { SetOriginEndpointId(value); return *this;}
85 inline CreateHarvestJobRequest& WithOriginEndpointId(Aws::String&& value) { SetOriginEndpointId(std::move(value)); return *this;}
86 inline CreateHarvestJobRequest& WithOriginEndpointId(const char* value) { SetOriginEndpointId(value); return *this;}
88
90
91 inline const S3Destination& GetS3Destination() const{ return m_s3Destination; }
92 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
93 inline void SetS3Destination(const S3Destination& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = value; }
94 inline void SetS3Destination(S3Destination&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::move(value); }
95 inline CreateHarvestJobRequest& WithS3Destination(const S3Destination& value) { SetS3Destination(value); return *this;}
96 inline CreateHarvestJobRequest& WithS3Destination(S3Destination&& value) { SetS3Destination(std::move(value)); return *this;}
98
100
104 inline const Aws::String& GetStartTime() const{ return m_startTime; }
105 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
106 inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
107 inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
108 inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); }
109 inline CreateHarvestJobRequest& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;}
110 inline CreateHarvestJobRequest& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;}
111 inline CreateHarvestJobRequest& WithStartTime(const char* value) { SetStartTime(value); return *this;}
113 private:
114
115 Aws::String m_endTime;
116 bool m_endTimeHasBeenSet = false;
117
118 Aws::String m_id;
119 bool m_idHasBeenSet = false;
120
121 Aws::String m_originEndpointId;
122 bool m_originEndpointIdHasBeenSet = false;
123
124 S3Destination m_s3Destination;
125 bool m_s3DestinationHasBeenSet = false;
126
127 Aws::String m_startTime;
128 bool m_startTimeHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace MediaPackage
133} // namespace Aws
CreateHarvestJobRequest & WithStartTime(const char *value)
CreateHarvestJobRequest & WithStartTime(Aws::String &&value)
CreateHarvestJobRequest & WithOriginEndpointId(const char *value)
CreateHarvestJobRequest & WithS3Destination(const S3Destination &value)
CreateHarvestJobRequest & WithEndTime(const char *value)
CreateHarvestJobRequest & WithId(const Aws::String &value)
CreateHarvestJobRequest & WithOriginEndpointId(const Aws::String &value)
CreateHarvestJobRequest & WithId(const char *value)
virtual const char * GetServiceRequestName() const override
CreateHarvestJobRequest & WithId(Aws::String &&value)
CreateHarvestJobRequest & WithOriginEndpointId(Aws::String &&value)
CreateHarvestJobRequest & WithEndTime(const Aws::String &value)
CreateHarvestJobRequest & WithEndTime(Aws::String &&value)
CreateHarvestJobRequest & WithS3Destination(S3Destination &&value)
AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override
CreateHarvestJobRequest & WithStartTime(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String