AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartDataIngestionJobRequest.h
1
6#pragma once
7#include <aws/lookoutequipment/LookoutEquipment_EXPORTS.h>
8#include <aws/lookoutequipment/LookoutEquipmentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lookoutequipment/model/IngestionInputConfiguration.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace LookoutEquipment
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LOOKOUTEQUIPMENT_API StartDataIngestionJobRequest() = 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 "StartDataIngestionJob"; }
33
34 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
35
36 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
44 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
45 template<typename DatasetNameT = Aws::String>
46 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
47 template<typename DatasetNameT = Aws::String>
48 StartDataIngestionJobRequest& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
50
52
56 inline const IngestionInputConfiguration& GetIngestionInputConfiguration() const { return m_ingestionInputConfiguration; }
57 inline bool IngestionInputConfigurationHasBeenSet() const { return m_ingestionInputConfigurationHasBeenSet; }
58 template<typename IngestionInputConfigurationT = IngestionInputConfiguration>
59 void SetIngestionInputConfiguration(IngestionInputConfigurationT&& value) { m_ingestionInputConfigurationHasBeenSet = true; m_ingestionInputConfiguration = std::forward<IngestionInputConfigurationT>(value); }
60 template<typename IngestionInputConfigurationT = IngestionInputConfiguration>
61 StartDataIngestionJobRequest& WithIngestionInputConfiguration(IngestionInputConfigurationT&& value) { SetIngestionInputConfiguration(std::forward<IngestionInputConfigurationT>(value)); return *this;}
63
65
69 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
70 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
71 template<typename RoleArnT = Aws::String>
72 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
73 template<typename RoleArnT = Aws::String>
74 StartDataIngestionJobRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
76
78
82 inline const Aws::String& GetClientToken() const { return m_clientToken; }
83 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
84 template<typename ClientTokenT = Aws::String>
85 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
86 template<typename ClientTokenT = Aws::String>
87 StartDataIngestionJobRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
89 private:
90
91 Aws::String m_datasetName;
92 bool m_datasetNameHasBeenSet = false;
93
94 IngestionInputConfiguration m_ingestionInputConfiguration;
95 bool m_ingestionInputConfigurationHasBeenSet = false;
96
97 Aws::String m_roleArn;
98 bool m_roleArnHasBeenSet = false;
99
101 bool m_clientTokenHasBeenSet = true;
102 };
103
104} // namespace Model
105} // namespace LookoutEquipment
106} // 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