AWS SDK for C++  1.9.108
AWS SDK for C++
ResourcePendingMaintenanceActions.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 
35  {
36  public:
40 
41  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42  void OutputToStream(Aws::OStream& oStream, const char* location) const;
43 
44 
48  inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
49 
53  inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
54 
58  inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
59 
63  inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
64 
68  inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
69 
73  inline ResourcePendingMaintenanceActions& WithResourceIdentifier(const Aws::String& value) { SetResourceIdentifier(value); return *this;}
74 
78  inline ResourcePendingMaintenanceActions& WithResourceIdentifier(Aws::String&& value) { SetResourceIdentifier(std::move(value)); return *this;}
79 
83  inline ResourcePendingMaintenanceActions& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
84 
85 
90  inline const Aws::Vector<PendingMaintenanceAction>& GetPendingMaintenanceActionDetails() const{ return m_pendingMaintenanceActionDetails; }
91 
96  inline bool PendingMaintenanceActionDetailsHasBeenSet() const { return m_pendingMaintenanceActionDetailsHasBeenSet; }
97 
102  inline void SetPendingMaintenanceActionDetails(const Aws::Vector<PendingMaintenanceAction>& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails = value; }
103 
108  inline void SetPendingMaintenanceActionDetails(Aws::Vector<PendingMaintenanceAction>&& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails = std::move(value); }
109 
114  inline ResourcePendingMaintenanceActions& WithPendingMaintenanceActionDetails(const Aws::Vector<PendingMaintenanceAction>& value) { SetPendingMaintenanceActionDetails(value); return *this;}
115 
120  inline ResourcePendingMaintenanceActions& WithPendingMaintenanceActionDetails(Aws::Vector<PendingMaintenanceAction>&& value) { SetPendingMaintenanceActionDetails(std::move(value)); return *this;}
121 
126  inline ResourcePendingMaintenanceActions& AddPendingMaintenanceActionDetails(const PendingMaintenanceAction& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails.push_back(value); return *this; }
127 
132  inline ResourcePendingMaintenanceActions& AddPendingMaintenanceActionDetails(PendingMaintenanceAction&& value) { m_pendingMaintenanceActionDetailsHasBeenSet = true; m_pendingMaintenanceActionDetails.push_back(std::move(value)); return *this; }
133 
134  private:
135 
136  Aws::String m_resourceIdentifier;
137  bool m_resourceIdentifierHasBeenSet;
138 
139  Aws::Vector<PendingMaintenanceAction> m_pendingMaintenanceActionDetails;
140  bool m_pendingMaintenanceActionDetailsHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace RDS
145 } // namespace Aws
Aws::RDS::Model::ResourcePendingMaintenanceActions::operator=
ResourcePendingMaintenanceActions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::RDS::Model::ResourcePendingMaintenanceActions::PendingMaintenanceActionDetailsHasBeenSet
bool PendingMaintenanceActionDetailsHasBeenSet() const
Definition: ResourcePendingMaintenanceActions.h:96
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ResourcePendingMaintenanceActions::ResourceIdentifierHasBeenSet
bool ResourceIdentifierHasBeenSet() const
Definition: ResourcePendingMaintenanceActions.h:53
Aws::RDS::Model::ResourcePendingMaintenanceActions::WithResourceIdentifier
ResourcePendingMaintenanceActions & WithResourceIdentifier(const Aws::String &value)
Definition: ResourcePendingMaintenanceActions.h:73
Aws::RDS::Model::ResourcePendingMaintenanceActions::SetPendingMaintenanceActionDetails
void SetPendingMaintenanceActionDetails(const Aws::Vector< PendingMaintenanceAction > &value)
Definition: ResourcePendingMaintenanceActions.h:102
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSStreamFwd.h
AWSVector.h
Aws::RDS::Model::ResourcePendingMaintenanceActions::GetPendingMaintenanceActionDetails
const Aws::Vector< PendingMaintenanceAction > & GetPendingMaintenanceActionDetails() const
Definition: ResourcePendingMaintenanceActions.h:90
Aws::RDS::Model::ResourcePendingMaintenanceActions::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::RDS::Model::ResourcePendingMaintenanceActions::SetResourceIdentifier
void SetResourceIdentifier(Aws::String &&value)
Definition: ResourcePendingMaintenanceActions.h:63
RDS_EXPORTS.h
Aws::RDS::Model::ResourcePendingMaintenanceActions::ResourcePendingMaintenanceActions
ResourcePendingMaintenanceActions(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::RDS::Model::ResourcePendingMaintenanceActions::SetResourceIdentifier
void SetResourceIdentifier(const Aws::String &value)
Definition: ResourcePendingMaintenanceActions.h:58
PendingMaintenanceAction.h
Aws::RDS::Model::ResourcePendingMaintenanceActions::AddPendingMaintenanceActionDetails
ResourcePendingMaintenanceActions & AddPendingMaintenanceActionDetails(PendingMaintenanceAction &&value)
Definition: ResourcePendingMaintenanceActions.h:132
Aws::RDS::Model::ResourcePendingMaintenanceActions::WithPendingMaintenanceActionDetails
ResourcePendingMaintenanceActions & WithPendingMaintenanceActionDetails(const Aws::Vector< PendingMaintenanceAction > &value)
Definition: ResourcePendingMaintenanceActions.h:114
Aws::RDS::Model::ResourcePendingMaintenanceActions::SetPendingMaintenanceActionDetails
void SetPendingMaintenanceActionDetails(Aws::Vector< PendingMaintenanceAction > &&value)
Definition: ResourcePendingMaintenanceActions.h:108
Aws::RDS::Model::ResourcePendingMaintenanceActions::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
AWSString.h
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::ResourcePendingMaintenanceActions
Definition: ResourcePendingMaintenanceActions.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::ResourcePendingMaintenanceActions::AddPendingMaintenanceActionDetails
ResourcePendingMaintenanceActions & AddPendingMaintenanceActionDetails(const PendingMaintenanceAction &value)
Definition: ResourcePendingMaintenanceActions.h:126
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::ResourcePendingMaintenanceActions::GetResourceIdentifier
const Aws::String & GetResourceIdentifier() const
Definition: ResourcePendingMaintenanceActions.h:48
Aws::RDS::Model::ResourcePendingMaintenanceActions::SetResourceIdentifier
void SetResourceIdentifier(const char *value)
Definition: ResourcePendingMaintenanceActions.h:68
index
int index
Definition: cJSON.h:181
Aws::RDS::Model::PendingMaintenanceAction
Definition: PendingMaintenanceAction.h:34
Aws::RDS::Model::ResourcePendingMaintenanceActions::WithResourceIdentifier
ResourcePendingMaintenanceActions & WithResourceIdentifier(const char *value)
Definition: ResourcePendingMaintenanceActions.h:83
Aws::RDS::Model::ResourcePendingMaintenanceActions::WithResourceIdentifier
ResourcePendingMaintenanceActions & WithResourceIdentifier(Aws::String &&value)
Definition: ResourcePendingMaintenanceActions.h:78
Aws::RDS::Model::ResourcePendingMaintenanceActions::WithPendingMaintenanceActionDetails
ResourcePendingMaintenanceActions & WithPendingMaintenanceActionDetails(Aws::Vector< PendingMaintenanceAction > &&value)
Definition: ResourcePendingMaintenanceActions.h:120
Aws::RDS::Model::ResourcePendingMaintenanceActions::ResourcePendingMaintenanceActions
ResourcePendingMaintenanceActions()