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>
51 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
76 inline void SetState(
const State& value) { m_stateHasBeenSet =
true; m_state = value; }
77 inline void SetState(
State&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
84 bool m_accountIdHasBeenSet =
false;
87 bool m_resourceStateHasBeenSet =
false;
90 bool m_stateHasBeenSet =
false;
AccountState & WithResourceState(const ResourceState &value)
void SetAccountId(Aws::String &&value)
AccountState & WithResourceState(ResourceState &&value)
void SetAccountId(const char *value)
AccountState & WithState(const State &value)
AWS_INSPECTOR2_API AccountState(Aws::Utils::Json::JsonView jsonValue)
AccountState & WithAccountId(const char *value)
const ResourceState & GetResourceState() const
AWS_INSPECTOR2_API AccountState & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceState(const ResourceState &value)
AWS_INSPECTOR2_API AccountState()
AccountState & WithAccountId(Aws::String &&value)
void SetState(State &&value)
void SetState(const State &value)
AccountState & WithAccountId(const Aws::String &value)
void SetAccountId(const Aws::String &value)
void SetResourceState(ResourceState &&value)
const Aws::String & GetAccountId() const
bool StateHasBeenSet() const
const State & GetState() const
AccountState & WithState(State &&value)
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