AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FormatOptions.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/model/TsvOptions.h>
9#include <aws/omics/model/VcfOptions.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Omics
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_OMICS_API FormatOptions() = default;
36 AWS_OMICS_API FormatOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const TsvOptions& GetTsvOptions() const { return m_tsvOptions; }
46 inline bool TsvOptionsHasBeenSet() const { return m_tsvOptionsHasBeenSet; }
47 template<typename TsvOptionsT = TsvOptions>
48 void SetTsvOptions(TsvOptionsT&& value) { m_tsvOptionsHasBeenSet = true; m_tsvOptions = std::forward<TsvOptionsT>(value); }
49 template<typename TsvOptionsT = TsvOptions>
50 FormatOptions& WithTsvOptions(TsvOptionsT&& value) { SetTsvOptions(std::forward<TsvOptionsT>(value)); return *this;}
52
54
57 inline const VcfOptions& GetVcfOptions() const { return m_vcfOptions; }
58 inline bool VcfOptionsHasBeenSet() const { return m_vcfOptionsHasBeenSet; }
59 template<typename VcfOptionsT = VcfOptions>
60 void SetVcfOptions(VcfOptionsT&& value) { m_vcfOptionsHasBeenSet = true; m_vcfOptions = std::forward<VcfOptionsT>(value); }
61 template<typename VcfOptionsT = VcfOptions>
62 FormatOptions& WithVcfOptions(VcfOptionsT&& value) { SetVcfOptions(std::forward<VcfOptionsT>(value)); return *this;}
64 private:
65
66 TsvOptions m_tsvOptions;
67 bool m_tsvOptionsHasBeenSet = false;
68
69 VcfOptions m_vcfOptions;
70 bool m_vcfOptionsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Omics
75} // namespace Aws
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
FormatOptions & WithVcfOptions(VcfOptionsT &&value)
AWS_OMICS_API FormatOptions()=default
AWS_OMICS_API FormatOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTsvOptions(TsvOptionsT &&value)
void SetVcfOptions(VcfOptionsT &&value)
FormatOptions & WithTsvOptions(TsvOptionsT &&value)
AWS_OMICS_API FormatOptions(Aws::Utils::Json::JsonView jsonValue)
const TsvOptions & GetTsvOptions() const
const VcfOptions & GetVcfOptions() const
Aws::Utils::Json::JsonValue JsonValue