7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/RegistrationStatus.h>
51 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
79 inline void SetErrorMessage(
const char* value) { m_errorMessageHasBeenSet =
true; m_errorMessage.assign(value); }
87 bool m_roleArnHasBeenSet =
false;
90 bool m_registrationStatusHasBeenSet =
false;
93 bool m_errorMessageHasBeenSet =
false;
IamRegistrationResponse & WithRoleArn(const char *value)
IamRegistrationResponse & WithErrorMessage(Aws::String &&value)
bool RoleArnHasBeenSet() const
AWS_IOTFLEETWISE_API IamRegistrationResponse()
AWS_IOTFLEETWISE_API IamRegistrationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
bool RegistrationStatusHasBeenSet() const
void SetErrorMessage(const Aws::String &value)
const RegistrationStatus & GetRegistrationStatus() const
IamRegistrationResponse & WithErrorMessage(const Aws::String &value)
void SetRegistrationStatus(const RegistrationStatus &value)
void SetRegistrationStatus(RegistrationStatus &&value)
AWS_IOTFLEETWISE_API IamRegistrationResponse(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(const char *value)
IamRegistrationResponse & WithRegistrationStatus(RegistrationStatus &&value)
IamRegistrationResponse & WithErrorMessage(const char *value)
void SetErrorMessage(Aws::String &&value)
void SetRoleArn(const Aws::String &value)
bool ErrorMessageHasBeenSet() const
void SetRoleArn(const char *value)
IamRegistrationResponse & WithRegistrationStatus(const RegistrationStatus &value)
const Aws::String & GetRoleArn() const
IamRegistrationResponse & WithRoleArn(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
IamRegistrationResponse & WithRoleArn(Aws::String &&value)
const Aws::String & GetErrorMessage() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue