7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetState(
const char* value) { m_stateHasBeenSet =
true; m_state.assign(value); }
63 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
71 bool m_stateHasBeenSet =
false;
74 bool m_statusMessageHasBeenSet =
false;
bool StateHasBeenSet() const
AssociationStateDetails & WithState(Aws::String &&value)
void SetStatusMessage(Aws::String &&value)
void SetStatusMessage(const Aws::String &value)
void SetState(const char *value)
AssociationStateDetails & WithState(const char *value)
void SetState(const Aws::String &value)
AssociationStateDetails & WithStatusMessage(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AssociationStateDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusMessageHasBeenSet() const
AssociationStateDetails & WithStatusMessage(Aws::String &&value)
AssociationStateDetails & WithState(const Aws::String &value)
void SetStatusMessage(const char *value)
AWS_SECURITYHUB_API AssociationStateDetails()
AWS_SECURITYHUB_API AssociationStateDetails(Aws::Utils::Json::JsonView jsonValue)
void SetState(Aws::String &&value)
const Aws::String & GetState() const
const Aws::String & GetStatusMessage() const
AssociationStateDetails & WithStatusMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue