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>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace 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 IdT = Aws::String>
57 m_idHasBeenSet =
true;
58 m_id = std::forward<IdT>(value);
60 template <
typename IdT = Aws::String>
62 SetId(std::forward<IdT>(value));
72 template <
typename ArnT = Aws::String>
74 m_arnHasBeenSet =
true;
75 m_arn = std::forward<ArnT>(value);
77 template <
typename ArnT = Aws::String>
79 SetArn(std::forward<ArnT>(value));
89 template <
typename OtherParticipantAccountIdT = Aws::String>
91 m_otherParticipantAccountIdHasBeenSet =
true;
92 m_otherParticipantAccountId = std::forward<OtherParticipantAccountIdT>(value);
94 template <
typename OtherParticipantAccountIdT = Aws::String>
106 template <
typename UpdatedAtT = Aws::Utils::DateTime>
108 m_updatedAtHasBeenSet =
true;
109 m_updatedAt = std::forward<UpdatedAtT>(value);
111 template <
typename UpdatedAtT = Aws::Utils::DateTime>
123 template <
typename ConnectionTypesT = Aws::Map<ConnectionType, ConnectionTypeDetail>>
125 m_connectionTypesHasBeenSet =
true;
126 m_connectionTypes = std::forward<ConnectionTypesT>(value);
128 template <
typename ConnectionTypesT = Aws::Map<ConnectionType, ConnectionTypeDetail>>
134 m_connectionTypesHasBeenSet =
true;
135 m_connectionTypes.emplace(key, value);
143 template <
typename RequestIdT = Aws::String>
145 m_requestIdHasBeenSet =
true;
146 m_requestId = std::forward<RequestIdT>(value);
148 template <
typename RequestIdT = Aws::String>
168 bool m_catalogHasBeenSet =
false;
169 bool m_idHasBeenSet =
false;
170 bool m_arnHasBeenSet =
false;
171 bool m_otherParticipantAccountIdHasBeenSet =
false;
172 bool m_updatedAtHasBeenSet =
false;
173 bool m_connectionTypesHasBeenSet =
false;
174 bool m_requestIdHasBeenSet =
false;
CancelConnectionResult & WithRequestId(RequestIdT &&value)
CancelConnectionResult & WithCatalog(CatalogT &&value)
void SetRequestId(RequestIdT &&value)
AWS_PARTNERCENTRALACCOUNT_API CancelConnectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCatalog(CatalogT &&value)
AWS_PARTNERCENTRALACCOUNT_API CancelConnectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelConnectionResult & WithUpdatedAt(UpdatedAtT &&value)
const Aws::String & GetCatalog() const
void SetOtherParticipantAccountId(OtherParticipantAccountIdT &&value)
void SetArn(ArnT &&value)
void SetConnectionTypes(ConnectionTypesT &&value)
CancelConnectionResult & WithConnectionTypes(ConnectionTypesT &&value)
AWS_PARTNERCENTRALACCOUNT_API CancelConnectionResult()=default
CancelConnectionResult & WithOtherParticipantAccountId(OtherParticipantAccountIdT &&value)
const Aws::String & GetArn() const
const Aws::String & GetId() const
const Aws::String & GetRequestId() const
CancelConnectionResult & AddConnectionTypes(ConnectionType key, ConnectionTypeDetail value)
const Aws::Map< ConnectionType, ConnectionTypeDetail > & GetConnectionTypes() const
const Aws::String & GetOtherParticipantAccountId() const
const Aws::Utils::DateTime & GetUpdatedAt() const
CancelConnectionResult & WithArn(ArnT &&value)
CancelConnectionResult & WithId(IdT &&value)
void SetUpdatedAt(UpdatedAtT &&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