AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartAnnotationImportJobRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/omics/model/FormatOptions.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/omics/model/AnnotationImportItemSource.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Omics
19{
20namespace Model
21{
22
26 {
27 public:
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 "StartAnnotationImportJob"; }
35
36 AWS_OMICS_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
44 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
45 inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
46 inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
47 inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
49 inline StartAnnotationImportJobRequest& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
50 inline StartAnnotationImportJobRequest& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
52
54
57 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
58 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
59 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
60 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
61 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
62 inline StartAnnotationImportJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
63 inline StartAnnotationImportJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
64 inline StartAnnotationImportJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
66
68
71 inline const Aws::Vector<AnnotationImportItemSource>& GetItems() const{ return m_items; }
72 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
73 inline void SetItems(const Aws::Vector<AnnotationImportItemSource>& value) { m_itemsHasBeenSet = true; m_items = value; }
74 inline void SetItems(Aws::Vector<AnnotationImportItemSource>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
77 inline StartAnnotationImportJobRequest& AddItems(const AnnotationImportItemSource& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
78 inline StartAnnotationImportJobRequest& AddItems(AnnotationImportItemSource&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
80
82
85 inline const Aws::String& GetVersionName() const{ return m_versionName; }
86 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
87 inline void SetVersionName(const Aws::String& value) { m_versionNameHasBeenSet = true; m_versionName = value; }
88 inline void SetVersionName(Aws::String&& value) { m_versionNameHasBeenSet = true; m_versionName = std::move(value); }
89 inline void SetVersionName(const char* value) { m_versionNameHasBeenSet = true; m_versionName.assign(value); }
90 inline StartAnnotationImportJobRequest& WithVersionName(const Aws::String& value) { SetVersionName(value); return *this;}
91 inline StartAnnotationImportJobRequest& WithVersionName(Aws::String&& value) { SetVersionName(std::move(value)); return *this;}
92 inline StartAnnotationImportJobRequest& WithVersionName(const char* value) { SetVersionName(value); return *this;}
94
96
99 inline const FormatOptions& GetFormatOptions() const{ return m_formatOptions; }
100 inline bool FormatOptionsHasBeenSet() const { return m_formatOptionsHasBeenSet; }
101 inline void SetFormatOptions(const FormatOptions& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = value; }
102 inline void SetFormatOptions(FormatOptions&& value) { m_formatOptionsHasBeenSet = true; m_formatOptions = std::move(value); }
104 inline StartAnnotationImportJobRequest& WithFormatOptions(FormatOptions&& value) { SetFormatOptions(std::move(value)); return *this;}
106
108
111 inline bool GetRunLeftNormalization() const{ return m_runLeftNormalization; }
112 inline bool RunLeftNormalizationHasBeenSet() const { return m_runLeftNormalizationHasBeenSet; }
113 inline void SetRunLeftNormalization(bool value) { m_runLeftNormalizationHasBeenSet = true; m_runLeftNormalization = value; }
116
118
121 inline const Aws::Map<Aws::String, Aws::String>& GetAnnotationFields() const{ return m_annotationFields; }
122 inline bool AnnotationFieldsHasBeenSet() const { return m_annotationFieldsHasBeenSet; }
123 inline void SetAnnotationFields(const Aws::Map<Aws::String, Aws::String>& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields = value; }
124 inline void SetAnnotationFields(Aws::Map<Aws::String, Aws::String>&& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields = std::move(value); }
127 inline StartAnnotationImportJobRequest& AddAnnotationFields(const Aws::String& key, const Aws::String& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(key, value); return *this; }
128 inline StartAnnotationImportJobRequest& AddAnnotationFields(Aws::String&& key, const Aws::String& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(std::move(key), value); return *this; }
129 inline StartAnnotationImportJobRequest& AddAnnotationFields(const Aws::String& key, Aws::String&& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(key, std::move(value)); return *this; }
130 inline StartAnnotationImportJobRequest& AddAnnotationFields(Aws::String&& key, Aws::String&& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(std::move(key), std::move(value)); return *this; }
131 inline StartAnnotationImportJobRequest& AddAnnotationFields(const char* key, Aws::String&& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(key, std::move(value)); return *this; }
132 inline StartAnnotationImportJobRequest& AddAnnotationFields(Aws::String&& key, const char* value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(std::move(key), value); return *this; }
133 inline StartAnnotationImportJobRequest& AddAnnotationFields(const char* key, const char* value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(key, value); return *this; }
135 private:
136
137 Aws::String m_destinationName;
138 bool m_destinationNameHasBeenSet = false;
139
140 Aws::String m_roleArn;
141 bool m_roleArnHasBeenSet = false;
142
144 bool m_itemsHasBeenSet = false;
145
146 Aws::String m_versionName;
147 bool m_versionNameHasBeenSet = false;
148
149 FormatOptions m_formatOptions;
150 bool m_formatOptionsHasBeenSet = false;
151
152 bool m_runLeftNormalization;
153 bool m_runLeftNormalizationHasBeenSet = false;
154
155 Aws::Map<Aws::String, Aws::String> m_annotationFields;
156 bool m_annotationFieldsHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace Omics
161} // namespace Aws
StartAnnotationImportJobRequest & WithItems(Aws::Vector< AnnotationImportItemSource > &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
StartAnnotationImportJobRequest & WithDestinationName(Aws::String &&value)
StartAnnotationImportJobRequest & WithFormatOptions(FormatOptions &&value)
StartAnnotationImportJobRequest & AddAnnotationFields(Aws::String &&key, const char *value)
StartAnnotationImportJobRequest & WithRunLeftNormalization(bool value)
void SetItems(const Aws::Vector< AnnotationImportItemSource > &value)
void SetItems(Aws::Vector< AnnotationImportItemSource > &&value)
StartAnnotationImportJobRequest & AddAnnotationFields(const char *key, const char *value)
StartAnnotationImportJobRequest & WithVersionName(const char *value)
void SetAnnotationFields(const Aws::Map< Aws::String, Aws::String > &value)
StartAnnotationImportJobRequest & AddAnnotationFields(Aws::String &&key, const Aws::String &value)
StartAnnotationImportJobRequest & WithVersionName(const Aws::String &value)
StartAnnotationImportJobRequest & WithRoleArn(const char *value)
StartAnnotationImportJobRequest & WithAnnotationFields(const Aws::Map< Aws::String, Aws::String > &value)
void SetAnnotationFields(Aws::Map< Aws::String, Aws::String > &&value)
StartAnnotationImportJobRequest & WithItems(const Aws::Vector< AnnotationImportItemSource > &value)
StartAnnotationImportJobRequest & WithRoleArn(Aws::String &&value)
StartAnnotationImportJobRequest & AddAnnotationFields(const Aws::String &key, const Aws::String &value)
StartAnnotationImportJobRequest & WithDestinationName(const Aws::String &value)
StartAnnotationImportJobRequest & WithDestinationName(const char *value)
StartAnnotationImportJobRequest & AddAnnotationFields(const Aws::String &key, Aws::String &&value)
StartAnnotationImportJobRequest & AddItems(AnnotationImportItemSource &&value)
const Aws::Map< Aws::String, Aws::String > & GetAnnotationFields() const
StartAnnotationImportJobRequest & AddAnnotationFields(const char *key, Aws::String &&value)
StartAnnotationImportJobRequest & AddItems(const AnnotationImportItemSource &value)
StartAnnotationImportJobRequest & AddAnnotationFields(Aws::String &&key, Aws::String &&value)
StartAnnotationImportJobRequest & WithRoleArn(const Aws::String &value)
StartAnnotationImportJobRequest & WithAnnotationFields(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Vector< AnnotationImportItemSource > & GetItems() const
StartAnnotationImportJobRequest & WithFormatOptions(const FormatOptions &value)
StartAnnotationImportJobRequest & WithVersionName(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector