AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDatasetRequest.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/DatasetSchema.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lookoutequipment/model/Tag.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace LookoutEquipment
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_LOOKOUTEQUIPMENT_API CreateDatasetRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateDataset"; }
35
36 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
37
38 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
46 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
47 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
48 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
49 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
50 inline CreateDatasetRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
51 inline CreateDatasetRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
52 inline CreateDatasetRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
54
56
60 inline const DatasetSchema& GetDatasetSchema() const{ return m_datasetSchema; }
61 inline bool DatasetSchemaHasBeenSet() const { return m_datasetSchemaHasBeenSet; }
62 inline void SetDatasetSchema(const DatasetSchema& value) { m_datasetSchemaHasBeenSet = true; m_datasetSchema = value; }
63 inline void SetDatasetSchema(DatasetSchema&& value) { m_datasetSchemaHasBeenSet = true; m_datasetSchema = std::move(value); }
64 inline CreateDatasetRequest& WithDatasetSchema(const DatasetSchema& value) { SetDatasetSchema(value); return *this;}
65 inline CreateDatasetRequest& WithDatasetSchema(DatasetSchema&& value) { SetDatasetSchema(std::move(value)); return *this;}
67
69
73 inline const Aws::String& GetServerSideKmsKeyId() const{ return m_serverSideKmsKeyId; }
74 inline bool ServerSideKmsKeyIdHasBeenSet() const { return m_serverSideKmsKeyIdHasBeenSet; }
75 inline void SetServerSideKmsKeyId(const Aws::String& value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId = value; }
76 inline void SetServerSideKmsKeyId(Aws::String&& value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId = std::move(value); }
77 inline void SetServerSideKmsKeyId(const char* value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId.assign(value); }
79 inline CreateDatasetRequest& WithServerSideKmsKeyId(Aws::String&& value) { SetServerSideKmsKeyId(std::move(value)); return *this;}
80 inline CreateDatasetRequest& WithServerSideKmsKeyId(const char* value) { SetServerSideKmsKeyId(value); return *this;}
82
84
88 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
89 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
90 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
91 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
92 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
93 inline CreateDatasetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
94 inline CreateDatasetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
95 inline CreateDatasetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
97
99
102 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
105 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
106 inline CreateDatasetRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
107 inline CreateDatasetRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
108 inline CreateDatasetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
109 inline CreateDatasetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
111 private:
112
113 Aws::String m_datasetName;
114 bool m_datasetNameHasBeenSet = false;
115
116 DatasetSchema m_datasetSchema;
117 bool m_datasetSchemaHasBeenSet = false;
118
119 Aws::String m_serverSideKmsKeyId;
120 bool m_serverSideKmsKeyIdHasBeenSet = false;
121
122 Aws::String m_clientToken;
123 bool m_clientTokenHasBeenSet = false;
124
125 Aws::Vector<Tag> m_tags;
126 bool m_tagsHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace LookoutEquipment
131} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateDatasetRequest & WithClientToken(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
CreateDatasetRequest & WithDatasetName(const Aws::String &value)
CreateDatasetRequest & WithServerSideKmsKeyId(Aws::String &&value)
CreateDatasetRequest & WithDatasetSchema(const DatasetSchema &value)
CreateDatasetRequest & WithDatasetName(const char *value)
CreateDatasetRequest & WithDatasetSchema(DatasetSchema &&value)
CreateDatasetRequest & WithClientToken(const Aws::String &value)
CreateDatasetRequest & WithTags(Aws::Vector< Tag > &&value)
CreateDatasetRequest & AddTags(const Tag &value)
CreateDatasetRequest & WithClientToken(const char *value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDatasetRequest & WithDatasetName(Aws::String &&value)
CreateDatasetRequest & WithServerSideKmsKeyId(const Aws::String &value)
CreateDatasetRequest & WithServerSideKmsKeyId(const char *value)
CreateDatasetRequest & WithTags(const Aws::Vector< Tag > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector