AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
DeleteSnapshotCopyGrantRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/redshift/Redshift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Redshift {
15namespace Model {
16
24 public:
25 AWS_REDSHIFT_API DeleteSnapshotCopyGrantRequest() = 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 "DeleteSnapshotCopyGrant"; }
32
33 AWS_REDSHIFT_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
43 inline const Aws::String& GetSnapshotCopyGrantName() const { return m_snapshotCopyGrantName; }
44 inline bool SnapshotCopyGrantNameHasBeenSet() const { return m_snapshotCopyGrantNameHasBeenSet; }
45 template <typename SnapshotCopyGrantNameT = Aws::String>
46 void SetSnapshotCopyGrantName(SnapshotCopyGrantNameT&& value) {
47 m_snapshotCopyGrantNameHasBeenSet = true;
48 m_snapshotCopyGrantName = std::forward<SnapshotCopyGrantNameT>(value);
49 }
50 template <typename SnapshotCopyGrantNameT = Aws::String>
52 SetSnapshotCopyGrantName(std::forward<SnapshotCopyGrantNameT>(value));
53 return *this;
54 }
56 private:
57 Aws::String m_snapshotCopyGrantName;
58 bool m_snapshotCopyGrantNameHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace Redshift
63} // namespace Aws
AWS_REDSHIFT_API Aws::String SerializePayload() const override
AWS_REDSHIFT_API DeleteSnapshotCopyGrantRequest()=default
DeleteSnapshotCopyGrantRequest & WithSnapshotCopyGrantName(SnapshotCopyGrantNameT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String