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/neptune/Neptune_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptune/model/ValidStorageOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Neptune
23{
24namespace Model
25{
26
36 {
37 public:
41
42 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::Vector<ValidStorageOptions>& GetStorage() const{ return m_storage; }
51 inline bool StorageHasBeenSet() const { return m_storageHasBeenSet; }
52 inline void SetStorage(const Aws::Vector<ValidStorageOptions>& value) { m_storageHasBeenSet = true; m_storage = value; }
53 inline void SetStorage(Aws::Vector<ValidStorageOptions>&& value) { m_storageHasBeenSet = true; m_storage = std::move(value); }
56 inline ValidDBInstanceModificationsMessage& AddStorage(const ValidStorageOptions& value) { m_storageHasBeenSet = true; m_storage.push_back(value); return *this; }
57 inline ValidDBInstanceModificationsMessage& AddStorage(ValidStorageOptions&& value) { m_storageHasBeenSet = true; m_storage.push_back(std::move(value)); return *this; }
59 private:
60
62 bool m_storageHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace Neptune
67} // namespace Aws
void SetStorage(const Aws::Vector< ValidStorageOptions > &value)
const Aws::Vector< ValidStorageOptions > & GetStorage() const
AWS_NEPTUNE_API ValidDBInstanceModificationsMessage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ValidDBInstanceModificationsMessage & WithStorage(const Aws::Vector< ValidStorageOptions > &value)
ValidDBInstanceModificationsMessage & AddStorage(ValidStorageOptions &&value)
ValidDBInstanceModificationsMessage & WithStorage(Aws::Vector< ValidStorageOptions > &&value)
AWS_NEPTUNE_API ValidDBInstanceModificationsMessage(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ValidDBInstanceModificationsMessage & AddStorage(const ValidStorageOptions &value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream