AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
GetConnectionPreferencesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
12#include <aws/partnercentral-account/model/AccessType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace PartnerCentralAccount {
26namespace Model {
28 public:
29 AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult() = default;
31 AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult& operator=(
33
35
38 inline const Aws::String& GetCatalog() const { return m_catalog; }
39 template <typename CatalogT = Aws::String>
40 void SetCatalog(CatalogT&& value) {
41 m_catalogHasBeenSet = true;
42 m_catalog = std::forward<CatalogT>(value);
43 }
44 template <typename CatalogT = Aws::String>
46 SetCatalog(std::forward<CatalogT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template <typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) {
58 m_arnHasBeenSet = true;
59 m_arn = std::forward<ArnT>(value);
60 }
61 template <typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
64 return *this;
65 }
67
69
73 inline AccessType GetAccessType() const { return m_accessType; }
74 inline void SetAccessType(AccessType value) {
75 m_accessTypeHasBeenSet = true;
76 m_accessType = value;
77 }
79 SetAccessType(value);
80 return *this;
81 }
83
85
89 inline const Aws::Vector<Aws::String>& GetExcludedParticipantIds() const { return m_excludedParticipantIds; }
90 template <typename ExcludedParticipantIdsT = Aws::Vector<Aws::String>>
91 void SetExcludedParticipantIds(ExcludedParticipantIdsT&& value) {
92 m_excludedParticipantIdsHasBeenSet = true;
93 m_excludedParticipantIds = std::forward<ExcludedParticipantIdsT>(value);
94 }
95 template <typename ExcludedParticipantIdsT = Aws::Vector<Aws::String>>
97 SetExcludedParticipantIds(std::forward<ExcludedParticipantIdsT>(value));
98 return *this;
99 }
100 template <typename ExcludedParticipantIdsT = Aws::String>
102 m_excludedParticipantIdsHasBeenSet = true;
103 m_excludedParticipantIds.emplace_back(std::forward<ExcludedParticipantIdsT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
113 template <typename UpdatedAtT = Aws::Utils::DateTime>
114 void SetUpdatedAt(UpdatedAtT&& value) {
115 m_updatedAtHasBeenSet = true;
116 m_updatedAt = std::forward<UpdatedAtT>(value);
117 }
118 template <typename UpdatedAtT = Aws::Utils::DateTime>
120 SetUpdatedAt(std::forward<UpdatedAtT>(value));
121 return *this;
122 }
124
126
129 inline long long GetRevision() const { return m_revision; }
130 inline void SetRevision(long long value) {
131 m_revisionHasBeenSet = true;
132 m_revision = value;
133 }
135 SetRevision(value);
136 return *this;
137 }
139
141
142 inline const Aws::String& GetRequestId() const { return m_requestId; }
143 template <typename RequestIdT = Aws::String>
144 void SetRequestId(RequestIdT&& value) {
145 m_requestIdHasBeenSet = true;
146 m_requestId = std::forward<RequestIdT>(value);
147 }
148 template <typename RequestIdT = Aws::String>
150 SetRequestId(std::forward<RequestIdT>(value));
151 return *this;
152 }
154 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
155
156 private:
157 Aws::String m_catalog;
158
159 Aws::String m_arn;
160
161 AccessType m_accessType{AccessType::NOT_SET};
162
163 Aws::Vector<Aws::String> m_excludedParticipantIds;
164
165 Aws::Utils::DateTime m_updatedAt{};
166
167 long long m_revision{0};
168
169 Aws::String m_requestId;
170 Aws::Http::HttpResponseCode m_HttpResponseCode;
171 bool m_catalogHasBeenSet = false;
172 bool m_arnHasBeenSet = false;
173 bool m_accessTypeHasBeenSet = false;
174 bool m_excludedParticipantIdsHasBeenSet = false;
175 bool m_updatedAtHasBeenSet = false;
176 bool m_revisionHasBeenSet = false;
177 bool m_requestIdHasBeenSet = false;
178};
179
180} // namespace Model
181} // namespace PartnerCentralAccount
182} // namespace Aws
AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult()=default
AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConnectionPreferencesResult & AddExcludedParticipantIds(ExcludedParticipantIdsT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConnectionPreferencesResult & WithExcludedParticipantIds(ExcludedParticipantIdsT &&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