AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteSubscriptionGrantResult.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/datazone/model/GrantedEntity.h>
12#include <aws/datazone/model/SubscriptionGrantOverallStatus.h>
13#include <aws/datazone/model/SubscribedAsset.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DataZone
29{
30namespace Model
31{
33 {
34 public:
38
39
41
44 inline const Aws::Vector<SubscribedAsset>& GetAssets() const{ return m_assets; }
45 inline void SetAssets(const Aws::Vector<SubscribedAsset>& value) { m_assets = value; }
46 inline void SetAssets(Aws::Vector<SubscribedAsset>&& value) { m_assets = std::move(value); }
48 inline DeleteSubscriptionGrantResult& WithAssets(Aws::Vector<SubscribedAsset>&& value) { SetAssets(std::move(value)); return *this;}
49 inline DeleteSubscriptionGrantResult& AddAssets(const SubscribedAsset& value) { m_assets.push_back(value); return *this; }
50 inline DeleteSubscriptionGrantResult& AddAssets(SubscribedAsset&& value) { m_assets.push_back(std::move(value)); return *this; }
52
54
57 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
58 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
59 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
61 inline DeleteSubscriptionGrantResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
63
65
69 inline const Aws::String& GetCreatedBy() const{ return m_createdBy; }
70 inline void SetCreatedBy(const Aws::String& value) { m_createdBy = value; }
71 inline void SetCreatedBy(Aws::String&& value) { m_createdBy = std::move(value); }
72 inline void SetCreatedBy(const char* value) { m_createdBy.assign(value); }
73 inline DeleteSubscriptionGrantResult& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;}
74 inline DeleteSubscriptionGrantResult& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;}
75 inline DeleteSubscriptionGrantResult& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;}
77
79
83 inline const Aws::String& GetDomainId() const{ return m_domainId; }
84 inline void SetDomainId(const Aws::String& value) { m_domainId = value; }
85 inline void SetDomainId(Aws::String&& value) { m_domainId = std::move(value); }
86 inline void SetDomainId(const char* value) { m_domainId.assign(value); }
87 inline DeleteSubscriptionGrantResult& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
88 inline DeleteSubscriptionGrantResult& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
89 inline DeleteSubscriptionGrantResult& WithDomainId(const char* value) { SetDomainId(value); return *this;}
91
93
96 inline const GrantedEntity& GetGrantedEntity() const{ return m_grantedEntity; }
97 inline void SetGrantedEntity(const GrantedEntity& value) { m_grantedEntity = value; }
98 inline void SetGrantedEntity(GrantedEntity&& value) { m_grantedEntity = std::move(value); }
100 inline DeleteSubscriptionGrantResult& WithGrantedEntity(GrantedEntity&& value) { SetGrantedEntity(std::move(value)); return *this;}
102
104
107 inline const Aws::String& GetId() const{ return m_id; }
108 inline void SetId(const Aws::String& value) { m_id = value; }
109 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
110 inline void SetId(const char* value) { m_id.assign(value); }
111 inline DeleteSubscriptionGrantResult& WithId(const Aws::String& value) { SetId(value); return *this;}
112 inline DeleteSubscriptionGrantResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
113 inline DeleteSubscriptionGrantResult& WithId(const char* value) { SetId(value); return *this;}
115
117
120 inline const SubscriptionGrantOverallStatus& GetStatus() const{ return m_status; }
121 inline void SetStatus(const SubscriptionGrantOverallStatus& value) { m_status = value; }
122 inline void SetStatus(SubscriptionGrantOverallStatus&& value) { m_status = std::move(value); }
124 inline DeleteSubscriptionGrantResult& WithStatus(SubscriptionGrantOverallStatus&& value) { SetStatus(std::move(value)); return *this;}
126
128
132 inline const Aws::String& GetSubscriptionTargetId() const{ return m_subscriptionTargetId; }
133 inline void SetSubscriptionTargetId(const Aws::String& value) { m_subscriptionTargetId = value; }
134 inline void SetSubscriptionTargetId(Aws::String&& value) { m_subscriptionTargetId = std::move(value); }
135 inline void SetSubscriptionTargetId(const char* value) { m_subscriptionTargetId.assign(value); }
138 inline DeleteSubscriptionGrantResult& WithSubscriptionTargetId(const char* value) { SetSubscriptionTargetId(value); return *this;}
140
142
145 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
146 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
147 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
149 inline DeleteSubscriptionGrantResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
151
153
157 inline const Aws::String& GetUpdatedBy() const{ return m_updatedBy; }
158 inline void SetUpdatedBy(const Aws::String& value) { m_updatedBy = value; }
159 inline void SetUpdatedBy(Aws::String&& value) { m_updatedBy = std::move(value); }
160 inline void SetUpdatedBy(const char* value) { m_updatedBy.assign(value); }
161 inline DeleteSubscriptionGrantResult& WithUpdatedBy(const Aws::String& value) { SetUpdatedBy(value); return *this;}
162 inline DeleteSubscriptionGrantResult& WithUpdatedBy(Aws::String&& value) { SetUpdatedBy(std::move(value)); return *this;}
163 inline DeleteSubscriptionGrantResult& WithUpdatedBy(const char* value) { SetUpdatedBy(value); return *this;}
165
167
168 inline const Aws::String& GetRequestId() const{ return m_requestId; }
169 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
170 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
171 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
172 inline DeleteSubscriptionGrantResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
173 inline DeleteSubscriptionGrantResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
174 inline DeleteSubscriptionGrantResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
176 private:
177
179
180 Aws::Utils::DateTime m_createdAt;
181
182 Aws::String m_createdBy;
183
184 Aws::String m_domainId;
185
186 GrantedEntity m_grantedEntity;
187
188 Aws::String m_id;
189
191
192 Aws::String m_subscriptionTargetId;
193
194 Aws::Utils::DateTime m_updatedAt;
195
196 Aws::String m_updatedBy;
197
198 Aws::String m_requestId;
199 };
200
201} // namespace Model
202} // namespace DataZone
203} // namespace Aws
DeleteSubscriptionGrantResult & WithCreatedAt(Aws::Utils::DateTime &&value)
DeleteSubscriptionGrantResult & WithUpdatedBy(Aws::String &&value)
DeleteSubscriptionGrantResult & WithSubscriptionTargetId(Aws::String &&value)
DeleteSubscriptionGrantResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
DeleteSubscriptionGrantResult & AddAssets(const SubscribedAsset &value)
const Aws::Vector< SubscribedAsset > & GetAssets() const
void SetAssets(const Aws::Vector< SubscribedAsset > &value)
AWS_DATAZONE_API DeleteSubscriptionGrantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSubscriptionGrantResult & WithDomainId(const char *value)
DeleteSubscriptionGrantResult & WithSubscriptionTargetId(const Aws::String &value)
void SetStatus(const SubscriptionGrantOverallStatus &value)
DeleteSubscriptionGrantResult & WithDomainId(Aws::String &&value)
DeleteSubscriptionGrantResult & WithId(const Aws::String &value)
DeleteSubscriptionGrantResult & WithGrantedEntity(GrantedEntity &&value)
void SetStatus(SubscriptionGrantOverallStatus &&value)
DeleteSubscriptionGrantResult & WithDomainId(const Aws::String &value)
DeleteSubscriptionGrantResult & WithRequestId(const Aws::String &value)
DeleteSubscriptionGrantResult & WithCreatedBy(const char *value)
const SubscriptionGrantOverallStatus & GetStatus() const
void SetAssets(Aws::Vector< SubscribedAsset > &&value)
DeleteSubscriptionGrantResult & WithCreatedBy(const Aws::String &value)
DeleteSubscriptionGrantResult & WithUpdatedBy(const char *value)
DeleteSubscriptionGrantResult & WithRequestId(const char *value)
DeleteSubscriptionGrantResult & WithId(Aws::String &&value)
DeleteSubscriptionGrantResult & WithAssets(Aws::Vector< SubscribedAsset > &&value)
DeleteSubscriptionGrantResult & AddAssets(SubscribedAsset &&value)
DeleteSubscriptionGrantResult & WithAssets(const Aws::Vector< SubscribedAsset > &value)
DeleteSubscriptionGrantResult & WithId(const char *value)
DeleteSubscriptionGrantResult & WithStatus(const SubscriptionGrantOverallStatus &value)
DeleteSubscriptionGrantResult & WithCreatedBy(Aws::String &&value)
DeleteSubscriptionGrantResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
DeleteSubscriptionGrantResult & WithSubscriptionTargetId(const char *value)
DeleteSubscriptionGrantResult & WithGrantedEntity(const GrantedEntity &value)
DeleteSubscriptionGrantResult & WithStatus(SubscriptionGrantOverallStatus &&value)
AWS_DATAZONE_API DeleteSubscriptionGrantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteSubscriptionGrantResult & WithUpdatedBy(const Aws::String &value)
DeleteSubscriptionGrantResult & WithRequestId(Aws::String &&value)
DeleteSubscriptionGrantResult & WithCreatedAt(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue