AWS SDK for C++  1.9.104
AWS SDK for C++
ValidDBInstanceModificationsMessage.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlNode;
21 } // namespace Xml
22 } // namespace Utils
23 namespace RDS
24 {
25 namespace Model
26 {
27 
38  {
39  public:
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
47 
51  inline const Aws::Vector<ValidStorageOptions>& GetStorage() const{ return m_storage; }
52 
56  inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
57 
61  inline void SetStorage(const Aws::Vector<ValidStorageOptions>& value) { m_storageHasBeenSet = true; m_storage = value; }
62 
66  inline void SetStorage(Aws::Vector<ValidStorageOptions>&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); }
67 
71  inline ValidDBInstanceModificationsMessage& WithStorage(const Aws::Vector<ValidStorageOptions>& value) { SetStorage(value); return *this;}
72 
76  inline ValidDBInstanceModificationsMessage& WithStorage(Aws::Vector<ValidStorageOptions>&& value) { SetStorage(std::move(value)); return *this;}
77 
81  inline ValidDBInstanceModificationsMessage& AddStorage(const ValidStorageOptions& value) { m_storageHasBeenSet = true; m_storage.push_back(value); return *this; }
82 
86  inline ValidDBInstanceModificationsMessage& AddStorage(ValidStorageOptions&& value) { m_storageHasBeenSet = true; m_storage.push_back(std::move(value)); return *this; }
87 
88 
92  inline const Aws::Vector<AvailableProcessorFeature>& GetValidProcessorFeatures() const{ return m_validProcessorFeatures; }
93 
97  inline bool ValidProcessorFeaturesHasBeenSet() const { return m_validProcessorFeaturesHasBeenSet; }
98 
102  inline void SetValidProcessorFeatures(const Aws::Vector<AvailableProcessorFeature>& value) { m_validProcessorFeaturesHasBeenSet = true; m_validProcessorFeatures = value; }
103 
107  inline void SetValidProcessorFeatures(Aws::Vector<AvailableProcessorFeature>&& value) { m_validProcessorFeaturesHasBeenSet = true; m_validProcessorFeatures = std::move(value); }
108 
112  inline ValidDBInstanceModificationsMessage& WithValidProcessorFeatures(const Aws::Vector<AvailableProcessorFeature>& value) { SetValidProcessorFeatures(value); return *this;}
113 
117  inline ValidDBInstanceModificationsMessage& WithValidProcessorFeatures(Aws::Vector<AvailableProcessorFeature>&& value) { SetValidProcessorFeatures(std::move(value)); return *this;}
118 
122  inline ValidDBInstanceModificationsMessage& AddValidProcessorFeatures(const AvailableProcessorFeature& value) { m_validProcessorFeaturesHasBeenSet = true; m_validProcessorFeatures.push_back(value); return *this; }
123 
127  inline ValidDBInstanceModificationsMessage& AddValidProcessorFeatures(AvailableProcessorFeature&& value) { m_validProcessorFeaturesHasBeenSet = true; m_validProcessorFeatures.push_back(std::move(value)); return *this; }
128 
129  private:
130 
132  bool m_storageHasBeenSet;
133 
134  Aws::Vector<AvailableProcessorFeature> m_validProcessorFeatures;
135  bool m_validProcessorFeaturesHasBeenSet;
136  };
137 
138 } // namespace Model
139 } // namespace RDS
140 } // namespace Aws
Aws::RDS::Model::ValidDBInstanceModificationsMessage::AddValidProcessorFeatures
ValidDBInstanceModificationsMessage & AddValidProcessorFeatures(AvailableProcessorFeature &&value)
Definition: ValidDBInstanceModificationsMessage.h:127
Aws::RDS::Model::ValidDBInstanceModificationsMessage::SetValidProcessorFeatures
void SetValidProcessorFeatures(const Aws::Vector< AvailableProcessorFeature > &value)
Definition: ValidDBInstanceModificationsMessage.h:102
Aws::RDS::Model::ValidDBInstanceModificationsMessage::ValidProcessorFeaturesHasBeenSet
bool ValidProcessorFeaturesHasBeenSet() const
Definition: ValidDBInstanceModificationsMessage.h:97
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ValidDBInstanceModificationsMessage::WithValidProcessorFeatures
ValidDBInstanceModificationsMessage & WithValidProcessorFeatures(Aws::Vector< AvailableProcessorFeature > &&value)
Definition: ValidDBInstanceModificationsMessage.h:117
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ValidDBInstanceModificationsMessage::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSStreamFwd.h
AWSVector.h
Aws::RDS::Model::ValidDBInstanceModificationsMessage::WithStorage
ValidDBInstanceModificationsMessage & WithStorage(Aws::Vector< ValidStorageOptions > &&value)
Definition: ValidDBInstanceModificationsMessage.h:76
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::ValidDBInstanceModificationsMessage::AddStorage
ValidDBInstanceModificationsMessage & AddStorage(const ValidStorageOptions &value)
Definition: ValidDBInstanceModificationsMessage.h:81
Aws::RDS::Model::ValidStorageOptions
Definition: ValidStorageOptions.h:38
RDS_EXPORTS.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::ValidDBInstanceModificationsMessage::AddValidProcessorFeatures
ValidDBInstanceModificationsMessage & AddValidProcessorFeatures(const AvailableProcessorFeature &value)
Definition: ValidDBInstanceModificationsMessage.h:122
Aws::RDS::Model::ValidDBInstanceModificationsMessage::AddStorage
ValidDBInstanceModificationsMessage & AddStorage(ValidStorageOptions &&value)
Definition: ValidDBInstanceModificationsMessage.h:86
Aws::RDS::Model::ValidDBInstanceModificationsMessage::ValidDBInstanceModificationsMessage
ValidDBInstanceModificationsMessage()
Aws::RDS::Model::ValidDBInstanceModificationsMessage::StorageHasBeenSet
bool StorageHasBeenSet() const
Definition: ValidDBInstanceModificationsMessage.h:56
AvailableProcessorFeature.h
Aws::RDS::Model::ValidDBInstanceModificationsMessage::SetValidProcessorFeatures
void SetValidProcessorFeatures(Aws::Vector< AvailableProcessorFeature > &&value)
Definition: ValidDBInstanceModificationsMessage.h:107
Aws::RDS::Model::AvailableProcessorFeature
Definition: AvailableProcessorFeature.h:36
Aws::RDS::Model::ValidDBInstanceModificationsMessage::GetStorage
const Aws::Vector< ValidStorageOptions > & GetStorage() const
Definition: ValidDBInstanceModificationsMessage.h:51
Aws::RDS::Model::ValidDBInstanceModificationsMessage::WithStorage
ValidDBInstanceModificationsMessage & WithStorage(const Aws::Vector< ValidStorageOptions > &value)
Definition: ValidDBInstanceModificationsMessage.h:71
ValidStorageOptions.h
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ValidDBInstanceModificationsMessage::WithValidProcessorFeatures
ValidDBInstanceModificationsMessage & WithValidProcessorFeatures(const Aws::Vector< AvailableProcessorFeature > &value)
Definition: ValidDBInstanceModificationsMessage.h:112
Aws::RDS::Model::ValidDBInstanceModificationsMessage::SetStorage
void SetStorage(Aws::Vector< ValidStorageOptions > &&value)
Definition: ValidDBInstanceModificationsMessage.h:66
Aws::RDS::Model::ValidDBInstanceModificationsMessage::GetValidProcessorFeatures
const Aws::Vector< AvailableProcessorFeature > & GetValidProcessorFeatures() const
Definition: ValidDBInstanceModificationsMessage.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ValidDBInstanceModificationsMessage::ValidDBInstanceModificationsMessage
ValidDBInstanceModificationsMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::ValidDBInstanceModificationsMessage
Definition: ValidDBInstanceModificationsMessage.h:38
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::ValidDBInstanceModificationsMessage::operator=
ValidDBInstanceModificationsMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::ValidDBInstanceModificationsMessage::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::RDS::Model::ValidDBInstanceModificationsMessage::SetStorage
void SetStorage(const Aws::Vector< ValidStorageOptions > &value)
Definition: ValidDBInstanceModificationsMessage.h:61