7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
12#include <aws/partnercentral-account/model/ConnectionType.h>
13#include <aws/partnercentral-account/model/ConnectionTypeDetail.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace 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 IdT = Aws::String>
58 m_idHasBeenSet =
true;
59 m_id = std::forward<IdT>(value);
61 template <
typename IdT = Aws::String>
63 SetId(std::forward<IdT>(value));
73 template <
typename ArnT = Aws::String>
75 m_arnHasBeenSet =
true;
76 m_arn = std::forward<ArnT>(value);
78 template <
typename ArnT = Aws::String>
80 SetArn(std::forward<ArnT>(value));
90 template <
typename OtherParticipantAccountIdT = Aws::String>
92 m_otherParticipantAccountIdHasBeenSet =
true;
93 m_otherParticipantAccountId = std::forward<OtherParticipantAccountIdT>(value);
95 template <
typename OtherParticipantAccountIdT = Aws::String>
107 template <
typename UpdatedAtT = Aws::Utils::DateTime>
109 m_updatedAtHasBeenSet =
true;
110 m_updatedAt = std::forward<UpdatedAtT>(value);
112 template <
typename UpdatedAtT = Aws::Utils::DateTime>
124 template <
typename ConnectionTypesT = Aws::Map<ConnectionType, ConnectionTypeDetail>>
126 m_connectionTypesHasBeenSet =
true;
127 m_connectionTypes = std::forward<ConnectionTypesT>(value);
129 template <
typename ConnectionTypesT = Aws::Map<ConnectionType, ConnectionTypeDetail>>
135 m_connectionTypesHasBeenSet =
true;
136 m_connectionTypes.emplace(key, value);
144 template <
typename RequestIdT = Aws::String>
146 m_requestIdHasBeenSet =
true;
147 m_requestId = std::forward<RequestIdT>(value);
149 template <
typename RequestIdT = Aws::String>
172 bool m_catalogHasBeenSet =
false;
173 bool m_idHasBeenSet =
false;
174 bool m_arnHasBeenSet =
false;
175 bool m_otherParticipantAccountIdHasBeenSet =
false;
176 bool m_updatedAtHasBeenSet =
false;
177 bool m_connectionTypesHasBeenSet =
false;
178 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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