7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
42 template <
typename ResourceArnT = Aws::String>
44 m_resourceArnHasBeenSet =
true;
45 m_resourceArn = std::forward<ResourceArnT>(value);
47 template <
typename ResourceArnT = Aws::String>
60 template <
typename ErrorCodeT = Aws::String>
62 m_errorCodeHasBeenSet =
true;
63 m_errorCode = std::forward<ErrorCodeT>(value);
65 template <
typename ErrorCodeT = Aws::String>
78 template <
typename ErrorMessageT = Aws::String>
80 m_errorMessageHasBeenSet =
true;
81 m_errorMessage = std::forward<ErrorMessageT>(value);
83 template <
typename ErrorMessageT = Aws::String>
95 bool m_resourceArnHasBeenSet =
false;
96 bool m_errorCodeHasBeenSet =
false;
97 bool m_errorMessageHasBeenSet =
false;
bool ResourceArnHasBeenSet() const
FailedBatchAssociationSummary & WithErrorMessage(ErrorMessageT &&value)
void SetErrorCode(ErrorCodeT &&value)
AWS_CONNECT_API FailedBatchAssociationSummary(Aws::Utils::Json::JsonView jsonValue)
void SetResourceArn(ResourceArnT &&value)
bool ErrorMessageHasBeenSet() const
AWS_CONNECT_API FailedBatchAssociationSummary()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorMessage(ErrorMessageT &&value)
FailedBatchAssociationSummary & WithErrorCode(ErrorCodeT &&value)
AWS_CONNECT_API FailedBatchAssociationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorCode() const
bool ErrorCodeHasBeenSet() const
const Aws::String & GetErrorMessage() const
const Aws::String & GetResourceArn() const
FailedBatchAssociationSummary & WithResourceArn(ResourceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue