AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
42 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline AnnotationType GetAnnotationType() const { return m_annotationType; }
50 inline bool AnnotationTypeHasBeenSet() const { return m_annotationTypeHasBeenSet; }
51 inline void SetAnnotationType(AnnotationType value) { m_annotationTypeHasBeenSet = true; m_annotationType = value; }
54
56
59 inline const Aws::Map<FormatToHeaderKey, Aws::String>& GetFormatToHeader() const { return m_formatToHeader; }
60 inline bool FormatToHeaderHasBeenSet() const { return m_formatToHeaderHasBeenSet; }
61 template<typename FormatToHeaderT = Aws::Map<FormatToHeaderKey, Aws::String>>
62 void SetFormatToHeader(FormatToHeaderT&& value) { m_formatToHeaderHasBeenSet = true; m_formatToHeader = std::forward<FormatToHeaderT>(value); }
63 template<typename FormatToHeaderT = Aws::Map<FormatToHeaderKey, Aws::String>>
64 TsvVersionOptions& WithFormatToHeader(FormatToHeaderT&& value) { SetFormatToHeader(std::forward<FormatToHeaderT>(value)); return *this;}
66 m_formatToHeaderHasBeenSet = true; m_formatToHeader.emplace(key, value); return *this;
67 }
69
71
74 inline const Aws::Vector<Aws::Map<Aws::String, SchemaValueType>>& GetSchema() const { return m_schema; }
75 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
76 template<typename SchemaT = Aws::Vector<Aws::Map<Aws::String, SchemaValueType>>>
77 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
78 template<typename SchemaT = Aws::Vector<Aws::Map<Aws::String, SchemaValueType>>>
79 TsvVersionOptions& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
80 template<typename SchemaT = Aws::Map<Aws::String, SchemaValueType>>
81 TsvVersionOptions& AddSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema.emplace_back(std::forward<SchemaT>(value)); return *this; }
83 private:
84
86 bool m_annotationTypeHasBeenSet = false;
87
89 bool m_formatToHeaderHasBeenSet = false;
90
92 bool m_schemaHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Omics
97} // namespace Aws
AWS_OMICS_API TsvVersionOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAnnotationType(AnnotationType value)
TsvVersionOptions & AddSchema(SchemaT &&value)
const Aws::Vector< Aws::Map< Aws::String, SchemaValueType > > & GetSchema() const
void SetFormatToHeader(FormatToHeaderT &&value)
AWS_OMICS_API TsvVersionOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
TsvVersionOptions & WithAnnotationType(AnnotationType value)
TsvVersionOptions & AddFormatToHeader(FormatToHeaderKey key, Aws::String value)
const Aws::Map< FormatToHeaderKey, Aws::String > & GetFormatToHeader() const
AWS_OMICS_API TsvVersionOptions()=default
TsvVersionOptions & WithFormatToHeader(FormatToHeaderT &&value)
TsvVersionOptions & WithSchema(SchemaT &&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
Aws::Utils::Json::JsonValue JsonValue