7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/snow-device-management/model/InstanceStateName.h>
21namespace SnowDeviceManagement
57 inline int GetCode()
const{
return m_code; }
59 inline void SetCode(
int value) { m_codeHasBeenSet =
true; m_code = value; }
77 bool m_codeHasBeenSet =
false;
80 bool m_nameHasBeenSet =
false;
const InstanceStateName & GetName() const
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
InstanceState & WithName(const InstanceStateName &value)
InstanceState & WithName(InstanceStateName &&value)
void SetName(InstanceStateName &&value)
bool NameHasBeenSet() const
InstanceState & WithCode(int value)
AWS_SNOWDEVICEMANAGEMENT_API InstanceState & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWDEVICEMANAGEMENT_API InstanceState(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWDEVICEMANAGEMENT_API InstanceState()
bool CodeHasBeenSet() const
void SetName(const InstanceStateName &value)
Aws::Utils::Json::JsonValue JsonValue