AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ValidDBInstanceModificationsMessage.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rds/model/ValidStorageOptions.h>
11#include <aws/rds/model/AvailableProcessorFeature.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace RDS
24{
25namespace Model
26{
27
38 {
39 public:
43
44 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::Vector<ValidStorageOptions>& GetStorage() const{ return m_storage; }
53 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
54 inline void SetStorage(const Aws::Vector<ValidStorageOptions>& value) { m_storageHasBeenSet = true; m_storage = value; }
55 inline void SetStorage(Aws::Vector<ValidStorageOptions>&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); }
58 inline ValidDBInstanceModificationsMessage& AddStorage(const ValidStorageOptions& value) { m_storageHasBeenSet = true; m_storage.push_back(value); return *this; }
59 inline ValidDBInstanceModificationsMessage& AddStorage(ValidStorageOptions&& value) { m_storageHasBeenSet = true; m_storage.push_back(std::move(value)); return *this; }
61
63
66 inline const Aws::Vector<AvailableProcessorFeature>& GetValidProcessorFeatures() const{ return m_validProcessorFeatures; }
67 inline bool ValidProcessorFeaturesHasBeenSet() const { return m_validProcessorFeaturesHasBeenSet; }
68 inline void SetValidProcessorFeatures(const Aws::Vector<AvailableProcessorFeature>& value) { m_validProcessorFeaturesHasBeenSet = true; m_validProcessorFeatures = value; }
69 inline void SetValidProcessorFeatures(Aws::Vector<AvailableProcessorFeature>&& value) { m_validProcessorFeaturesHasBeenSet = true; m_validProcessorFeatures = std::move(value); }
72 inline ValidDBInstanceModificationsMessage& AddValidProcessorFeatures(const AvailableProcessorFeature& value) { m_validProcessorFeaturesHasBeenSet = true; m_validProcessorFeatures.push_back(value); return *this; }
73 inline ValidDBInstanceModificationsMessage& AddValidProcessorFeatures(AvailableProcessorFeature&& value) { m_validProcessorFeaturesHasBeenSet = true; m_validProcessorFeatures.push_back(std::move(value)); return *this; }
75
77
81 inline bool GetSupportsDedicatedLogVolume() const{ return m_supportsDedicatedLogVolume; }
82 inline bool SupportsDedicatedLogVolumeHasBeenSet() const { return m_supportsDedicatedLogVolumeHasBeenSet; }
83 inline void SetSupportsDedicatedLogVolume(bool value) { m_supportsDedicatedLogVolumeHasBeenSet = true; m_supportsDedicatedLogVolume = value; }
86 private:
87
89 bool m_storageHasBeenSet = false;
90
91 Aws::Vector<AvailableProcessorFeature> m_validProcessorFeatures;
92 bool m_validProcessorFeaturesHasBeenSet = false;
93
94 bool m_supportsDedicatedLogVolume;
95 bool m_supportsDedicatedLogVolumeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace RDS
100} // namespace Aws
AWS_RDS_API ValidDBInstanceModificationsMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
ValidDBInstanceModificationsMessage & WithValidProcessorFeatures(Aws::Vector< AvailableProcessorFeature > &&value)
void SetValidProcessorFeatures(const Aws::Vector< AvailableProcessorFeature > &value)
const Aws::Vector< AvailableProcessorFeature > & GetValidProcessorFeatures() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ValidDBInstanceModificationsMessage & WithValidProcessorFeatures(const Aws::Vector< AvailableProcessorFeature > &value)
void SetValidProcessorFeatures(Aws::Vector< AvailableProcessorFeature > &&value)
const Aws::Vector< ValidStorageOptions > & GetStorage() const
ValidDBInstanceModificationsMessage & AddStorage(ValidStorageOptions &&value)
ValidDBInstanceModificationsMessage & AddStorage(const ValidStorageOptions &value)
ValidDBInstanceModificationsMessage & AddValidProcessorFeatures(const AvailableProcessorFeature &value)
ValidDBInstanceModificationsMessage & WithStorage(const Aws::Vector< ValidStorageOptions > &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetStorage(const Aws::Vector< ValidStorageOptions > &value)
ValidDBInstanceModificationsMessage & WithSupportsDedicatedLogVolume(bool value)
void SetStorage(Aws::Vector< ValidStorageOptions > &&value)
ValidDBInstanceModificationsMessage & AddValidProcessorFeatures(AvailableProcessorFeature &&value)
ValidDBInstanceModificationsMessage & WithStorage(Aws::Vector< ValidStorageOptions > &&value)
AWS_RDS_API ValidDBInstanceModificationsMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream