AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename FilesT = Aws::Vector<SnapshotFile>>
50 void SetFiles(FilesT&& value) { m_filesHasBeenSet = true; m_files = std::forward<FilesT>(value); }
51 template<typename FilesT = Aws::Vector<SnapshotFile>>
52 SnapshotJobResultFileGroup& WithFiles(FilesT&& value) { SetFiles(std::forward<FilesT>(value)); return *this;}
53 template<typename FilesT = SnapshotFile>
54 SnapshotJobResultFileGroup& AddFiles(FilesT&& value) { m_filesHasBeenSet = true; m_files.emplace_back(std::forward<FilesT>(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 template<typename S3ResultsT = Aws::Vector<SnapshotJobS3Result>>
64 void SetS3Results(S3ResultsT&& value) { m_s3ResultsHasBeenSet = true; m_s3Results = std::forward<S3ResultsT>(value); }
65 template<typename S3ResultsT = Aws::Vector<SnapshotJobS3Result>>
66 SnapshotJobResultFileGroup& WithS3Results(S3ResultsT&& value) { SetS3Results(std::forward<S3ResultsT>(value)); return *this;}
67 template<typename S3ResultsT = SnapshotJobS3Result>
68 SnapshotJobResultFileGroup& AddS3Results(S3ResultsT&& value) { m_s3ResultsHasBeenSet = true; m_s3Results.emplace_back(std::forward<S3ResultsT>(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
AWS_QUICKSIGHT_API SnapshotJobResultFileGroup()=default
SnapshotJobResultFileGroup & AddS3Results(S3ResultsT &&value)
SnapshotJobResultFileGroup & WithS3Results(S3ResultsT &&value)
SnapshotJobResultFileGroup & WithFiles(FilesT &&value)
const Aws::Vector< SnapshotFile > & GetFiles() const
const Aws::Vector< SnapshotJobS3Result > & GetS3Results() const
AWS_QUICKSIGHT_API SnapshotJobResultFileGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SnapshotJobResultFileGroup(Aws::Utils::Json::JsonView jsonValue)
SnapshotJobResultFileGroup & AddFiles(FilesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue