AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TsvVersionOptions.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 TsvVersionOptions();
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 TsvVersionOptions& WithAnnotationType(const AnnotationType& value) { SetAnnotationType(value); return *this;}
54 inline TsvVersionOptions& 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 TsvVersionOptions& AddFormatToHeader(const FormatToHeaderKey& key, const Aws::String& value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(key, value); return *this; }
68 inline TsvVersionOptions& AddFormatToHeader(FormatToHeaderKey&& key, const Aws::String& value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(std::move(key), value); return *this; }
69 inline TsvVersionOptions& AddFormatToHeader(const FormatToHeaderKey& key, Aws::String&& value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(key, std::move(value)); return *this; }
70 inline TsvVersionOptions& AddFormatToHeader(FormatToHeaderKey&& key, Aws::String&& value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(std::move(key), std::move(value)); return *this; }
71 inline TsvVersionOptions& AddFormatToHeader(FormatToHeaderKey&& key, const char* value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(std::move(key), value); return *this; }
72 inline TsvVersionOptions& 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 TsvVersionOptions& WithSchema(Aws::Vector<Aws::Map<Aws::String, SchemaValueType>>&& value) { SetSchema(std::move(value)); return *this;}
85 inline TsvVersionOptions& AddSchema(const Aws::Map<Aws::String, SchemaValueType>& value) { m_schemaHasBeenSet = true; m_schema.push_back(value); return *this; }
86 inline TsvVersionOptions& 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
void SetAnnotationType(AnnotationType &&value)
TsvVersionOptions & AddFormatToHeader(FormatToHeaderKey &&key, const char *value)
AWS_OMICS_API TsvVersionOptions(Aws::Utils::Json::JsonView jsonValue)
void SetAnnotationType(const AnnotationType &value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
TsvVersionOptions & WithAnnotationType(const AnnotationType &value)
TsvVersionOptions & AddSchema(Aws::Map< Aws::String, SchemaValueType > &&value)
TsvVersionOptions & WithSchema(const Aws::Vector< Aws::Map< Aws::String, SchemaValueType > > &value)
const Aws::Vector< Aws::Map< Aws::String, SchemaValueType > > & GetSchema() const
TsvVersionOptions & AddFormatToHeader(FormatToHeaderKey &&key, const Aws::String &value)
void SetSchema(Aws::Vector< Aws::Map< Aws::String, SchemaValueType > > &&value)
TsvVersionOptions & AddFormatToHeader(const FormatToHeaderKey &key, const char *value)
AWS_OMICS_API TsvVersionOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
TsvVersionOptions & AddSchema(const Aws::Map< Aws::String, SchemaValueType > &value)
const Aws::Map< FormatToHeaderKey, Aws::String > & GetFormatToHeader() const
TsvVersionOptions & AddFormatToHeader(FormatToHeaderKey &&key, Aws::String &&value)
void SetFormatToHeader(const Aws::Map< FormatToHeaderKey, Aws::String > &value)
void SetSchema(const Aws::Vector< Aws::Map< Aws::String, SchemaValueType > > &value)
TsvVersionOptions & WithSchema(Aws::Vector< Aws::Map< Aws::String, SchemaValueType > > &&value)
TsvVersionOptions & AddFormatToHeader(const FormatToHeaderKey &key, const Aws::String &value)
void SetFormatToHeader(Aws::Map< FormatToHeaderKey, Aws::String > &&value)
TsvVersionOptions & WithFormatToHeader(const Aws::Map< FormatToHeaderKey, Aws::String > &value)
TsvVersionOptions & WithAnnotationType(AnnotationType &&value)
TsvVersionOptions & AddFormatToHeader(const FormatToHeaderKey &key, Aws::String &&value)
TsvVersionOptions & WithFormatToHeader(Aws::Map< FormatToHeaderKey, Aws::String > &&value)
const AnnotationType & GetAnnotationType() const
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