AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartVariantImportJobRequest.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/core/utils/memory/stl/AWSMap.h>
12#include <aws/omics/model/VariantImportItemSource.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Omics
18{
19namespace Model
20{
21
25 {
26 public:
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 "StartVariantImportJob"; }
34
35 AWS_OMICS_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
43 inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
44 inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
45 inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
46 inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
48 inline StartVariantImportJobRequest& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
49 inline StartVariantImportJobRequest& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
51
53
56 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
57 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
58 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
59 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
60 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
61 inline StartVariantImportJobRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
62 inline StartVariantImportJobRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
63 inline StartVariantImportJobRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
65
67
70 inline const Aws::Vector<VariantImportItemSource>& GetItems() const{ return m_items; }
71 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
72 inline void SetItems(const Aws::Vector<VariantImportItemSource>& value) { m_itemsHasBeenSet = true; m_items = value; }
73 inline void SetItems(Aws::Vector<VariantImportItemSource>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
75 inline StartVariantImportJobRequest& WithItems(Aws::Vector<VariantImportItemSource>&& value) { SetItems(std::move(value)); return *this;}
76 inline StartVariantImportJobRequest& AddItems(const VariantImportItemSource& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
77 inline StartVariantImportJobRequest& AddItems(VariantImportItemSource&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; }
79
81
84 inline bool GetRunLeftNormalization() const{ return m_runLeftNormalization; }
85 inline bool RunLeftNormalizationHasBeenSet() const { return m_runLeftNormalizationHasBeenSet; }
86 inline void SetRunLeftNormalization(bool value) { m_runLeftNormalizationHasBeenSet = true; m_runLeftNormalization = value; }
89
91
94 inline const Aws::Map<Aws::String, Aws::String>& GetAnnotationFields() const{ return m_annotationFields; }
95 inline bool AnnotationFieldsHasBeenSet() const { return m_annotationFieldsHasBeenSet; }
96 inline void SetAnnotationFields(const Aws::Map<Aws::String, Aws::String>& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields = value; }
97 inline void SetAnnotationFields(Aws::Map<Aws::String, Aws::String>&& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields = std::move(value); }
100 inline StartVariantImportJobRequest& AddAnnotationFields(const Aws::String& key, const Aws::String& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(key, value); return *this; }
101 inline StartVariantImportJobRequest& AddAnnotationFields(Aws::String&& key, const Aws::String& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(std::move(key), value); return *this; }
102 inline StartVariantImportJobRequest& AddAnnotationFields(const Aws::String& key, Aws::String&& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(key, std::move(value)); return *this; }
103 inline StartVariantImportJobRequest& AddAnnotationFields(Aws::String&& key, Aws::String&& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(std::move(key), std::move(value)); return *this; }
104 inline StartVariantImportJobRequest& AddAnnotationFields(const char* key, Aws::String&& value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(key, std::move(value)); return *this; }
105 inline StartVariantImportJobRequest& AddAnnotationFields(Aws::String&& key, const char* value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(std::move(key), value); return *this; }
106 inline StartVariantImportJobRequest& AddAnnotationFields(const char* key, const char* value) { m_annotationFieldsHasBeenSet = true; m_annotationFields.emplace(key, value); return *this; }
108 private:
109
110 Aws::String m_destinationName;
111 bool m_destinationNameHasBeenSet = false;
112
113 Aws::String m_roleArn;
114 bool m_roleArnHasBeenSet = false;
115
117 bool m_itemsHasBeenSet = false;
118
119 bool m_runLeftNormalization;
120 bool m_runLeftNormalizationHasBeenSet = false;
121
122 Aws::Map<Aws::String, Aws::String> m_annotationFields;
123 bool m_annotationFieldsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Omics
128} // namespace Aws
StartVariantImportJobRequest & AddAnnotationFields(Aws::String &&key, Aws::String &&value)
StartVariantImportJobRequest & WithAnnotationFields(Aws::Map< Aws::String, Aws::String > &&value)
StartVariantImportJobRequest & AddAnnotationFields(Aws::String &&key, const Aws::String &value)
StartVariantImportJobRequest & WithDestinationName(const char *value)
StartVariantImportJobRequest & AddAnnotationFields(const char *key, const char *value)
StartVariantImportJobRequest & WithRoleArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetAnnotationFields(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< VariantImportItemSource > & GetItems() const
StartVariantImportJobRequest & WithRunLeftNormalization(bool value)
StartVariantImportJobRequest & AddItems(VariantImportItemSource &&value)
StartVariantImportJobRequest & AddAnnotationFields(const Aws::String &key, Aws::String &&value)
StartVariantImportJobRequest & AddAnnotationFields(Aws::String &&key, const char *value)
StartVariantImportJobRequest & WithAnnotationFields(const Aws::Map< Aws::String, Aws::String > &value)
StartVariantImportJobRequest & WithItems(const Aws::Vector< VariantImportItemSource > &value)
StartVariantImportJobRequest & WithRoleArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAnnotationFields() const
AWS_OMICS_API Aws::String SerializePayload() const override
void SetItems(const Aws::Vector< VariantImportItemSource > &value)
void SetAnnotationFields(Aws::Map< Aws::String, Aws::String > &&value)
StartVariantImportJobRequest & AddAnnotationFields(const char *key, Aws::String &&value)
StartVariantImportJobRequest & WithDestinationName(Aws::String &&value)
void SetItems(Aws::Vector< VariantImportItemSource > &&value)
StartVariantImportJobRequest & WithItems(Aws::Vector< VariantImportItemSource > &&value)
StartVariantImportJobRequest & AddAnnotationFields(const Aws::String &key, const Aws::String &value)
StartVariantImportJobRequest & WithDestinationName(const Aws::String &value)
StartVariantImportJobRequest & WithRoleArn(Aws::String &&value)
StartVariantImportJobRequest & AddItems(const VariantImportItemSource &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