7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/inspector2/model/ResourceState.h>
10#include <aws/inspector2/model/State.h>
49 template<
typename AccountIdT = Aws::String>
50 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
51 template<
typename AccountIdT = Aws::String>
62 template<
typename ResourceStateT = ResourceState>
63 void SetResourceState(ResourceStateT&& value) { m_resourceStateHasBeenSet =
true; m_resourceState = std::forward<ResourceStateT>(value); }
64 template<
typename ResourceStateT = ResourceState>
74 template<
typename StateT = State>
75 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
76 template<
typename StateT = State>
82 bool m_accountIdHasBeenSet =
false;
85 bool m_resourceStateHasBeenSet =
false;
88 bool m_stateHasBeenSet =
false;
void SetState(StateT &&value)
AWS_INSPECTOR2_API AccountState(Aws::Utils::Json::JsonView jsonValue)
AccountState & WithResourceState(ResourceStateT &&value)
AccountState & WithState(StateT &&value)
void SetResourceState(ResourceStateT &&value)
AWS_INSPECTOR2_API AccountState()=default
const ResourceState & GetResourceState() const
AWS_INSPECTOR2_API AccountState & operator=(Aws::Utils::Json::JsonView jsonValue)
AccountState & WithAccountId(AccountIdT &&value)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetAccountId() const
bool StateHasBeenSet() const
const State & GetState() const
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ResourceStateHasBeenSet() const
bool AccountIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue