AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeDBClusterSnapshotAttributesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "DescribeDBClusterSnapshotAttributes"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
46  inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
47 
52  inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
53 
58  inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
59 
64  inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
65 
70  inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
71 
76  inline DescribeDBClusterSnapshotAttributesRequest& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;}
77 
82  inline DescribeDBClusterSnapshotAttributesRequest& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;}
83 
88  inline DescribeDBClusterSnapshotAttributesRequest& WithDBClusterSnapshotIdentifier(const char* value) { SetDBClusterSnapshotIdentifier(value); return *this;}
89 
90  private:
91 
92  Aws::String m_dBClusterSnapshotIdentifier;
93  bool m_dBClusterSnapshotIdentifierHasBeenSet;
94  };
95 
96 } // namespace Model
97 } // namespace RDS
98 } // namespace Aws
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::WithDBClusterSnapshotIdentifier
DescribeDBClusterSnapshotAttributesRequest & WithDBClusterSnapshotIdentifier(Aws::String &&value)
Definition: DescribeDBClusterSnapshotAttributesRequest.h:82
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(Aws::String &&value)
Definition: DescribeDBClusterSnapshotAttributesRequest.h:64
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::DBClusterSnapshotIdentifierHasBeenSet
bool DBClusterSnapshotIdentifierHasBeenSet() const
Definition: DescribeDBClusterSnapshotAttributesRequest.h:52
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::WithDBClusterSnapshotIdentifier
DescribeDBClusterSnapshotAttributesRequest & WithDBClusterSnapshotIdentifier(const Aws::String &value)
Definition: DescribeDBClusterSnapshotAttributesRequest.h:76
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBClusterSnapshotAttributesRequest.h:33
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(const char *value)
Definition: DescribeDBClusterSnapshotAttributesRequest.h:70
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest
Definition: DescribeDBClusterSnapshotAttributesRequest.h:25
AWSString.h
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::GetDBClusterSnapshotIdentifier
const Aws::String & GetDBClusterSnapshotIdentifier() const
Definition: DescribeDBClusterSnapshotAttributesRequest.h:46
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::DescribeDBClusterSnapshotAttributesRequest
DescribeDBClusterSnapshotAttributesRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::WithDBClusterSnapshotIdentifier
DescribeDBClusterSnapshotAttributesRequest & WithDBClusterSnapshotIdentifier(const char *value)
Definition: DescribeDBClusterSnapshotAttributesRequest.h:88
Aws::RDS::Model::DescribeDBClusterSnapshotAttributesRequest::SetDBClusterSnapshotIdentifier
void SetDBClusterSnapshotIdentifier(const Aws::String &value)
Definition: DescribeDBClusterSnapshotAttributesRequest.h:58