AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFiles(const Aws::Vector<SnapshotFile>& value) { m_filesHasBeenSet = true; m_files = value; }
51 inline void SetFiles(Aws::Vector<SnapshotFile>&& value) { m_filesHasBeenSet = true; m_files = std::move(value); }
52 inline SnapshotFileGroup& WithFiles(const Aws::Vector<SnapshotFile>& value) { SetFiles(value); return *this;}
53 inline SnapshotFileGroup& WithFiles(Aws::Vector<SnapshotFile>&& value) { SetFiles(std::move(value)); return *this;}
54 inline SnapshotFileGroup& AddFiles(const SnapshotFile& value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
55 inline SnapshotFileGroup& AddFiles(SnapshotFile&& value) { m_filesHasBeenSet = true; m_files.push_back(std::move(value)); return *this; }
57 private:
58
60 bool m_filesHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace QuickSight
65} // namespace Aws
SnapshotFileGroup & WithFiles(const Aws::Vector< SnapshotFile > &value)
SnapshotFileGroup & WithFiles(Aws::Vector< SnapshotFile > &&value)
AWS_QUICKSIGHT_API SnapshotFileGroup(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SnapshotFile > & GetFiles() const
void SetFiles(const Aws::Vector< SnapshotFile > &value)
void SetFiles(Aws::Vector< SnapshotFile > &&value)
SnapshotFileGroup & AddFiles(SnapshotFile &&value)
SnapshotFileGroup & AddFiles(const SnapshotFile &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