AWS SDK for C++  1.9.104
AWS SDK for C++
BatchDeleteClusterSnapshotsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Redshift
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 "BatchDeleteClusterSnapshots"; }
32 
33  Aws::String SerializePayload() const override;
34 
35  protected:
36  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37 
38  public:
39 
43  inline const Aws::Vector<DeleteClusterSnapshotMessage>& GetIdentifiers() const{ return m_identifiers; }
44 
48  inline bool IdentifiersHasBeenSet() const { return m_identifiersHasBeenSet; }
49 
53  inline void SetIdentifiers(const Aws::Vector<DeleteClusterSnapshotMessage>& value) { m_identifiersHasBeenSet = true; m_identifiers = value; }
54 
58  inline void SetIdentifiers(Aws::Vector<DeleteClusterSnapshotMessage>&& value) { m_identifiersHasBeenSet = true; m_identifiers = std::move(value); }
59 
63  inline BatchDeleteClusterSnapshotsRequest& WithIdentifiers(const Aws::Vector<DeleteClusterSnapshotMessage>& value) { SetIdentifiers(value); return *this;}
64 
68  inline BatchDeleteClusterSnapshotsRequest& WithIdentifiers(Aws::Vector<DeleteClusterSnapshotMessage>&& value) { SetIdentifiers(std::move(value)); return *this;}
69 
73  inline BatchDeleteClusterSnapshotsRequest& AddIdentifiers(const DeleteClusterSnapshotMessage& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(value); return *this; }
74 
78  inline BatchDeleteClusterSnapshotsRequest& AddIdentifiers(DeleteClusterSnapshotMessage&& value) { m_identifiersHasBeenSet = true; m_identifiers.push_back(std::move(value)); return *this; }
79 
80  private:
81 
83  bool m_identifiersHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace Redshift
88 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::SetIdentifiers
void SetIdentifiers(Aws::Vector< DeleteClusterSnapshotMessage > &&value)
Definition: BatchDeleteClusterSnapshotsRequest.h:58
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchDeleteClusterSnapshotsRequest.h:31
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::WithIdentifiers
BatchDeleteClusterSnapshotsRequest & WithIdentifiers(const Aws::Vector< DeleteClusterSnapshotMessage > &value)
Definition: BatchDeleteClusterSnapshotsRequest.h:63
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::GetIdentifiers
const Aws::Vector< DeleteClusterSnapshotMessage > & GetIdentifiers() const
Definition: BatchDeleteClusterSnapshotsRequest.h:43
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
RedshiftRequest.h
AWSVector.h
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::AddIdentifiers
BatchDeleteClusterSnapshotsRequest & AddIdentifiers(DeleteClusterSnapshotMessage &&value)
Definition: BatchDeleteClusterSnapshotsRequest.h:78
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::WithIdentifiers
BatchDeleteClusterSnapshotsRequest & WithIdentifiers(Aws::Vector< DeleteClusterSnapshotMessage > &&value)
Definition: BatchDeleteClusterSnapshotsRequest.h:68
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::RedshiftRequest
Definition: RedshiftRequest.h:17
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::AddIdentifiers
BatchDeleteClusterSnapshotsRequest & AddIdentifiers(const DeleteClusterSnapshotMessage &value)
Definition: BatchDeleteClusterSnapshotsRequest.h:73
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest
Definition: BatchDeleteClusterSnapshotsRequest.h:23
DeleteClusterSnapshotMessage.h
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::SetIdentifiers
void SetIdentifiers(const Aws::Vector< DeleteClusterSnapshotMessage > &value)
Definition: BatchDeleteClusterSnapshotsRequest.h:53
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::BatchDeleteClusterSnapshotsRequest
BatchDeleteClusterSnapshotsRequest()
Aws
Definition: AccessManagementClient.h:15
Redshift_EXPORTS.h
Aws::Redshift::Model::BatchDeleteClusterSnapshotsRequest::IdentifiersHasBeenSet
bool IdentifiersHasBeenSet() const
Definition: BatchDeleteClusterSnapshotsRequest.h:48
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::DeleteClusterSnapshotMessage
Definition: DeleteClusterSnapshotMessage.h:32