7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
11#include <aws/partnercentral-account/model/AccessType.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace PartnerCentralAccount {
38 template <
typename CatalogT = Aws::String>
40 m_catalogHasBeenSet =
true;
41 m_catalog = std::forward<CatalogT>(value);
43 template <
typename CatalogT = Aws::String>
55 template <
typename ArnT = Aws::String>
57 m_arnHasBeenSet =
true;
58 m_arn = std::forward<ArnT>(value);
60 template <
typename ArnT = Aws::String>
62 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>
164 long long m_revision{0};
167 bool m_catalogHasBeenSet =
false;
168 bool m_arnHasBeenSet =
false;
169 bool m_accessTypeHasBeenSet =
false;
170 bool m_excludedParticipantIdsHasBeenSet =
false;
171 bool m_updatedAtHasBeenSet =
false;
172 bool m_revisionHasBeenSet =
false;
173 bool m_requestIdHasBeenSet =
false;
GetConnectionPreferencesResult & WithCatalog(CatalogT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult()=default
void SetArn(ArnT &&value)
long long GetRevision() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetAccessType(AccessType value)
void SetExcludedParticipantIds(ExcludedParticipantIdsT &&value)
const Aws::String & GetArn() const
void SetUpdatedAt(UpdatedAtT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< Aws::String > & GetExcludedParticipantIds() const
GetConnectionPreferencesResult & WithArn(ArnT &&value)
GetConnectionPreferencesResult & AddExcludedParticipantIds(ExcludedParticipantIdsT &&value)
const Aws::String & GetRequestId() const
AccessType GetAccessType() const
const Aws::String & GetCatalog() const
GetConnectionPreferencesResult & WithUpdatedAt(UpdatedAtT &&value)
void SetRequestId(RequestIdT &&value)
void SetCatalog(CatalogT &&value)
AWS_PARTNERCENTRALACCOUNT_API GetConnectionPreferencesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetConnectionPreferencesResult & WithExcludedParticipantIds(ExcludedParticipantIdsT &&value)
void SetRevision(long long value)
GetConnectionPreferencesResult & WithRequestId(RequestIdT &&value)
GetConnectionPreferencesResult & WithAccessType(AccessType value)
GetConnectionPreferencesResult & WithRevision(long long 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