1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
8 #include <aws/rds/RDSRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RDS
15 {
16 namespace Model
17 {
18 
19   /**
20    * <p/><p><h3>See Also:</h3>   <a
21    * href="http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeDBClusterSnapshotAttributesMessage">AWS
22    * API Reference</a></p>
23    */
24   class AWS_RDS_API DescribeDBClusterSnapshotAttributesRequest : public RDSRequest
25   {
26   public:
27     DescribeDBClusterSnapshotAttributesRequest();
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.
GetServiceRequestName()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 
42     /**
43      * <p>The identifier for the DB cluster snapshot to describe the attributes
44      * for.</p>
45      */
GetDBClusterSnapshotIdentifier()46     inline const Aws::String& GetDBClusterSnapshotIdentifier() const{ return m_dBClusterSnapshotIdentifier; }
47 
48     /**
49      * <p>The identifier for the DB cluster snapshot to describe the attributes
50      * for.</p>
51      */
DBClusterSnapshotIdentifierHasBeenSet()52     inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
53 
54     /**
55      * <p>The identifier for the DB cluster snapshot to describe the attributes
56      * for.</p>
57      */
SetDBClusterSnapshotIdentifier(const Aws::String & value)58     inline void SetDBClusterSnapshotIdentifier(const Aws::String& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = value; }
59 
60     /**
61      * <p>The identifier for the DB cluster snapshot to describe the attributes
62      * for.</p>
63      */
SetDBClusterSnapshotIdentifier(Aws::String && value)64     inline void SetDBClusterSnapshotIdentifier(Aws::String&& value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier = std::move(value); }
65 
66     /**
67      * <p>The identifier for the DB cluster snapshot to describe the attributes
68      * for.</p>
69      */
SetDBClusterSnapshotIdentifier(const char * value)70     inline void SetDBClusterSnapshotIdentifier(const char* value) { m_dBClusterSnapshotIdentifierHasBeenSet = true; m_dBClusterSnapshotIdentifier.assign(value); }
71 
72     /**
73      * <p>The identifier for the DB cluster snapshot to describe the attributes
74      * for.</p>
75      */
WithDBClusterSnapshotIdentifier(const Aws::String & value)76     inline DescribeDBClusterSnapshotAttributesRequest& WithDBClusterSnapshotIdentifier(const Aws::String& value) { SetDBClusterSnapshotIdentifier(value); return *this;}
77 
78     /**
79      * <p>The identifier for the DB cluster snapshot to describe the attributes
80      * for.</p>
81      */
WithDBClusterSnapshotIdentifier(Aws::String && value)82     inline DescribeDBClusterSnapshotAttributesRequest& WithDBClusterSnapshotIdentifier(Aws::String&& value) { SetDBClusterSnapshotIdentifier(std::move(value)); return *this;}
83 
84     /**
85      * <p>The identifier for the DB cluster snapshot to describe the attributes
86      * for.</p>
87      */
WithDBClusterSnapshotIdentifier(const char * value)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
99