7#include <aws/budgets/Budgets_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
42 template <
typename PolicyIdT = Aws::String>
44 m_policyIdHasBeenSet =
true;
45 m_policyId = std::forward<PolicyIdT>(value);
47 template <
typename PolicyIdT = Aws::String>
60 template <
typename TargetIdsT = Aws::Vector<Aws::String>>
62 m_targetIdsHasBeenSet =
true;
63 m_targetIds = std::forward<TargetIdsT>(value);
65 template <
typename TargetIdsT = Aws::Vector<Aws::String>>
70 template <
typename TargetIdsT = Aws::String>
72 m_targetIdsHasBeenSet =
true;
73 m_targetIds.emplace_back(std::forward<TargetIdsT>(value));
81 bool m_policyIdHasBeenSet =
false;
82 bool m_targetIdsHasBeenSet =
false;
bool TargetIdsHasBeenSet() const
void SetTargetIds(TargetIdsT &&value)
AWS_BUDGETS_API ScpActionDefinition()=default
AWS_BUDGETS_API ScpActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
ScpActionDefinition & WithPolicyId(PolicyIdT &&value)
ScpActionDefinition & AddTargetIds(TargetIdsT &&value)
AWS_BUDGETS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BUDGETS_API ScpActionDefinition(Aws::Utils::Json::JsonView jsonValue)
ScpActionDefinition & WithTargetIds(TargetIdsT &&value)
const Aws::Vector< Aws::String > & GetTargetIds() const
void SetPolicyId(PolicyIdT &&value)
const Aws::String & GetPolicyId() const
bool PolicyIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue