AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SnapshotFileGroup.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/model/SnapshotFile.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 QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API SnapshotFileGroup() = default;
37 AWS_QUICKSIGHT_API SnapshotFileGroup(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Vector<SnapshotFile>& GetFiles() const { return m_files; }
49 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
50 template<typename FilesT = Aws::Vector<SnapshotFile>>
51 void SetFiles(FilesT&& value) { m_filesHasBeenSet = true; m_files = std::forward<FilesT>(value); }
52 template<typename FilesT = Aws::Vector<SnapshotFile>>
53 SnapshotFileGroup& WithFiles(FilesT&& value) { SetFiles(std::forward<FilesT>(value)); return *this;}
54 template<typename FilesT = SnapshotFile>
55 SnapshotFileGroup& AddFiles(FilesT&& value) { m_filesHasBeenSet = true; m_files.emplace_back(std::forward<FilesT>(value)); return *this; }
57 private:
58
60 bool m_filesHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace QuickSight
65} // namespace Aws
SnapshotFileGroup & AddFiles(FilesT &&value)
AWS_QUICKSIGHT_API SnapshotFileGroup(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SnapshotFile > & GetFiles() const
AWS_QUICKSIGHT_API SnapshotFileGroup()=default
SnapshotFileGroup & WithFiles(FilesT &&value)
AWS_QUICKSIGHT_API SnapshotFileGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue