AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeRdsDbInstancesRequest.h
1
6#pragma once
7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/opsworks/OpsWorksRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace OpsWorks
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OPSWORKS_API DescribeRdsDbInstancesRequest() = default;
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_OPSWORKS_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetStackId() const { return m_stackId; }
44 inline bool StackIdHasBeenSet() const { return m_stackIdHasBeenSet; }
45 template<typename StackIdT = Aws::String>
46 void SetStackId(StackIdT&& value) { m_stackIdHasBeenSet = true; m_stackId = std::forward<StackIdT>(value); }
47 template<typename StackIdT = Aws::String>
48 DescribeRdsDbInstancesRequest& WithStackId(StackIdT&& value) { SetStackId(std::forward<StackIdT>(value)); return *this;}
50
52
55 inline const Aws::Vector<Aws::String>& GetRdsDbInstanceArns() const { return m_rdsDbInstanceArns; }
56 inline bool RdsDbInstanceArnsHasBeenSet() const { return m_rdsDbInstanceArnsHasBeenSet; }
57 template<typename RdsDbInstanceArnsT = Aws::Vector<Aws::String>>
58 void SetRdsDbInstanceArns(RdsDbInstanceArnsT&& value) { m_rdsDbInstanceArnsHasBeenSet = true; m_rdsDbInstanceArns = std::forward<RdsDbInstanceArnsT>(value); }
59 template<typename RdsDbInstanceArnsT = Aws::Vector<Aws::String>>
60 DescribeRdsDbInstancesRequest& WithRdsDbInstanceArns(RdsDbInstanceArnsT&& value) { SetRdsDbInstanceArns(std::forward<RdsDbInstanceArnsT>(value)); return *this;}
61 template<typename RdsDbInstanceArnsT = Aws::String>
62 DescribeRdsDbInstancesRequest& AddRdsDbInstanceArns(RdsDbInstanceArnsT&& value) { m_rdsDbInstanceArnsHasBeenSet = true; m_rdsDbInstanceArns.emplace_back(std::forward<RdsDbInstanceArnsT>(value)); return *this; }
64 private:
65
66 Aws::String m_stackId;
67 bool m_stackIdHasBeenSet = false;
68
69 Aws::Vector<Aws::String> m_rdsDbInstanceArns;
70 bool m_rdsDbInstanceArnsHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace OpsWorks
75} // namespace Aws
AWS_OPSWORKS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeRdsDbInstancesRequest & WithRdsDbInstanceArns(RdsDbInstanceArnsT &&value)
DescribeRdsDbInstancesRequest & WithStackId(StackIdT &&value)
const Aws::Vector< Aws::String > & GetRdsDbInstanceArns() const
DescribeRdsDbInstancesRequest & AddRdsDbInstanceArns(RdsDbInstanceArnsT &&value)
AWS_OPSWORKS_API DescribeRdsDbInstancesRequest()=default
AWS_OPSWORKS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector