AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ImportDatasetRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/lookoutequipment/model/Tag.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace LookoutEquipment
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_LOOKOUTEQUIPMENT_API ImportDatasetRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ImportDataset"; }
34
35 AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override;
36
37 AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
44 inline const Aws::String& GetSourceDatasetArn() const{ return m_sourceDatasetArn; }
45 inline bool SourceDatasetArnHasBeenSet() const { return m_sourceDatasetArnHasBeenSet; }
46 inline void SetSourceDatasetArn(const Aws::String& value) { m_sourceDatasetArnHasBeenSet = true; m_sourceDatasetArn = value; }
47 inline void SetSourceDatasetArn(Aws::String&& value) { m_sourceDatasetArnHasBeenSet = true; m_sourceDatasetArn = std::move(value); }
48 inline void SetSourceDatasetArn(const char* value) { m_sourceDatasetArnHasBeenSet = true; m_sourceDatasetArn.assign(value); }
49 inline ImportDatasetRequest& WithSourceDatasetArn(const Aws::String& value) { SetSourceDatasetArn(value); return *this;}
50 inline ImportDatasetRequest& WithSourceDatasetArn(Aws::String&& value) { SetSourceDatasetArn(std::move(value)); return *this;}
51 inline ImportDatasetRequest& WithSourceDatasetArn(const char* value) { SetSourceDatasetArn(value); return *this;}
53
55
61 inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
62 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
63 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
64 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
65 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
66 inline ImportDatasetRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
67 inline ImportDatasetRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
68 inline ImportDatasetRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
70
72
76 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
77 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
78 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
79 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
80 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
81 inline ImportDatasetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
82 inline ImportDatasetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
83 inline ImportDatasetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
85
87
91 inline const Aws::String& GetServerSideKmsKeyId() const{ return m_serverSideKmsKeyId; }
92 inline bool ServerSideKmsKeyIdHasBeenSet() const { return m_serverSideKmsKeyIdHasBeenSet; }
93 inline void SetServerSideKmsKeyId(const Aws::String& value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId = value; }
94 inline void SetServerSideKmsKeyId(Aws::String&& value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId = std::move(value); }
95 inline void SetServerSideKmsKeyId(const char* value) { m_serverSideKmsKeyIdHasBeenSet = true; m_serverSideKmsKeyId.assign(value); }
97 inline ImportDatasetRequest& WithServerSideKmsKeyId(Aws::String&& value) { SetServerSideKmsKeyId(std::move(value)); return *this;}
98 inline ImportDatasetRequest& WithServerSideKmsKeyId(const char* value) { SetServerSideKmsKeyId(value); return *this;}
100
102
105 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
106 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
107 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
108 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
109 inline ImportDatasetRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
110 inline ImportDatasetRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
111 inline ImportDatasetRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
112 inline ImportDatasetRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
114 private:
115
116 Aws::String m_sourceDatasetArn;
117 bool m_sourceDatasetArnHasBeenSet = false;
118
119 Aws::String m_datasetName;
120 bool m_datasetNameHasBeenSet = false;
121
122 Aws::String m_clientToken;
123 bool m_clientTokenHasBeenSet = false;
124
125 Aws::String m_serverSideKmsKeyId;
126 bool m_serverSideKmsKeyIdHasBeenSet = false;
127
128 Aws::Vector<Tag> m_tags;
129 bool m_tagsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace LookoutEquipment
134} // namespace Aws
ImportDatasetRequest & WithClientToken(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportDatasetRequest & WithDatasetName(Aws::String &&value)
ImportDatasetRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
ImportDatasetRequest & WithTags(const Aws::Vector< Tag > &value)
ImportDatasetRequest & WithServerSideKmsKeyId(const char *value)
ImportDatasetRequest & WithClientToken(const Aws::String &value)
ImportDatasetRequest & WithSourceDatasetArn(const char *value)
ImportDatasetRequest & WithDatasetName(const char *value)
ImportDatasetRequest & WithSourceDatasetArn(Aws::String &&value)
ImportDatasetRequest & WithSourceDatasetArn(const Aws::String &value)
ImportDatasetRequest & AddTags(const Tag &value)
ImportDatasetRequest & WithServerSideKmsKeyId(const Aws::String &value)
ImportDatasetRequest & WithServerSideKmsKeyId(Aws::String &&value)
AWS_LOOKOUTEQUIPMENT_API Aws::String SerializePayload() const override
ImportDatasetRequest & WithDatasetName(const Aws::String &value)
ImportDatasetRequest & WithTags(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