7#include <aws/compute-optimizer-automation/ComputeOptimizerAutomation_EXPORTS.h>
8#include <aws/compute-optimizer-automation/model/RuleApplyOrder.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/crt/cbor/Cbor.h>
21namespace ComputeOptimizerAutomation {
35 AWS_COMPUTEOPTIMIZERAUTOMATION_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 m_ruleApplyOrderHasBeenSet =
true;
46 m_ruleApplyOrder = value;
61 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
63 m_accountIdsHasBeenSet =
true;
64 m_accountIds = std::forward<AccountIdsT>(value);
66 template <
typename AccountIdsT = Aws::Vector<Aws::String>>
71 template <
typename AccountIdsT = Aws::String>
73 m_accountIdsHasBeenSet =
true;
74 m_accountIds.emplace_back(std::forward<AccountIdsT>(value));
82 bool m_ruleApplyOrderHasBeenSet =
false;
83 bool m_accountIdsHasBeenSet =
false;
void SetRuleApplyOrder(RuleApplyOrder value)
OrganizationConfiguration & WithRuleApplyOrder(RuleApplyOrder value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::Vector< Aws::String > & GetAccountIds() const
void SetAccountIds(AccountIdsT &&value)
RuleApplyOrder GetRuleApplyOrder() const
AWS_COMPUTEOPTIMIZERAUTOMATION_API OrganizationConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_COMPUTEOPTIMIZERAUTOMATION_API OrganizationConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
OrganizationConfiguration & WithAccountIds(AccountIdsT &&value)
bool RuleApplyOrderHasBeenSet() const
OrganizationConfiguration & AddAccountIds(AccountIdsT &&value)
AWS_COMPUTEOPTIMIZERAUTOMATION_API OrganizationConfiguration()=default
bool AccountIdsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector