/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the portfolio share operation.See Also:
* AWS
* API Reference
List of accounts for whom the operation succeeded.
*/ inline const Aws::VectorList of accounts for whom the operation succeeded.
*/ inline bool SuccessfulSharesHasBeenSet() const { return m_successfulSharesHasBeenSet; } /** *List of accounts for whom the operation succeeded.
*/ inline void SetSuccessfulShares(const Aws::VectorList of accounts for whom the operation succeeded.
*/ inline void SetSuccessfulShares(Aws::VectorList of accounts for whom the operation succeeded.
*/ inline ShareDetails& WithSuccessfulShares(const Aws::VectorList of accounts for whom the operation succeeded.
*/ inline ShareDetails& WithSuccessfulShares(Aws::VectorList of accounts for whom the operation succeeded.
*/ inline ShareDetails& AddSuccessfulShares(const Aws::String& value) { m_successfulSharesHasBeenSet = true; m_successfulShares.push_back(value); return *this; } /** *List of accounts for whom the operation succeeded.
*/ inline ShareDetails& AddSuccessfulShares(Aws::String&& value) { m_successfulSharesHasBeenSet = true; m_successfulShares.push_back(std::move(value)); return *this; } /** *List of accounts for whom the operation succeeded.
*/ inline ShareDetails& AddSuccessfulShares(const char* value) { m_successfulSharesHasBeenSet = true; m_successfulShares.push_back(value); return *this; } /** *List of errors.
*/ inline const Aws::VectorList of errors.
*/ inline bool ShareErrorsHasBeenSet() const { return m_shareErrorsHasBeenSet; } /** *List of errors.
*/ inline void SetShareErrors(const Aws::VectorList of errors.
*/ inline void SetShareErrors(Aws::VectorList of errors.
*/ inline ShareDetails& WithShareErrors(const Aws::VectorList of errors.
*/ inline ShareDetails& WithShareErrors(Aws::VectorList of errors.
*/ inline ShareDetails& AddShareErrors(const ShareError& value) { m_shareErrorsHasBeenSet = true; m_shareErrors.push_back(value); return *this; } /** *List of errors.
*/ inline ShareDetails& AddShareErrors(ShareError&& value) { m_shareErrorsHasBeenSet = true; m_shareErrors.push_back(std::move(value)); return *this; } private: Aws::Vector