AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
SnapshotJobResultFileGroup.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#include <aws/quicksight/model/SnapshotJobS3Result.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API SnapshotJobResultFileGroup() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<SnapshotFile>& GetFiles() const { return m_files; }
42 inline bool FilesHasBeenSet() const { return m_filesHasBeenSet; }
43 template <typename FilesT = Aws::Vector<SnapshotFile>>
44 void SetFiles(FilesT&& value) {
45 m_filesHasBeenSet = true;
46 m_files = std::forward<FilesT>(value);
47 }
48 template <typename FilesT = Aws::Vector<SnapshotFile>>
50 SetFiles(std::forward<FilesT>(value));
51 return *this;
52 }
53 template <typename FilesT = SnapshotFile>
55 m_filesHasBeenSet = true;
56 m_files.emplace_back(std::forward<FilesT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::Vector<SnapshotJobS3Result>& GetS3Results() const { return m_s3Results; }
66 inline bool S3ResultsHasBeenSet() const { return m_s3ResultsHasBeenSet; }
67 template <typename S3ResultsT = Aws::Vector<SnapshotJobS3Result>>
68 void SetS3Results(S3ResultsT&& value) {
69 m_s3ResultsHasBeenSet = true;
70 m_s3Results = std::forward<S3ResultsT>(value);
71 }
72 template <typename S3ResultsT = Aws::Vector<SnapshotJobS3Result>>
74 SetS3Results(std::forward<S3ResultsT>(value));
75 return *this;
76 }
77 template <typename S3ResultsT = SnapshotJobS3Result>
79 m_s3ResultsHasBeenSet = true;
80 m_s3Results.emplace_back(std::forward<S3ResultsT>(value));
81 return *this;
82 }
84 private:
86
88 bool m_filesHasBeenSet = false;
89 bool m_s3ResultsHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace QuickSight
94} // 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