AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Omics {
21namespace Model {
22
29 public:
30 AWS_OMICS_API FormatOptions() = default;
31 AWS_OMICS_API FormatOptions(Aws::Utils::Json::JsonView jsonValue);
33 AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const TsvOptions& GetTsvOptions() const { return m_tsvOptions; }
40 inline bool TsvOptionsHasBeenSet() const { return m_tsvOptionsHasBeenSet; }
41 template <typename TsvOptionsT = TsvOptions>
42 void SetTsvOptions(TsvOptionsT&& value) {
43 m_tsvOptionsHasBeenSet = true;
44 m_tsvOptions = std::forward<TsvOptionsT>(value);
45 }
46 template <typename TsvOptionsT = TsvOptions>
47 FormatOptions& WithTsvOptions(TsvOptionsT&& value) {
48 SetTsvOptions(std::forward<TsvOptionsT>(value));
49 return *this;
50 }
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) {
61 m_vcfOptionsHasBeenSet = true;
62 m_vcfOptions = std::forward<VcfOptionsT>(value);
63 }
64 template <typename VcfOptionsT = VcfOptions>
65 FormatOptions& WithVcfOptions(VcfOptionsT&& value) {
66 SetVcfOptions(std::forward<VcfOptionsT>(value));
67 return *this;
68 }
70 private:
71 TsvOptions m_tsvOptions;
72
73 VcfOptions m_vcfOptions;
74 bool m_tsvOptionsHasBeenSet = false;
75 bool m_vcfOptionsHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Omics
80} // 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