7#include <aws/resource-groups/ResourceGroups_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resource-groups/model/GroupingType.h>
10#include <aws/resource-groups/model/GroupingStatus.h>
11#include <aws/core/utils/DateTime.h>
24namespace ResourceGroups
52 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
92 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
106 inline void SetErrorCode(
const char* value) { m_errorCodeHasBeenSet =
true; m_errorCode.assign(value); }
126 bool m_resourceArnHasBeenSet =
false;
129 bool m_actionHasBeenSet =
false;
132 bool m_statusHasBeenSet =
false;
135 bool m_errorMessageHasBeenSet =
false;
138 bool m_errorCodeHasBeenSet =
false;
141 bool m_updatedAtHasBeenSet =
false;
bool StatusHasBeenSet() const
void SetErrorMessage(Aws::String &&value)
AWS_RESOURCEGROUPS_API GroupingStatusesItem & operator=(Aws::Utils::Json::JsonView jsonValue)
GroupingStatusesItem & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetAction(const GroupingType &value)
void SetStatus(const GroupingStatus &value)
bool ErrorCodeHasBeenSet() const
GroupingStatusesItem & WithAction(GroupingType &&value)
bool ActionHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
const GroupingStatus & GetStatus() const
AWS_RESOURCEGROUPS_API GroupingStatusesItem(Aws::Utils::Json::JsonView jsonValue)
AWS_RESOURCEGROUPS_API Aws::Utils::Json::JsonValue Jsonize() const
GroupingStatusesItem & WithErrorCode(Aws::String &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GroupingStatusesItem & WithUpdatedAt(const Aws::Utils::DateTime &value)
GroupingStatusesItem & WithErrorCode(const Aws::String &value)
const Aws::String & GetErrorCode() const
const GroupingType & GetAction() const
void SetResourceArn(Aws::String &&value)
GroupingStatusesItem & WithResourceArn(const char *value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
bool ErrorMessageHasBeenSet() const
GroupingStatusesItem & WithErrorMessage(const Aws::String &value)
void SetErrorCode(const char *value)
AWS_RESOURCEGROUPS_API GroupingStatusesItem()
GroupingStatusesItem & WithResourceArn(Aws::String &&value)
void SetAction(GroupingType &&value)
const Aws::String & GetResourceArn() const
void SetResourceArn(const char *value)
void SetResourceArn(const Aws::String &value)
GroupingStatusesItem & WithErrorCode(const char *value)
bool ResourceArnHasBeenSet() const
void SetErrorCode(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetStatus(GroupingStatus &&value)
GroupingStatusesItem & WithResourceArn(const Aws::String &value)
bool UpdatedAtHasBeenSet() const
GroupingStatusesItem & WithErrorMessage(const char *value)
GroupingStatusesItem & WithStatus(const GroupingStatus &value)
void SetErrorCode(Aws::String &&value)
GroupingStatusesItem & WithAction(const GroupingType &value)
GroupingStatusesItem & WithStatus(GroupingStatus &&value)
void SetErrorMessage(const char *value)
const Aws::String & GetErrorMessage() const
GroupingStatusesItem & WithErrorMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue