7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/servicecatalog/ServiceCatalog_EXPORTS.h>
11#include <aws/servicecatalog/model/ShareError.h>
21namespace ServiceCatalog {
33 AWS_SERVICECATALOG_API
ShareDetails(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_SERVICECATALOG_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename SuccessfulSharesT = Aws::Vector<Aws::String>>
45 m_successfulSharesHasBeenSet =
true;
46 m_successfulShares = std::forward<SuccessfulSharesT>(value);
48 template <
typename SuccessfulSharesT = Aws::Vector<Aws::String>>
53 template <
typename SuccessfulSharesT = Aws::String>
55 m_successfulSharesHasBeenSet =
true;
56 m_successfulShares.emplace_back(std::forward<SuccessfulSharesT>(value));
67 template <
typename ShareErrorsT = Aws::Vector<ShareError>>
69 m_shareErrorsHasBeenSet =
true;
70 m_shareErrors = std::forward<ShareErrorsT>(value);
72 template <
typename ShareErrorsT = Aws::Vector<ShareError>>
77 template <
typename ShareErrorsT = ShareError>
79 m_shareErrorsHasBeenSet =
true;
80 m_shareErrors.emplace_back(std::forward<ShareErrorsT>(value));
88 bool m_successfulSharesHasBeenSet =
false;
89 bool m_shareErrorsHasBeenSet =
false;
bool ShareErrorsHasBeenSet() const
AWS_SERVICECATALOG_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool SuccessfulSharesHasBeenSet() const
void SetSuccessfulShares(SuccessfulSharesT &&value)
ShareDetails & WithSuccessfulShares(SuccessfulSharesT &&value)
ShareDetails & AddSuccessfulShares(SuccessfulSharesT &&value)
const Aws::Vector< Aws::String > & GetSuccessfulShares() const
AWS_SERVICECATALOG_API ShareDetails & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_SERVICECATALOG_API ShareDetails(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetShareErrors(ShareErrorsT &&value)
AWS_SERVICECATALOG_API ShareDetails()=default
const Aws::Vector< ShareError > & GetShareErrors() const
ShareDetails & WithShareErrors(ShareErrorsT &&value)
ShareDetails & AddShareErrors(ShareErrorsT &&value)
std::vector< T, Aws::Allocator< T > > Vector