AWS SDK for C++

AWS SDK for C++ Version 1.11.681

Loading...
Searching...
No Matches
StartDataIngestionJobRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
10#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
11#include <aws/lookoutequipment/model/IngestionInputConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace LookoutEquipment {
17namespace Model {
18
22 public:
23 AWS_LOOKOUTEQUIPMENT_API StartDataIngestionJobRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartDataIngestionJob"; }
30
31 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
32
33 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
40 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
41 template <typename DatasetNameT = Aws::String>
42 void SetDatasetName(DatasetNameT&& value) {
43 m_datasetNameHasBeenSet = true;
44 m_datasetName = std::forward<DatasetNameT>(value);
45 }
46 template <typename DatasetNameT = Aws::String>
48 SetDatasetName(std::forward<DatasetNameT>(value));
49 return *this;
50 }
52
54
58 inline const IngestionInputConfiguration& GetIngestionInputConfiguration() const { return m_ingestionInputConfiguration; }
59 inline bool IngestionInputConfigurationHasBeenSet() const { return m_ingestionInputConfigurationHasBeenSet; }
60 template <typename IngestionInputConfigurationT = IngestionInputConfiguration>
61 void SetIngestionInputConfiguration(IngestionInputConfigurationT&& value) {
62 m_ingestionInputConfigurationHasBeenSet = true;
63 m_ingestionInputConfiguration = std::forward<IngestionInputConfigurationT>(value);
64 }
65 template <typename IngestionInputConfigurationT = IngestionInputConfiguration>
66 StartDataIngestionJobRequest& WithIngestionInputConfiguration(IngestionInputConfigurationT&& value) {
67 SetIngestionInputConfiguration(std::forward<IngestionInputConfigurationT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
78 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
79 template <typename RoleArnT = Aws::String>
80 void SetRoleArn(RoleArnT&& value) {
81 m_roleArnHasBeenSet = true;
82 m_roleArn = std::forward<RoleArnT>(value);
83 }
84 template <typename RoleArnT = Aws::String>
86 SetRoleArn(std::forward<RoleArnT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetClientToken() const { return m_clientToken; }
97 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
98 template <typename ClientTokenT = Aws::String>
99 void SetClientToken(ClientTokenT&& value) {
100 m_clientTokenHasBeenSet = true;
101 m_clientToken = std::forward<ClientTokenT>(value);
102 }
103 template <typename ClientTokenT = Aws::String>
105 SetClientToken(std::forward<ClientTokenT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_datasetName;
111 bool m_datasetNameHasBeenSet = false;
112
113 IngestionInputConfiguration m_ingestionInputConfiguration;
114 bool m_ingestionInputConfigurationHasBeenSet = false;
115
116 Aws::String m_roleArn;
117 bool m_roleArnHasBeenSet = false;
118
120 bool m_clientTokenHasBeenSet = true;
121};
122
123} // namespace Model
124} // namespace LookoutEquipment
125} // namespace Aws
void SetIngestionInputConfiguration(IngestionInputConfigurationT &&value)
StartDataIngestionJobRequest & WithRoleArn(RoleArnT &&value)
const IngestionInputConfiguration & GetIngestionInputConfiguration() const
StartDataIngestionJobRequest & WithIngestionInputConfiguration(IngestionInputConfigurationT &&value)
StartDataIngestionJobRequest & WithDatasetName(DatasetNameT &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartDataIngestionJobRequest & WithClientToken(ClientTokenT &&value)
AWS_LOOKOUTEQUIPMENT_API StartDataIngestionJobRequest()=default
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String