AWS SDK for C++  1.9.104
AWS SDK for C++
OutputSerialization.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Glacier
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const CSVOutput& GetCsv() const{ return m_csv; }
44 
48  inline bool CsvHasBeenSet() const { return m_csvHasBeenSet; }
49 
53  inline void SetCsv(const CSVOutput& value) { m_csvHasBeenSet = true; m_csv = value; }
54 
58  inline void SetCsv(CSVOutput&& value) { m_csvHasBeenSet = true; m_csv = std::move(value); }
59 
63  inline OutputSerialization& WithCsv(const CSVOutput& value) { SetCsv(value); return *this;}
64 
68  inline OutputSerialization& WithCsv(CSVOutput&& value) { SetCsv(std::move(value)); return *this;}
69 
70  private:
71 
72  CSVOutput m_csv;
73  bool m_csvHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace Glacier
78 } // namespace Aws
CSVOutput.h
Aws::Glacier::Model::OutputSerialization::WithCsv
OutputSerialization & WithCsv(const CSVOutput &value)
Definition: OutputSerialization.h:63
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
Aws::Glacier::Model::OutputSerialization::OutputSerialization
OutputSerialization(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::OutputSerialization::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Glacier::Model::OutputSerialization::SetCsv
void SetCsv(const CSVOutput &value)
Definition: OutputSerialization.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Glacier::Model::CSVOutput
Definition: CSVOutput.h:34
Aws::Glacier::Model::OutputSerialization::SetCsv
void SetCsv(CSVOutput &&value)
Definition: OutputSerialization.h:58
Aws::Glacier::Model::OutputSerialization::WithCsv
OutputSerialization & WithCsv(CSVOutput &&value)
Definition: OutputSerialization.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::OutputSerialization::operator=
OutputSerialization & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Glacier::Model::OutputSerialization
Definition: OutputSerialization.h:32
Aws::Glacier::Model::OutputSerialization::OutputSerialization
OutputSerialization()
Aws::Glacier::Model::OutputSerialization::CsvHasBeenSet
bool CsvHasBeenSet() const
Definition: OutputSerialization.h:48
Aws::Glacier::Model::OutputSerialization::GetCsv
const CSVOutput & GetCsv() const
Definition: OutputSerialization.h:43
Glacier_EXPORTS.h