AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SnapshotConfiguration.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/SnapshotDestinationConfiguration.h>
10#include <aws/quicksight/model/Parameters.h>
11#include <aws/quicksight/model/SnapshotFileGroup.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API SnapshotConfiguration() = default;
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::Vector<SnapshotFileGroup>& GetFileGroups() const { return m_fileGroups; }
51 inline bool FileGroupsHasBeenSet() const { return m_fileGroupsHasBeenSet; }
52 template<typename FileGroupsT = Aws::Vector<SnapshotFileGroup>>
53 void SetFileGroups(FileGroupsT&& value) { m_fileGroupsHasBeenSet = true; m_fileGroups = std::forward<FileGroupsT>(value); }
54 template<typename FileGroupsT = Aws::Vector<SnapshotFileGroup>>
55 SnapshotConfiguration& WithFileGroups(FileGroupsT&& value) { SetFileGroups(std::forward<FileGroupsT>(value)); return *this;}
56 template<typename FileGroupsT = SnapshotFileGroup>
57 SnapshotConfiguration& AddFileGroups(FileGroupsT&& value) { m_fileGroupsHasBeenSet = true; m_fileGroups.emplace_back(std::forward<FileGroupsT>(value)); return *this; }
59
61
65 inline const SnapshotDestinationConfiguration& GetDestinationConfiguration() const { return m_destinationConfiguration; }
66 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
67 template<typename DestinationConfigurationT = SnapshotDestinationConfiguration>
68 void SetDestinationConfiguration(DestinationConfigurationT&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::forward<DestinationConfigurationT>(value); }
69 template<typename DestinationConfigurationT = SnapshotDestinationConfiguration>
70 SnapshotConfiguration& WithDestinationConfiguration(DestinationConfigurationT&& value) { SetDestinationConfiguration(std::forward<DestinationConfigurationT>(value)); return *this;}
72
74
75 inline const Parameters& GetParameters() const { return m_parameters; }
76 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
77 template<typename ParametersT = Parameters>
78 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
79 template<typename ParametersT = Parameters>
80 SnapshotConfiguration& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
82 private:
83
85 bool m_fileGroupsHasBeenSet = false;
86
87 SnapshotDestinationConfiguration m_destinationConfiguration;
88 bool m_destinationConfigurationHasBeenSet = false;
89
90 Parameters m_parameters;
91 bool m_parametersHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace QuickSight
96} // 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