7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace BillingConductor
51 template<
typename LinkedAccountIdsT = Aws::Vector<Aws::String>>
52 void SetLinkedAccountIds(LinkedAccountIdsT&& value) { m_linkedAccountIdsHasBeenSet =
true; m_linkedAccountIds = std::forward<LinkedAccountIdsT>(value); }
53 template<
typename LinkedAccountIdsT = Aws::Vector<Aws::String>>
55 template<
typename LinkedAccountIdsT = Aws::String>
56 AccountGrouping&
AddLinkedAccountIds(LinkedAccountIdsT&& value) { m_linkedAccountIdsHasBeenSet =
true; m_linkedAccountIds.emplace_back(std::forward<LinkedAccountIdsT>(value));
return *
this; }
66 inline void SetAutoAssociate(
bool value) { m_autoAssociateHasBeenSet =
true; m_autoAssociate = value; }
72 bool m_linkedAccountIdsHasBeenSet =
false;
74 bool m_autoAssociate{
false};
75 bool m_autoAssociateHasBeenSet =
false;
bool LinkedAccountIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetLinkedAccountIds() const
void SetLinkedAccountIds(LinkedAccountIdsT &&value)
bool GetAutoAssociate() const
AccountGrouping & WithAutoAssociate(bool value)
void SetAutoAssociate(bool value)
AccountGrouping & WithLinkedAccountIds(LinkedAccountIdsT &&value)
AWS_BILLINGCONDUCTOR_API AccountGrouping(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLINGCONDUCTOR_API AccountGrouping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool AutoAssociateHasBeenSet() const
AWS_BILLINGCONDUCTOR_API AccountGrouping()=default
AccountGrouping & AddLinkedAccountIds(LinkedAccountIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue