AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
SnapshotFileGroup.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/SnapshotFile.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API SnapshotFileGroup() = default;
32 AWS_QUICKSIGHT_API SnapshotFileGroup(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const Aws::Vector<SnapshotFile>& GetFiles() const { return m_files; }
43 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
44 template <typename FilesT = Aws::Vector<SnapshotFile>>
45 void SetFiles(FilesT&& value) {
46 m_filesHasBeenSet = true;
47 m_files = std::forward<FilesT>(value);
48 }
49 template <typename FilesT = Aws::Vector<SnapshotFile>>
50 SnapshotFileGroup& WithFiles(FilesT&& value) {
51 SetFiles(std::forward<FilesT>(value));
52 return *this;
53 }
54 template <typename FilesT = SnapshotFile>
55 SnapshotFileGroup& AddFiles(FilesT&& value) {
56 m_filesHasBeenSet = true;
57 m_files.emplace_back(std::forward<FilesT>(value));
58 return *this;
59 }
61 private:
63 bool m_filesHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace QuickSight
68} // 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