7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
20namespace ComputeOptimizerAutomation {
32 AWS_COMPUTEOPTIMIZERAUTOMATION_API
OrganizationScope(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_COMPUTEOPTIMIZERAUTOMATION_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
45 m_accountIdsHasBeenSet =
true;
46 m_accountIds = std::forward<AccountIdsT>(value);
48 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
53 template <
typename AccountIdsT = Aws::String>
55 m_accountIdsHasBeenSet =
true;
56 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
62 bool m_accountIdsHasBeenSet =
false;
AWS_COMPUTEOPTIMIZERAUTOMATION_API OrganizationScope()=default
OrganizationScope & WithAccountIds(AccountIdsT &&value)
bool AccountIdsHasBeenSet() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API OrganizationScope & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
OrganizationScope & AddAccountIds(AccountIdsT &&value)
void SetAccountIds(AccountIdsT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::Vector< Aws::String > & GetAccountIds() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API OrganizationScope(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::vector< T, Aws::Allocator< T > > Vector