AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResourcePendingMaintenanceActions.h
1
6#pragma once
7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/docdb/model/PendingMaintenanceAction.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace DocDB
24{
25namespace Model
26{
27
35 {
36 public:
40
41 AWS_DOCDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_DOCDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
51 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
52 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
53 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
54 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
57 inline ResourcePendingMaintenanceActions& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
59
61
65 inline const Aws::Vector<PendingMaintenanceAction>& GetPendingMaintenanceActionDetails() const{ return m_pendingMaintenanceActionDetails; }
66 inline bool PendingMaintenanceActionDetailsHasBeenSet() const { return m_pendingMaintenanceActionDetailsHasBeenSet; }
67 inline void SetPendingMaintenanceActionDetails(const Aws::Vector<PendingMaintenanceAction>& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails = value; }
68 inline void SetPendingMaintenanceActionDetails(Aws::Vector<PendingMaintenanceAction>&& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails = std::move(value); }
71 inline ResourcePendingMaintenanceActions& AddPendingMaintenanceActionDetails(const PendingMaintenanceAction& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails.push_back(value); return *this; }
72 inline ResourcePendingMaintenanceActions& AddPendingMaintenanceActionDetails(PendingMaintenanceAction&& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails.push_back(std::move(value)); return *this; }
74 private:
75
76 Aws::String m_resourceIdentifier;
77 bool m_resourceIdentifierHasBeenSet = false;
78
79 Aws::Vector<PendingMaintenanceAction> m_pendingMaintenanceActionDetails;
80 bool m_pendingMaintenanceActionDetailsHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace DocDB
85} // namespace Aws
ResourcePendingMaintenanceActions & WithResourceIdentifier(Aws::String &&value)
ResourcePendingMaintenanceActions & WithResourceIdentifier(const Aws::String &value)
ResourcePendingMaintenanceActions & WithResourceIdentifier(const char *value)
AWS_DOCDB_API ResourcePendingMaintenanceActions(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< PendingMaintenanceAction > & GetPendingMaintenanceActionDetails() const
void SetPendingMaintenanceActionDetails(const Aws::Vector< PendingMaintenanceAction > &value)
void SetPendingMaintenanceActionDetails(Aws::Vector< PendingMaintenanceAction > &&value)
ResourcePendingMaintenanceActions & AddPendingMaintenanceActionDetails(const PendingMaintenanceAction &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ResourcePendingMaintenanceActions & AddPendingMaintenanceActionDetails(PendingMaintenanceAction &&value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ResourcePendingMaintenanceActions & WithPendingMaintenanceActionDetails(const Aws::Vector< PendingMaintenanceAction > &value)
AWS_DOCDB_API ResourcePendingMaintenanceActions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ResourcePendingMaintenanceActions & WithPendingMaintenanceActionDetails(Aws::Vector< PendingMaintenanceAction > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream