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>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace PartnerCentralAccount {
39 template <
typename CatalogT = Aws::String>
41 m_catalogHasBeenSet =
true;
42 m_catalog = std::forward<CatalogT>(value);
44 template <
typename CatalogT = Aws::String>
56 template <
typename ArnT = Aws::String>
58 m_arnHasBeenSet =
true;
59 m_arn = std::forward<ArnT>(value);
61 template <
typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
74 m_accessTypeHasBeenSet =
true;
89 template <
typename ExcludedParticipantIdsT = Aws::Vector<Aws::String>>
91 m_excludedParticipantIdsHasBeenSet =
true;
92 m_excludedParticipantIds = std::forward<ExcludedParticipantIdsT>(value);
94 template <
typename ExcludedParticipantIdsT = Aws::Vector<Aws::String>>
99 template <
typename ExcludedParticipantIdsT = Aws::String>
101 m_excludedParticipantIdsHasBeenSet =
true;
102 m_excludedParticipantIds.emplace_back(std::forward<ExcludedParticipantIdsT>(value));
112 template <
typename UpdatedAtT = Aws::Utils::DateTime>
114 m_updatedAtHasBeenSet =
true;
115 m_updatedAt = std::forward<UpdatedAtT>(value);
117 template <
typename UpdatedAtT = Aws::Utils::DateTime>
130 m_revisionHasBeenSet =
true;
142 template <
typename RequestIdT = Aws::String>
144 m_requestIdHasBeenSet =
true;
145 m_requestId = std::forward<RequestIdT>(value);
147 template <
typename RequestIdT = Aws::String>
166 long long m_revision{0};
170 bool m_catalogHasBeenSet =
false;
171 bool m_arnHasBeenSet =
false;
172 bool m_accessTypeHasBeenSet =
false;
173 bool m_excludedParticipantIdsHasBeenSet =
false;
174 bool m_updatedAtHasBeenSet =
false;
175 bool m_revisionHasBeenSet =
false;
176 bool m_requestIdHasBeenSet =
false;
UpdateConnectionPreferencesResult & WithArn(ArnT &&value)
void SetRequestId(RequestIdT &&value)
void SetArn(ArnT &&value)
void SetRevision(long long value)
void SetAccessType(AccessType value)
void SetCatalog(CatalogT &&value)
UpdateConnectionPreferencesResult & WithCatalog(CatalogT &&value)
const Aws::String & GetRequestId() const
AWS_PARTNERCENTRALACCOUNT_API UpdateConnectionPreferencesResult()=default
const Aws::Utils::DateTime & GetUpdatedAt() const
UpdateConnectionPreferencesResult & AddExcludedParticipantIds(ExcludedParticipantIdsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetExcludedParticipantIds(ExcludedParticipantIdsT &&value)
UpdateConnectionPreferencesResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateConnectionPreferencesResult & WithExcludedParticipantIds(ExcludedParticipantIdsT &&value)
const Aws::String & GetCatalog() const
AWS_PARTNERCENTRALACCOUNT_API UpdateConnectionPreferencesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateConnectionPreferencesResult & WithAccessType(AccessType value)
AWS_PARTNERCENTRALACCOUNT_API UpdateConnectionPreferencesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetArn() const
AccessType GetAccessType() const
void SetUpdatedAt(UpdatedAtT &&value)
UpdateConnectionPreferencesResult & WithRevision(long long value)
const Aws::Vector< Aws::String > & GetExcludedParticipantIds() const
UpdateConnectionPreferencesResult & WithRequestId(RequestIdT &&value)
long long GetRevision() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue