7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
31 AWS_SECURITYHUB_API
Target() =
default;
42 template <
typename AccountIdT = Aws::String>
44 m_accountIdHasBeenSet =
true;
45 m_accountId = std::forward<AccountIdT>(value);
47 template <
typename AccountIdT = Aws::String>
60 template <
typename OrganizationalUnitIdT = Aws::String>
62 m_organizationalUnitIdHasBeenSet =
true;
63 m_organizationalUnitId = std::forward<OrganizationalUnitIdT>(value);
65 template <
typename OrganizationalUnitIdT = Aws::String>
78 template <
typename RootIdT = Aws::String>
80 m_rootIdHasBeenSet =
true;
81 m_rootId = std::forward<RootIdT>(value);
83 template <
typename RootIdT = Aws::String>
95 bool m_accountIdHasBeenSet =
false;
96 bool m_organizationalUnitIdHasBeenSet =
false;
97 bool m_rootIdHasBeenSet =
false;
Target & WithOrganizationalUnitId(OrganizationalUnitIdT &&value)
bool RootIdHasBeenSet() const
Target & WithRootId(RootIdT &&value)
void SetOrganizationalUnitId(OrganizationalUnitIdT &&value)
bool AccountIdHasBeenSet() const
const Aws::String & GetRootId() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Target & WithAccountId(AccountIdT &&value)
AWS_SECURITYHUB_API Target()=default
AWS_SECURITYHUB_API Target(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAccountId() const
void SetAccountId(AccountIdT &&value)
AWS_SECURITYHUB_API Target & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetOrganizationalUnitId() const
void SetRootId(RootIdT &&value)
bool OrganizationalUnitIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue