AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TsvStoreOptions.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/model/AnnotationType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/omics/model/FormatToHeaderKey.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/omics/model/SchemaValueType.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Omics
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_OMICS_API TsvStoreOptions();
42 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const AnnotationType& GetAnnotationType() const{ return m_annotationType; }
50 inline bool AnnotationTypeHasBeenSet() const { return m_annotationTypeHasBeenSet; }
51 inline void SetAnnotationType(const AnnotationType& value) { m_annotationTypeHasBeenSet = true; m_annotationType = value; }
52 inline void SetAnnotationType(AnnotationType&& value) { m_annotationTypeHasBeenSet = true; m_annotationType = std::move(value); }
53 inline TsvStoreOptions& WithAnnotationType(const AnnotationType& value) { SetAnnotationType(value); return *this;}
54 inline TsvStoreOptions& WithAnnotationType(AnnotationType&& value) { SetAnnotationType(std::move(value)); return *this;}
56
58
61 inline const Aws::Map<FormatToHeaderKey, Aws::String>& GetFormatToHeader() const{ return m_formatToHeader; }
62 inline bool FormatToHeaderHasBeenSet() const { return m_formatToHeaderHasBeenSet; }
63 inline void SetFormatToHeader(const Aws::Map<FormatToHeaderKey, Aws::String>& value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader = value; }
64 inline void SetFormatToHeader(Aws::Map<FormatToHeaderKey, Aws::String>&& value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader = std::move(value); }
67 inline TsvStoreOptions& AddFormatToHeader(const FormatToHeaderKey& key, const Aws::String& value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(key, value); return *this; }
68 inline TsvStoreOptions& AddFormatToHeader(FormatToHeaderKey&& key, const Aws::String& value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(std::move(key), value); return *this; }
69 inline TsvStoreOptions& AddFormatToHeader(const FormatToHeaderKey& key, Aws::String&& value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(key, std::move(value)); return *this; }
70 inline TsvStoreOptions& AddFormatToHeader(FormatToHeaderKey&& key, Aws::String&& value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(std::move(key), std::move(value)); return *this; }
71 inline TsvStoreOptions& AddFormatToHeader(FormatToHeaderKey&& key, const char* value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(std::move(key), value); return *this; }
72 inline TsvStoreOptions& AddFormatToHeader(const FormatToHeaderKey& key, const char* value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(key, value); return *this; }
74
76
79 inline const Aws::Vector<Aws::Map<Aws::String, SchemaValueType>>& GetSchema() const{ return m_schema; }
80 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
81 inline void SetSchema(const Aws::Vector<Aws::Map<Aws::String, SchemaValueType>>& value) { m_schemaHasBeenSet = true; m_schema = value; }
82 inline void SetSchema(Aws::Vector<Aws::Map<Aws::String, SchemaValueType>>&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
84 inline TsvStoreOptions& WithSchema(Aws::Vector<Aws::Map<Aws::String, SchemaValueType>>&& value) { SetSchema(std::move(value)); return *this;}
85 inline TsvStoreOptions& AddSchema(const Aws::Map<Aws::String, SchemaValueType>& value) { m_schemaHasBeenSet = true; m_schema.push_back(value); return *this; }
86 inline TsvStoreOptions& AddSchema(Aws::Map<Aws::String, SchemaValueType>&& value) { m_schemaHasBeenSet = true; m_schema.push_back(std::move(value)); return *this; }
88 private:
89
90 AnnotationType m_annotationType;
91 bool m_annotationTypeHasBeenSet = false;
92
94 bool m_formatToHeaderHasBeenSet = false;
95
97 bool m_schemaHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Omics
102} // namespace Aws
AWS_OMICS_API TsvStoreOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
TsvStoreOptions & WithFormatToHeader(Aws::Map< FormatToHeaderKey, Aws::String > &&value)
const Aws::Map< FormatToHeaderKey, Aws::String > & GetFormatToHeader() const
TsvStoreOptions & WithAnnotationType(AnnotationType &&value)
const Aws::Vector< Aws::Map< Aws::String, SchemaValueType > > & GetSchema() const
TsvStoreOptions & AddSchema(const Aws::Map< Aws::String, SchemaValueType > &value)
TsvStoreOptions & AddFormatToHeader(FormatToHeaderKey &&key, const char *value)
TsvStoreOptions & AddFormatToHeader(const FormatToHeaderKey &key, Aws::String &&value)
TsvStoreOptions & WithFormatToHeader(const Aws::Map< FormatToHeaderKey, Aws::String > &value)
TsvStoreOptions & AddSchema(Aws::Map< Aws::String, SchemaValueType > &&value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
TsvStoreOptions & WithSchema(Aws::Vector< Aws::Map< Aws::String, SchemaValueType > > &&value)
const AnnotationType & GetAnnotationType() const
TsvStoreOptions & AddFormatToHeader(FormatToHeaderKey &&key, Aws::String &&value)
TsvStoreOptions & AddFormatToHeader(const FormatToHeaderKey &key, const char *value)
void SetSchema(const Aws::Vector< Aws::Map< Aws::String, SchemaValueType > > &value)
TsvStoreOptions & AddFormatToHeader(const FormatToHeaderKey &key, const Aws::String &value)
void SetAnnotationType(const AnnotationType &value)
TsvStoreOptions & WithAnnotationType(const AnnotationType &value)
void SetAnnotationType(AnnotationType &&value)
TsvStoreOptions & AddFormatToHeader(FormatToHeaderKey &&key, const Aws::String &value)
void SetFormatToHeader(Aws::Map< FormatToHeaderKey, Aws::String > &&value)
void SetFormatToHeader(const Aws::Map< FormatToHeaderKey, Aws::String > &value)
TsvStoreOptions & WithSchema(const Aws::Vector< Aws::Map< Aws::String, SchemaValueType > > &value)
void SetSchema(Aws::Vector< Aws::Map< Aws::String, SchemaValueType > > &&value)
AWS_OMICS_API TsvStoreOptions(Aws::Utils::Json::JsonView jsonValue)
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
Aws::Utils::Json::JsonValue JsonValue