AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
SnapshotConfiguration.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/Parameters.h>
10#include <aws/quicksight/model/SnapshotDestinationConfiguration.h>
11#include <aws/quicksight/model/SnapshotFileGroup.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
32 public:
33 AWS_QUICKSIGHT_API SnapshotConfiguration() = default;
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::Vector<SnapshotFileGroup>& GetFileGroups() const { return m_fileGroups; }
45 inline bool FileGroupsHasBeenSet() const { return m_fileGroupsHasBeenSet; }
46 template <typename FileGroupsT = Aws::Vector<SnapshotFileGroup>>
47 void SetFileGroups(FileGroupsT&& value) {
48 m_fileGroupsHasBeenSet = true;
49 m_fileGroups = std::forward<FileGroupsT>(value);
50 }
51 template <typename FileGroupsT = Aws::Vector<SnapshotFileGroup>>
52 SnapshotConfiguration& WithFileGroups(FileGroupsT&& value) {
53 SetFileGroups(std::forward<FileGroupsT>(value));
54 return *this;
55 }
56 template <typename FileGroupsT = SnapshotFileGroup>
57 SnapshotConfiguration& AddFileGroups(FileGroupsT&& value) {
58 m_fileGroupsHasBeenSet = true;
59 m_fileGroups.emplace_back(std::forward<FileGroupsT>(value));
60 return *this;
61 }
63
65
69 inline const SnapshotDestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
70 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
71 template <typename DestinationConfigurationT = SnapshotDestinationConfiguration>
72 void SetDestinationConfiguration(DestinationConfigurationT&& value) {
73 m_destinationConfigurationHasBeenSet = true;
74 m_destinationConfiguration = std::forward<DestinationConfigurationT>(value);
75 }
76 template <typename DestinationConfigurationT = SnapshotDestinationConfiguration>
77 SnapshotConfiguration& WithDestinationConfiguration(DestinationConfigurationT&& value) {
78 SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value));
79 return *this;
80 }
82
84
85 inline const Parameters& GetParameters() const { return m_parameters; }
86 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
87 template <typename ParametersT = Parameters>
88 void SetParameters(ParametersT&& value) {
89 m_parametersHasBeenSet = true;
90 m_parameters = std::forward<ParametersT>(value);
91 }
92 template <typename ParametersT = Parameters>
93 SnapshotConfiguration& WithParameters(ParametersT&& value) {
94 SetParameters(std::forward<ParametersT>(value));
95 return *this;
96 }
98 private:
100
101 SnapshotDestinationConfiguration m_destinationConfiguration;
102
103 Parameters m_parameters;
104 bool m_fileGroupsHasBeenSet = false;
105 bool m_destinationConfigurationHasBeenSet = false;
106 bool m_parametersHasBeenSet = false;
107};
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
SnapshotConfiguration & WithDestinationConfiguration(DestinationConfigurationT &&value)
AWS_QUICKSIGHT_API SnapshotConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SnapshotFileGroup > & GetFileGroups() const
SnapshotConfiguration & AddFileGroups(FileGroupsT &&value)
void SetDestinationConfiguration(DestinationConfigurationT &&value)
const SnapshotDestinationConfiguration & GetDestinationConfiguration() const
SnapshotConfiguration & WithFileGroups(FileGroupsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SnapshotConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SnapshotConfiguration()=default
SnapshotConfiguration & WithParameters(ParametersT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue