7#include <aws/iotfleetwise/IoTFleetWise_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotfleetwise/model/RegistrationStatus.h>
49 template<
typename RoleArnT = Aws::String>
50 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
51 template<
typename RoleArnT = Aws::String>
73 template<
typename ErrorMessageT = Aws::String>
74 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
75 template<
typename ErrorMessageT = Aws::String>
81 bool m_roleArnHasBeenSet =
false;
84 bool m_registrationStatusHasBeenSet =
false;
87 bool m_errorMessageHasBeenSet =
false;
bool RoleArnHasBeenSet() const
AWS_IOTFLEETWISE_API IamRegistrationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTFLEETWISE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRegistrationStatus(RegistrationStatus value)
bool RegistrationStatusHasBeenSet() const
IamRegistrationResponse & WithErrorMessage(ErrorMessageT &&value)
void SetRoleArn(RoleArnT &&value)
AWS_IOTFLEETWISE_API IamRegistrationResponse()=default
AWS_IOTFLEETWISE_API IamRegistrationResponse(Aws::Utils::Json::JsonView jsonValue)
void SetErrorMessage(ErrorMessageT &&value)
IamRegistrationResponse & WithRegistrationStatus(RegistrationStatus value)
bool ErrorMessageHasBeenSet() const
IamRegistrationResponse & WithRoleArn(RoleArnT &&value)
const Aws::String & GetRoleArn() const
const Aws::String & GetErrorMessage() const
RegistrationStatus GetRegistrationStatus() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue