AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeRdsDbInstancesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace OpsWorks
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "DescribeRdsDbInstances"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetStackId() const{ return m_stackId; }
43 
48  inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
49 
54  inline void SetStackId(const Aws::String& value) { m_stackIdHasBeenSet = true; m_stackId = value; }
55 
60  inline void SetStackId(Aws::String&& value) { m_stackIdHasBeenSet = true; m_stackId = std::move(value); }
61 
66  inline void SetStackId(const char* value) { m_stackIdHasBeenSet = true; m_stackId.assign(value); }
67 
72  inline DescribeRdsDbInstancesRequest& WithStackId(const Aws::String& value) { SetStackId(value); return *this;}
73 
78  inline DescribeRdsDbInstancesRequest& WithStackId(Aws::String&& value) { SetStackId(std::move(value)); return *this;}
79 
84  inline DescribeRdsDbInstancesRequest& WithStackId(const char* value) { SetStackId(value); return *this;}
85 
86 
90  inline const Aws::Vector<Aws::String>& GetRdsDbInstanceArns() const{ return m_rdsDbInstanceArns; }
91 
95  inline bool RdsDbInstanceArnsHasBeenSet() const { return m_rdsDbInstanceArnsHasBeenSet; }
96 
100  inline void SetRdsDbInstanceArns(const Aws::Vector<Aws::String>& value) { m_rdsDbInstanceArnsHasBeenSet = true; m_rdsDbInstanceArns = value; }
101 
105  inline void SetRdsDbInstanceArns(Aws::Vector<Aws::String>&& value) { m_rdsDbInstanceArnsHasBeenSet = true; m_rdsDbInstanceArns = std::move(value); }
106 
110  inline DescribeRdsDbInstancesRequest& WithRdsDbInstanceArns(const Aws::Vector<Aws::String>& value) { SetRdsDbInstanceArns(value); return *this;}
111 
115  inline DescribeRdsDbInstancesRequest& WithRdsDbInstanceArns(Aws::Vector<Aws::String>&& value) { SetRdsDbInstanceArns(std::move(value)); return *this;}
116 
120  inline DescribeRdsDbInstancesRequest& AddRdsDbInstanceArns(const Aws::String& value) { m_rdsDbInstanceArnsHasBeenSet = true; m_rdsDbInstanceArns.push_back(value); return *this; }
121 
125  inline DescribeRdsDbInstancesRequest& AddRdsDbInstanceArns(Aws::String&& value) { m_rdsDbInstanceArnsHasBeenSet = true; m_rdsDbInstanceArns.push_back(std::move(value)); return *this; }
126 
130  inline DescribeRdsDbInstancesRequest& AddRdsDbInstanceArns(const char* value) { m_rdsDbInstanceArnsHasBeenSet = true; m_rdsDbInstanceArns.push_back(value); return *this; }
131 
132  private:
133 
134  Aws::String m_stackId;
135  bool m_stackIdHasBeenSet;
136 
137  Aws::Vector<Aws::String> m_rdsDbInstanceArns;
138  bool m_rdsDbInstanceArnsHasBeenSet;
139  };
140 
141 } // namespace Model
142 } // namespace OpsWorks
143 } // namespace Aws
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::AddRdsDbInstanceArns
DescribeRdsDbInstancesRequest & AddRdsDbInstanceArns(Aws::String &&value)
Definition: DescribeRdsDbInstancesRequest.h:125
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::GetRdsDbInstanceArns
const Aws::Vector< Aws::String > & GetRdsDbInstanceArns() const
Definition: DescribeRdsDbInstancesRequest.h:90
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::AddRdsDbInstanceArns
DescribeRdsDbInstancesRequest & AddRdsDbInstanceArns(const Aws::String &value)
Definition: DescribeRdsDbInstancesRequest.h:120
OpsWorks_EXPORTS.h
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::GetStackId
const Aws::String & GetStackId() const
Definition: DescribeRdsDbInstancesRequest.h:42
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest
Definition: DescribeRdsDbInstancesRequest.h:23
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::WithRdsDbInstanceArns
DescribeRdsDbInstancesRequest & WithRdsDbInstanceArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeRdsDbInstancesRequest.h:115
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::RdsDbInstanceArnsHasBeenSet
bool RdsDbInstanceArnsHasBeenSet() const
Definition: DescribeRdsDbInstancesRequest.h:95
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::WithRdsDbInstanceArns
DescribeRdsDbInstancesRequest & WithRdsDbInstanceArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeRdsDbInstancesRequest.h:110
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::WithStackId
DescribeRdsDbInstancesRequest & WithStackId(const char *value)
Definition: DescribeRdsDbInstancesRequest.h:84
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::WithStackId
DescribeRdsDbInstancesRequest & WithStackId(Aws::String &&value)
Definition: DescribeRdsDbInstancesRequest.h:78
AWS_OPSWORKS_API
#define AWS_OPSWORKS_API
Definition: OpsWorks_EXPORTS.h:28
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::WithStackId
DescribeRdsDbInstancesRequest & WithStackId(const Aws::String &value)
Definition: DescribeRdsDbInstancesRequest.h:72
Aws::OpsWorks::OpsWorksRequest
Definition: OpsWorksRequest.h:17
OpsWorksRequest.h
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::SetRdsDbInstanceArns
void SetRdsDbInstanceArns(Aws::Vector< Aws::String > &&value)
Definition: DescribeRdsDbInstancesRequest.h:105
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::StackIdHasBeenSet
bool StackIdHasBeenSet() const
Definition: DescribeRdsDbInstancesRequest.h:48
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::AddRdsDbInstanceArns
DescribeRdsDbInstancesRequest & AddRdsDbInstanceArns(const char *value)
Definition: DescribeRdsDbInstancesRequest.h:130
AWSString.h
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::DescribeRdsDbInstancesRequest
DescribeRdsDbInstancesRequest()
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::SetStackId
void SetStackId(Aws::String &&value)
Definition: DescribeRdsDbInstancesRequest.h:60
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeRdsDbInstancesRequest.h:31
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::SetStackId
void SetStackId(const char *value)
Definition: DescribeRdsDbInstancesRequest.h:66
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::SetRdsDbInstanceArns
void SetRdsDbInstanceArns(const Aws::Vector< Aws::String > &value)
Definition: DescribeRdsDbInstancesRequest.h:100
Aws::OpsWorks::Model::DescribeRdsDbInstancesRequest::SetStackId
void SetStackId(const Aws::String &value)
Definition: DescribeRdsDbInstancesRequest.h:54