AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
InputSerialization.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/model/CSVInput.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Glacier {
20namespace Model {
21
28 public:
29 AWS_GLACIER_API InputSerialization() = default;
32 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const CSVInput& GetCsv() const { return m_csv; }
39 inline bool CsvHasBeenSet() const { return m_csvHasBeenSet; }
40 template <typename CsvT = CSVInput>
41 void SetCsv(CsvT&& value) {
42 m_csvHasBeenSet = true;
43 m_csv = std::forward<CsvT>(value);
44 }
45 template <typename CsvT = CSVInput>
46 InputSerialization& WithCsv(CsvT&& value) {
47 SetCsv(std::forward<CsvT>(value));
48 return *this;
49 }
51 private:
52 CSVInput m_csv;
53 bool m_csvHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace Glacier
58} // namespace Aws
AWS_GLACIER_API InputSerialization()=default
AWS_GLACIER_API InputSerialization(Aws::Utils::Json::JsonView jsonValue)
InputSerialization & WithCsv(CsvT &&value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLACIER_API InputSerialization & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue