AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFileGroups(const Aws::Vector<SnapshotFileGroup>& value) { m_fileGroupsHasBeenSet = true; m_fileGroups = value; }
53 inline void SetFileGroups(Aws::Vector<SnapshotFileGroup>&& value) { m_fileGroupsHasBeenSet = true; m_fileGroups = std::move(value); }
55 inline SnapshotConfiguration& WithFileGroups(Aws::Vector<SnapshotFileGroup>&& value) { SetFileGroups(std::move(value)); return *this;}
56 inline SnapshotConfiguration& AddFileGroups(const SnapshotFileGroup& value) { m_fileGroupsHasBeenSet = true; m_fileGroups.push_back(value); return *this; }
57 inline SnapshotConfiguration& AddFileGroups(SnapshotFileGroup&& value) { m_fileGroupsHasBeenSet = true; m_fileGroups.push_back(std::move(value)); return *this; }
59
61
65 inline const SnapshotDestinationConfiguration& GetDestinationConfiguration() const{ return m_destinationConfiguration; }
66 inline bool DestinationConfigurationHasBeenSet() const { return m_destinationConfigurationHasBeenSet; }
67 inline void SetDestinationConfiguration(const SnapshotDestinationConfiguration& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = value; }
68 inline void SetDestinationConfiguration(SnapshotDestinationConfiguration&& value) { m_destinationConfigurationHasBeenSet = true; m_destinationConfiguration = std::move(value); }
72
74
75 inline const Parameters& GetParameters() const{ return m_parameters; }
76 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
77 inline void SetParameters(const Parameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
78 inline void SetParameters(Parameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
79 inline SnapshotConfiguration& WithParameters(const Parameters& value) { SetParameters(value); return *this;}
80 inline SnapshotConfiguration& WithParameters(Parameters&& value) { SetParameters(std::move(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
AWS_QUICKSIGHT_API SnapshotConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< SnapshotFileGroup > & GetFileGroups() const
SnapshotConfiguration & AddFileGroups(SnapshotFileGroup &&value)
const SnapshotDestinationConfiguration & GetDestinationConfiguration() const
void SetFileGroups(const Aws::Vector< SnapshotFileGroup > &value)
SnapshotConfiguration & WithParameters(Parameters &&value)
void SetDestinationConfiguration(SnapshotDestinationConfiguration &&value)
SnapshotConfiguration & WithFileGroups(const Aws::Vector< SnapshotFileGroup > &value)
SnapshotConfiguration & WithDestinationConfiguration(SnapshotDestinationConfiguration &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDestinationConfiguration(const SnapshotDestinationConfiguration &value)
SnapshotConfiguration & WithDestinationConfiguration(const SnapshotDestinationConfiguration &value)
AWS_QUICKSIGHT_API SnapshotConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SnapshotConfiguration & WithFileGroups(Aws::Vector< SnapshotFileGroup > &&value)
SnapshotConfiguration & WithParameters(const Parameters &value)
SnapshotConfiguration & AddFileGroups(const SnapshotFileGroup &value)
void SetFileGroups(Aws::Vector< SnapshotFileGroup > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue