AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSnapshotCopyGrantsResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <aws/redshift/model/SnapshotCopyGrant.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace Redshift
27{
28namespace Model
29{
36 {
37 public:
41
42
44
54 inline const Aws::String& GetMarker() const{ return m_marker; }
55 inline void SetMarker(const Aws::String& value) { m_marker = value; }
56 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
57 inline void SetMarker(const char* value) { m_marker.assign(value); }
58 inline DescribeSnapshotCopyGrantsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
59 inline DescribeSnapshotCopyGrantsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
60 inline DescribeSnapshotCopyGrantsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
62
64
67 inline const Aws::Vector<SnapshotCopyGrant>& GetSnapshotCopyGrants() const{ return m_snapshotCopyGrants; }
68 inline void SetSnapshotCopyGrants(const Aws::Vector<SnapshotCopyGrant>& value) { m_snapshotCopyGrants = value; }
69 inline void SetSnapshotCopyGrants(Aws::Vector<SnapshotCopyGrant>&& value) { m_snapshotCopyGrants = std::move(value); }
72 inline DescribeSnapshotCopyGrantsResult& AddSnapshotCopyGrants(const SnapshotCopyGrant& value) { m_snapshotCopyGrants.push_back(value); return *this; }
73 inline DescribeSnapshotCopyGrantsResult& AddSnapshotCopyGrants(SnapshotCopyGrant&& value) { m_snapshotCopyGrants.push_back(std::move(value)); return *this; }
75
77
78 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
79 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
80 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
84 private:
85
86 Aws::String m_marker;
87
88 Aws::Vector<SnapshotCopyGrant> m_snapshotCopyGrants;
89
90 ResponseMetadata m_responseMetadata;
91 };
92
93} // namespace Model
94} // namespace Redshift
95} // namespace Aws
DescribeSnapshotCopyGrantsResult & WithSnapshotCopyGrants(const Aws::Vector< SnapshotCopyGrant > &value)
DescribeSnapshotCopyGrantsResult & WithSnapshotCopyGrants(Aws::Vector< SnapshotCopyGrant > &&value)
void SetSnapshotCopyGrants(const Aws::Vector< SnapshotCopyGrant > &value)
const Aws::Vector< SnapshotCopyGrant > & GetSnapshotCopyGrants() const
DescribeSnapshotCopyGrantsResult & WithMarker(Aws::String &&value)
AWS_REDSHIFT_API DescribeSnapshotCopyGrantsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeSnapshotCopyGrantsResult & WithMarker(const Aws::String &value)
AWS_REDSHIFT_API DescribeSnapshotCopyGrantsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeSnapshotCopyGrantsResult & AddSnapshotCopyGrants(const SnapshotCopyGrant &value)
DescribeSnapshotCopyGrantsResult & WithMarker(const char *value)
void SetSnapshotCopyGrants(Aws::Vector< SnapshotCopyGrant > &&value)
DescribeSnapshotCopyGrantsResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeSnapshotCopyGrantsResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeSnapshotCopyGrantsResult & AddSnapshotCopyGrants(SnapshotCopyGrant &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument