7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
11#include <aws/partnercentral-account/model/ConnectionType.h>
12#include <aws/partnercentral-account/model/ConnectionTypeDetail.h>
23namespace PartnerCentralAccount {
45 template <
typename CatalogT = Aws::String>
47 m_catalogHasBeenSet =
true;
48 m_catalog = std::forward<CatalogT>(value);
50 template <
typename CatalogT = Aws::String>
63 template <
typename IdT = Aws::String>
65 m_idHasBeenSet =
true;
66 m_id = std::forward<IdT>(value);
68 template <
typename IdT = Aws::String>
70 SetId(std::forward<IdT>(value));
81 template <
typename ArnT = Aws::String>
83 m_arnHasBeenSet =
true;
84 m_arn = std::forward<ArnT>(value);
86 template <
typename ArnT = Aws::String>
88 SetArn(std::forward<ArnT>(value));
99 template <
typename OtherParticipantAccountIdT = Aws::String>
101 m_otherParticipantAccountIdHasBeenSet =
true;
102 m_otherParticipantAccountId = std::forward<OtherParticipantAccountIdT>(value);
104 template <
typename OtherParticipantAccountIdT = Aws::String>
117 template <
typename UpdatedAtT = Aws::Utils::DateTime>
119 m_updatedAtHasBeenSet =
true;
120 m_updatedAt = std::forward<UpdatedAtT>(value);
122 template <
typename UpdatedAtT = Aws::Utils::DateTime>
135 template <
typename ConnectionTypesT = Aws::Map<ConnectionType, ConnectionTypeDetail>>
137 m_connectionTypesHasBeenSet =
true;
138 m_connectionTypes = std::forward<ConnectionTypesT>(value);
140 template <
typename ConnectionTypesT = Aws::Map<ConnectionType, ConnectionTypeDetail>>
146 m_connectionTypesHasBeenSet =
true;
147 m_connectionTypes.emplace(key, value);
163 bool m_catalogHasBeenSet =
false;
164 bool m_idHasBeenSet =
false;
165 bool m_arnHasBeenSet =
false;
166 bool m_otherParticipantAccountIdHasBeenSet =
false;
167 bool m_updatedAtHasBeenSet =
false;
168 bool m_connectionTypesHasBeenSet =
false;
const Aws::Utils::DateTime & GetUpdatedAt() const
bool ArnHasBeenSet() const
Connection & WithConnectionTypes(ConnectionTypesT &&value)
bool OtherParticipantAccountIdHasBeenSet() const
const Aws::String & GetCatalog() const
AWS_PARTNERCENTRALACCOUNT_API Connection & operator=(Aws::Utils::Json::JsonView jsonValue)
Connection & WithId(IdT &&value)
const Aws::Map< ConnectionType, ConnectionTypeDetail > & GetConnectionTypes() const
void SetArn(ArnT &&value)
Connection & WithOtherParticipantAccountId(OtherParticipantAccountIdT &&value)
const Aws::String & GetArn() const
bool IdHasBeenSet() const
AWS_PARTNERCENTRALACCOUNT_API Connection()=default
Connection & WithCatalog(CatalogT &&value)
Connection & WithUpdatedAt(UpdatedAtT &&value)
Connection & WithArn(ArnT &&value)
void SetOtherParticipantAccountId(OtherParticipantAccountIdT &&value)
AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const
bool CatalogHasBeenSet() const
void SetUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetId() const
bool UpdatedAtHasBeenSet() const
const Aws::String & GetOtherParticipantAccountId() const
AWS_PARTNERCENTRALACCOUNT_API Connection(Aws::Utils::Json::JsonView jsonValue)
void SetConnectionTypes(ConnectionTypesT &&value)
bool ConnectionTypesHasBeenSet() const
void SetCatalog(CatalogT &&value)
Connection & AddConnectionTypes(ConnectionType key, ConnectionTypeDetail value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue