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/ConnectionTypeSummary.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>
136 template <
typename ConnectionTypesT = Aws::Map<ConnectionType, ConnectionTypeSummary>>
138 m_connectionTypesHasBeenSet =
true;
139 m_connectionTypes = std::forward<ConnectionTypesT>(value);
141 template <
typename ConnectionTypesT = Aws::Map<ConnectionType, ConnectionTypeSummary>>
147 m_connectionTypesHasBeenSet =
true;
148 m_connectionTypes.emplace(key, value);
164 bool m_catalogHasBeenSet =
false;
165 bool m_idHasBeenSet =
false;
166 bool m_arnHasBeenSet =
false;
167 bool m_otherParticipantAccountIdHasBeenSet =
false;
168 bool m_updatedAtHasBeenSet =
false;
169 bool m_connectionTypesHasBeenSet =
false;
void SetUpdatedAt(UpdatedAtT &&value)
AWS_PARTNERCENTRALACCOUNT_API ConnectionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOtherParticipantAccountId() const
bool UpdatedAtHasBeenSet() const
ConnectionSummary & WithOtherParticipantAccountId(OtherParticipantAccountIdT &&value)
void SetOtherParticipantAccountId(OtherParticipantAccountIdT &&value)
const Aws::String & GetArn() const
const Aws::Map< ConnectionType, ConnectionTypeSummary > & GetConnectionTypes() const
void SetArn(ArnT &&value)
bool IdHasBeenSet() const
bool ConnectionTypesHasBeenSet() const
ConnectionSummary & WithCatalog(CatalogT &&value)
ConnectionSummary & WithArn(ArnT &&value)
ConnectionSummary & WithId(IdT &&value)
AWS_PARTNERCENTRALACCOUNT_API ConnectionSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCatalog(CatalogT &&value)
bool ArnHasBeenSet() const
ConnectionSummary & WithConnectionTypes(ConnectionTypesT &&value)
const Aws::String & GetCatalog() const
AWS_PARTNERCENTRALACCOUNT_API ConnectionSummary()=default
bool OtherParticipantAccountIdHasBeenSet() const
ConnectionSummary & WithUpdatedAt(UpdatedAtT &&value)
bool CatalogHasBeenSet() const
ConnectionSummary & AddConnectionTypes(ConnectionType key, ConnectionTypeSummary value)
void SetConnectionTypes(ConnectionTypesT &&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