AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FileFormatDescriptor.h
1
6#pragma once
7#include <aws/lookoutmetrics/LookoutMetrics_EXPORTS.h>
8#include <aws/lookoutmetrics/model/CsvFormatDescriptor.h>
9#include <aws/lookoutmetrics/model/JsonFormatDescriptor.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 LookoutMetrics
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LOOKOUTMETRICS_API FileFormatDescriptor() = default;
37 AWS_LOOKOUTMETRICS_API FileFormatDescriptor(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LOOKOUTMETRICS_API FileFormatDescriptor& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const CsvFormatDescriptor& GetCsvFormatDescriptor() const { return m_csvFormatDescriptor; }
47 inline bool CsvFormatDescriptorHasBeenSet() const { return m_csvFormatDescriptorHasBeenSet; }
48 template<typename CsvFormatDescriptorT = CsvFormatDescriptor>
49 void SetCsvFormatDescriptor(CsvFormatDescriptorT&& value) { m_csvFormatDescriptorHasBeenSet = true; m_csvFormatDescriptor = std::forward<CsvFormatDescriptorT>(value); }
50 template<typename CsvFormatDescriptorT = CsvFormatDescriptor>
51 FileFormatDescriptor& WithCsvFormatDescriptor(CsvFormatDescriptorT&& value) { SetCsvFormatDescriptor(std::forward<CsvFormatDescriptorT>(value)); return *this;}
53
55
59 inline const JsonFormatDescriptor& GetJsonFormatDescriptor() const { return m_jsonFormatDescriptor; }
60 inline bool JsonFormatDescriptorHasBeenSet() const { return m_jsonFormatDescriptorHasBeenSet; }
61 template<typename JsonFormatDescriptorT = JsonFormatDescriptor>
62 void SetJsonFormatDescriptor(JsonFormatDescriptorT&& value) { m_jsonFormatDescriptorHasBeenSet = true; m_jsonFormatDescriptor = std::forward<JsonFormatDescriptorT>(value); }
63 template<typename JsonFormatDescriptorT = JsonFormatDescriptor>
64 FileFormatDescriptor& WithJsonFormatDescriptor(JsonFormatDescriptorT&& value) { SetJsonFormatDescriptor(std::forward<JsonFormatDescriptorT>(value)); return *this;}
66 private:
67
68 CsvFormatDescriptor m_csvFormatDescriptor;
69 bool m_csvFormatDescriptorHasBeenSet = false;
70
71 JsonFormatDescriptor m_jsonFormatDescriptor;
72 bool m_jsonFormatDescriptorHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace LookoutMetrics
77} // namespace Aws
FileFormatDescriptor & WithCsvFormatDescriptor(CsvFormatDescriptorT &&value)
void SetCsvFormatDescriptor(CsvFormatDescriptorT &&value)
FileFormatDescriptor & WithJsonFormatDescriptor(JsonFormatDescriptorT &&value)
void SetJsonFormatDescriptor(JsonFormatDescriptorT &&value)
const CsvFormatDescriptor & GetCsvFormatDescriptor() const
AWS_LOOKOUTMETRICS_API FileFormatDescriptor(Aws::Utils::Json::JsonView jsonValue)
const JsonFormatDescriptor & GetJsonFormatDescriptor() const
AWS_LOOKOUTMETRICS_API FileFormatDescriptor & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LOOKOUTMETRICS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LOOKOUTMETRICS_API FileFormatDescriptor()=default
Aws::Utils::Json::JsonValue JsonValue