7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/credentialbroker/CredentialBroker_EXPORTS.h>
9#include <aws/credentialbroker/model/ConflictExceptionReason.h>
20namespace CredentialBroker {
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
61 template <
typename ResourceIdT = Aws::String>
63 m_resourceIdHasBeenSet =
true;
64 m_resourceId = std::forward<ResourceIdT>(value);
66 template <
typename ResourceIdT = Aws::String>
79 template <
typename ResourceTypeT = Aws::String>
81 m_resourceTypeHasBeenSet =
true;
82 m_resourceType = std::forward<ResourceTypeT>(value);
84 template <
typename ResourceTypeT = Aws::String>
96 m_reasonHasBeenSet =
true;
112 bool m_messageHasBeenSet =
false;
113 bool m_resourceIdHasBeenSet =
false;
114 bool m_resourceTypeHasBeenSet =
false;
115 bool m_reasonHasBeenSet =
false;
bool MessageHasBeenSet() const
ConflictExceptionReason GetReason() const
ConflictException & WithReason(ConflictExceptionReason value)
bool ResourceIdHasBeenSet() const
const Aws::String & GetMessage() const
void SetMessage(MessageT &&value)
ConflictException & WithResourceId(ResourceIdT &&value)
bool ReasonHasBeenSet() const
void SetReason(ConflictExceptionReason value)
AWS_CREDENTIALBROKER_API ConflictException(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(ResourceIdT &&value)
const Aws::String & GetResourceType() const
const Aws::String & GetResourceId() const
void SetResourceType(ResourceTypeT &&value)
bool ResourceTypeHasBeenSet() const
AWS_CREDENTIALBROKER_API ConflictException()=default
AWS_CREDENTIALBROKER_API ConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
ConflictException & WithResourceType(ResourceTypeT &&value)
ConflictException & WithMessage(MessageT &&value)
AWS_CREDENTIALBROKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue