AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
46 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
47 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
48 inline StartDataIngestionJobRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
49 inline StartDataIngestionJobRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
50 inline StartDataIngestionJobRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
52
54
58 inline const IngestionInputConfiguration& GetIngestionInputConfiguration() const{ return m_ingestionInputConfiguration; }
59 inline bool IngestionInputConfigurationHasBeenSet() const { return m_ingestionInputConfigurationHasBeenSet; }
60 inline void SetIngestionInputConfiguration(const IngestionInputConfiguration& value) { m_ingestionInputConfigurationHasBeenSet = true; m_ingestionInputConfiguration = value; }
61 inline void SetIngestionInputConfiguration(IngestionInputConfiguration&& value) { m_ingestionInputConfigurationHasBeenSet = true; m_ingestionInputConfiguration = std::move(value); }
65
67
71 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
72 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
73 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
74 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
75 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
76 inline StartDataIngestionJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
77 inline StartDataIngestionJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
78 inline StartDataIngestionJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
80
82
86 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
87 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
88 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
89 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
90 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
91 inline StartDataIngestionJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
92 inline StartDataIngestionJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
93 inline StartDataIngestionJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
95 private:
96
97 Aws::String m_datasetName;
98 bool m_datasetNameHasBeenSet = false;
99
100 IngestionInputConfiguration m_ingestionInputConfiguration;
101 bool m_ingestionInputConfigurationHasBeenSet = false;
102
103 Aws::String m_roleArn;
104 bool m_roleArnHasBeenSet = false;
105
106 Aws::String m_clientToken;
107 bool m_clientTokenHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace LookoutEquipment
112} // namespace Aws
const IngestionInputConfiguration & GetIngestionInputConfiguration() const
StartDataIngestionJobRequest & WithClientToken(const Aws::String &value)
StartDataIngestionJobRequest & WithIngestionInputConfiguration(const IngestionInputConfiguration &value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartDataIngestionJobRequest & WithRoleArn(const char *value)
StartDataIngestionJobRequest & WithRoleArn(Aws::String &&value)
StartDataIngestionJobRequest & WithDatasetName(Aws::String &&value)
void SetIngestionInputConfiguration(const IngestionInputConfiguration &value)
StartDataIngestionJobRequest & WithDatasetName(const Aws::String &value)
StartDataIngestionJobRequest & WithRoleArn(const Aws::String &value)
StartDataIngestionJobRequest & WithDatasetName(const char *value)
StartDataIngestionJobRequest & WithClientToken(const char *value)
StartDataIngestionJobRequest & WithIngestionInputConfiguration(IngestionInputConfiguration &&value)
void SetIngestionInputConfiguration(IngestionInputConfiguration &&value)
StartDataIngestionJobRequest & WithClientToken(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String