7#include <aws/cloudtrail-data/CloudTrailData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CloudTrailData {
46 template <
typename ErrorCodeT = Aws::String>
48 m_errorCodeHasBeenSet =
true;
49 m_errorCode = std::forward<ErrorCodeT>(value);
51 template <
typename ErrorCodeT = Aws::String>
65 template <
typename ErrorMessageT = Aws::String>
67 m_errorMessageHasBeenSet =
true;
68 m_errorMessage = std::forward<ErrorMessageT>(value);
70 template <
typename ErrorMessageT = Aws::String>
84 template <
typename IdT = Aws::String>
86 m_idHasBeenSet =
true;
87 m_id = std::forward<IdT>(value);
89 template <
typename IdT = Aws::String>
91 SetId(std::forward<IdT>(value));
101 bool m_errorCodeHasBeenSet =
false;
102 bool m_errorMessageHasBeenSet =
false;
103 bool m_idHasBeenSet =
false;
AWS_CLOUDTRAILDATA_API ResultErrorEntry()=default
ResultErrorEntry & WithErrorMessage(ErrorMessageT &&value)
bool ErrorCodeHasBeenSet() const
bool IdHasBeenSet() const
ResultErrorEntry & WithId(IdT &&value)
bool ErrorMessageHasBeenSet() const
const Aws::String & GetErrorMessage() const
AWS_CLOUDTRAILDATA_API ResultErrorEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDTRAILDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(ErrorCodeT &&value)
void SetErrorMessage(ErrorMessageT &&value)
AWS_CLOUDTRAILDATA_API ResultErrorEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetId() const
const Aws::String & GetErrorCode() const
ResultErrorEntry & WithErrorCode(ErrorCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue