AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SnapshotJobResultFileGroup.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 <aws/quicksight/model/SnapshotJobS3Result.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API SnapshotJobResultFileGroup();
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<SnapshotFile>& GetFiles() const{ return m_files; }
48 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
49 inline void SetFiles(const Aws::Vector<SnapshotFile>& value) { m_filesHasBeenSet = true; m_files = value; }
50 inline void SetFiles(Aws::Vector<SnapshotFile>&& value) { m_filesHasBeenSet = true; m_files = std::move(value); }
51 inline SnapshotJobResultFileGroup& WithFiles(const Aws::Vector<SnapshotFile>& value) { SetFiles(value); return *this;}
52 inline SnapshotJobResultFileGroup& WithFiles(Aws::Vector<SnapshotFile>&& value) { SetFiles(std::move(value)); return *this;}
53 inline SnapshotJobResultFileGroup& AddFiles(const SnapshotFile& value) { m_filesHasBeenSet = true; m_files.push_back(value); return *this; }
54 inline SnapshotJobResultFileGroup& AddFiles(SnapshotFile&& value) { m_filesHasBeenSet = true; m_files.push_back(std::move(value)); return *this; }
56
58
61 inline const Aws::Vector<SnapshotJobS3Result>& GetS3Results() const{ return m_s3Results; }
62 inline bool S3ResultsHasBeenSet() const { return m_s3ResultsHasBeenSet; }
63 inline void SetS3Results(const Aws::Vector<SnapshotJobS3Result>& value) { m_s3ResultsHasBeenSet = true; m_s3Results = value; }
64 inline void SetS3Results(Aws::Vector<SnapshotJobS3Result>&& value) { m_s3ResultsHasBeenSet = true; m_s3Results = std::move(value); }
67 inline SnapshotJobResultFileGroup& AddS3Results(const SnapshotJobS3Result& value) { m_s3ResultsHasBeenSet = true; m_s3Results.push_back(value); return *this; }
68 inline SnapshotJobResultFileGroup& AddS3Results(SnapshotJobS3Result&& value) { m_s3ResultsHasBeenSet = true; m_s3Results.push_back(std::move(value)); return *this; }
70 private:
71
73 bool m_filesHasBeenSet = false;
74
76 bool m_s3ResultsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
void SetFiles(const Aws::Vector< SnapshotFile > &value)
SnapshotJobResultFileGroup & AddS3Results(const SnapshotJobS3Result &value)
void SetFiles(Aws::Vector< SnapshotFile > &&value)
SnapshotJobResultFileGroup & WithS3Results(Aws::Vector< SnapshotJobS3Result > &&value)
const Aws::Vector< SnapshotFile > & GetFiles() const
void SetS3Results(const Aws::Vector< SnapshotJobS3Result > &value)
const Aws::Vector< SnapshotJobS3Result > & GetS3Results() const
void SetS3Results(Aws::Vector< SnapshotJobS3Result > &&value)
SnapshotJobResultFileGroup & AddFiles(const SnapshotFile &value)
AWS_QUICKSIGHT_API SnapshotJobResultFileGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
SnapshotJobResultFileGroup & WithFiles(Aws::Vector< SnapshotFile > &&value)
SnapshotJobResultFileGroup & WithS3Results(const Aws::Vector< SnapshotJobS3Result > &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SnapshotJobResultFileGroup(Aws::Utils::Json::JsonView jsonValue)
SnapshotJobResultFileGroup & AddFiles(SnapshotFile &&value)
SnapshotJobResultFileGroup & AddS3Results(SnapshotJobS3Result &&value)
SnapshotJobResultFileGroup & WithFiles(const Aws::Vector< SnapshotFile > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue