AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeDBSnapshotAttributesRequest.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 "DescribeDBSnapshotAttributes"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
45  inline const Aws::String& GetDBSnapshotIdentifier() const{ return m_dBSnapshotIdentifier; }
46 
50  inline bool DBSnapshotIdentifierHasBeenSet() const { return m_dBSnapshotIdentifierHasBeenSet; }
51 
55  inline void SetDBSnapshotIdentifier(const Aws::String& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = value; }
56 
60  inline void SetDBSnapshotIdentifier(Aws::String&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = std::move(value); }
61 
65  inline void SetDBSnapshotIdentifier(const char* value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier.assign(value); }
66 
70  inline DescribeDBSnapshotAttributesRequest& WithDBSnapshotIdentifier(const Aws::String& value) { SetDBSnapshotIdentifier(value); return *this;}
71 
75  inline DescribeDBSnapshotAttributesRequest& WithDBSnapshotIdentifier(Aws::String&& value) { SetDBSnapshotIdentifier(std::move(value)); return *this;}
76 
80  inline DescribeDBSnapshotAttributesRequest& WithDBSnapshotIdentifier(const char* value) { SetDBSnapshotIdentifier(value); return *this;}
81 
82  private:
83 
84  Aws::String m_dBSnapshotIdentifier;
85  bool m_dBSnapshotIdentifierHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace RDS
90 } // namespace Aws
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::WithDBSnapshotIdentifier
DescribeDBSnapshotAttributesRequest & WithDBSnapshotIdentifier(Aws::String &&value)
Definition: DescribeDBSnapshotAttributesRequest.h:75
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Http::URI
Definition: URI.h:32
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::WithDBSnapshotIdentifier
DescribeDBSnapshotAttributesRequest & WithDBSnapshotIdentifier(const char *value)
Definition: DescribeDBSnapshotAttributesRequest.h:80
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::SetDBSnapshotIdentifier
void SetDBSnapshotIdentifier(const Aws::String &value)
Definition: DescribeDBSnapshotAttributesRequest.h:55
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::SetDBSnapshotIdentifier
void SetDBSnapshotIdentifier(const char *value)
Definition: DescribeDBSnapshotAttributesRequest.h:65
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::WithDBSnapshotIdentifier
DescribeDBSnapshotAttributesRequest & WithDBSnapshotIdentifier(const Aws::String &value)
Definition: DescribeDBSnapshotAttributesRequest.h:70
AWSString.h
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::SetDBSnapshotIdentifier
void SetDBSnapshotIdentifier(Aws::String &&value)
Definition: DescribeDBSnapshotAttributesRequest.h:60
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::DBSnapshotIdentifierHasBeenSet
bool DBSnapshotIdentifierHasBeenSet() const
Definition: DescribeDBSnapshotAttributesRequest.h:50
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeDBSnapshotAttributesRequest.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest
Definition: DescribeDBSnapshotAttributesRequest.h:25
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
RDSRequest.h
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::DescribeDBSnapshotAttributesRequest
DescribeDBSnapshotAttributesRequest()
Aws::RDS::RDSRequest
Definition: RDSRequest.h:17
Aws::RDS::Model::DescribeDBSnapshotAttributesRequest::GetDBSnapshotIdentifier
const Aws::String & GetDBSnapshotIdentifier() const
Definition: DescribeDBSnapshotAttributesRequest.h:45