AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RejectDataShareResult.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/DataShareAssociation.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{
31 {
32 public:
33 AWS_REDSHIFT_API RejectDataShareResult();
36
37
39
43 inline const Aws::String& GetDataShareArn() const{ return m_dataShareArn; }
44 inline void SetDataShareArn(const Aws::String& value) { m_dataShareArn = value; }
45 inline void SetDataShareArn(Aws::String&& value) { m_dataShareArn = std::move(value); }
46 inline void SetDataShareArn(const char* value) { m_dataShareArn.assign(value); }
47 inline RejectDataShareResult& WithDataShareArn(const Aws::String& value) { SetDataShareArn(value); return *this;}
48 inline RejectDataShareResult& WithDataShareArn(Aws::String&& value) { SetDataShareArn(std::move(value)); return *this;}
49 inline RejectDataShareResult& WithDataShareArn(const char* value) { SetDataShareArn(value); return *this;}
51
53
56 inline const Aws::String& GetProducerArn() const{ return m_producerArn; }
57 inline void SetProducerArn(const Aws::String& value) { m_producerArn = value; }
58 inline void SetProducerArn(Aws::String&& value) { m_producerArn = std::move(value); }
59 inline void SetProducerArn(const char* value) { m_producerArn.assign(value); }
60 inline RejectDataShareResult& WithProducerArn(const Aws::String& value) { SetProducerArn(value); return *this;}
61 inline RejectDataShareResult& WithProducerArn(Aws::String&& value) { SetProducerArn(std::move(value)); return *this;}
62 inline RejectDataShareResult& WithProducerArn(const char* value) { SetProducerArn(value); return *this;}
64
66
70 inline bool GetAllowPubliclyAccessibleConsumers() const{ return m_allowPubliclyAccessibleConsumers; }
71 inline void SetAllowPubliclyAccessibleConsumers(bool value) { m_allowPubliclyAccessibleConsumers = value; }
74
76
80 inline const Aws::Vector<DataShareAssociation>& GetDataShareAssociations() const{ return m_dataShareAssociations; }
81 inline void SetDataShareAssociations(const Aws::Vector<DataShareAssociation>& value) { m_dataShareAssociations = value; }
82 inline void SetDataShareAssociations(Aws::Vector<DataShareAssociation>&& value) { m_dataShareAssociations = std::move(value); }
85 inline RejectDataShareResult& AddDataShareAssociations(const DataShareAssociation& value) { m_dataShareAssociations.push_back(value); return *this; }
86 inline RejectDataShareResult& AddDataShareAssociations(DataShareAssociation&& value) { m_dataShareAssociations.push_back(std::move(value)); return *this; }
88
90
93 inline const Aws::String& GetManagedBy() const{ return m_managedBy; }
94 inline void SetManagedBy(const Aws::String& value) { m_managedBy = value; }
95 inline void SetManagedBy(Aws::String&& value) { m_managedBy = std::move(value); }
96 inline void SetManagedBy(const char* value) { m_managedBy.assign(value); }
97 inline RejectDataShareResult& WithManagedBy(const Aws::String& value) { SetManagedBy(value); return *this;}
98 inline RejectDataShareResult& WithManagedBy(Aws::String&& value) { SetManagedBy(std::move(value)); return *this;}
99 inline RejectDataShareResult& WithManagedBy(const char* value) { SetManagedBy(value); return *this;}
101
103
104 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
105 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
106 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
108 inline RejectDataShareResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
110 private:
111
112 Aws::String m_dataShareArn;
113
114 Aws::String m_producerArn;
115
116 bool m_allowPubliclyAccessibleConsumers;
117
118 Aws::Vector<DataShareAssociation> m_dataShareAssociations;
119
120 Aws::String m_managedBy;
121
122 ResponseMetadata m_responseMetadata;
123 };
124
125} // namespace Model
126} // namespace Redshift
127} // namespace Aws
RejectDataShareResult & WithDataShareAssociations(const Aws::Vector< DataShareAssociation > &value)
RejectDataShareResult & WithResponseMetadata(ResponseMetadata &&value)
RejectDataShareResult & WithDataShareArn(Aws::String &&value)
RejectDataShareResult & WithDataShareArn(const char *value)
RejectDataShareResult & WithDataShareArn(const Aws::String &value)
RejectDataShareResult & WithProducerArn(Aws::String &&value)
void SetDataShareAssociations(const Aws::Vector< DataShareAssociation > &value)
void SetResponseMetadata(ResponseMetadata &&value)
RejectDataShareResult & WithManagedBy(const Aws::String &value)
const Aws::Vector< DataShareAssociation > & GetDataShareAssociations() const
RejectDataShareResult & WithProducerArn(const char *value)
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(const ResponseMetadata &value)
RejectDataShareResult & WithAllowPubliclyAccessibleConsumers(bool value)
RejectDataShareResult & WithManagedBy(const char *value)
RejectDataShareResult & WithManagedBy(Aws::String &&value)
AWS_REDSHIFT_API RejectDataShareResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RejectDataShareResult & WithProducerArn(const Aws::String &value)
RejectDataShareResult & WithResponseMetadata(const ResponseMetadata &value)
RejectDataShareResult & AddDataShareAssociations(const DataShareAssociation &value)
void SetDataShareAssociations(Aws::Vector< DataShareAssociation > &&value)
RejectDataShareResult & WithDataShareAssociations(Aws::Vector< DataShareAssociation > &&value)
AWS_REDSHIFT_API RejectDataShareResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RejectDataShareResult & AddDataShareAssociations(DataShareAssociation &&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