AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSnapshotCopyGrantResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/model/SnapshotCopyGrant.h>
9#include <aws/redshift/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Redshift
25{
26namespace Model
27{
29 {
30 public:
34
35
37
38 inline const SnapshotCopyGrant& GetSnapshotCopyGrant() const{ return m_snapshotCopyGrant; }
39 inline void SetSnapshotCopyGrant(const SnapshotCopyGrant& value) { m_snapshotCopyGrant = value; }
40 inline void SetSnapshotCopyGrant(SnapshotCopyGrant&& value) { m_snapshotCopyGrant = std::move(value); }
44
46
47 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
48 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
49 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
53 private:
54
55 SnapshotCopyGrant m_snapshotCopyGrant;
56
57 ResponseMetadata m_responseMetadata;
58 };
59
60} // namespace Model
61} // namespace Redshift
62} // namespace Aws
CreateSnapshotCopyGrantResult & WithSnapshotCopyGrant(const SnapshotCopyGrant &value)
AWS_REDSHIFT_API CreateSnapshotCopyGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateSnapshotCopyGrantResult & WithResponseMetadata(ResponseMetadata &&value)
AWS_REDSHIFT_API CreateSnapshotCopyGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateSnapshotCopyGrantResult & WithSnapshotCopyGrant(SnapshotCopyGrant &&value)
CreateSnapshotCopyGrantResult & WithResponseMetadata(const ResponseMetadata &value)
Aws::Utils::Xml::XmlDocument XmlDocument