7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/partnercentral-marketing/PartnerCentralMarketing_EXPORTS.h>
19namespace PartnerCentralMarketing {
31 AWS_PARTNERCENTRALMARKETING_API
ConflictException(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_PARTNERCENTRALMARKETING_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 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>
209 template <
typename ReasonT = Aws::String>
211 m_reasonHasBeenSet =
true;
212 m_reason = std::forward<ReasonT>(value);
214 template <
typename ReasonT = Aws::String>
228 bool m_messageHasBeenSet =
false;
229 bool m_resourceIdHasBeenSet =
false;
230 bool m_resourceTypeHasBeenSet =
false;
231 bool m_reasonHasBeenSet =
false;
AWS_PARTNERCENTRALMARKETING_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetReason() const
ConflictException & WithResourceType(ResourceTypeT &&value)
ConflictException & WithResourceId(ResourceIdT &&value)
void SetMessage(MessageT &&value)
void SetReason(ReasonT &&value)
bool ResourceTypeHasBeenSet() const
AWS_PARTNERCENTRALMARKETING_API ConflictException()=default
ConflictException & WithMessage(MessageT &&value)
bool ReasonHasBeenSet() const
AWS_PARTNERCENTRALMARKETING_API ConflictException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetResourceId() const
AWS_PARTNERCENTRALMARKETING_API ConflictException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetResourceId(ResourceIdT &&value)
void SetResourceType(ResourceTypeT &&value)
const Aws::String & GetMessage() const
const Aws::String & GetResourceType() const
bool MessageHasBeenSet() const
bool ResourceIdHasBeenSet() const
ConflictException & WithReason(ReasonT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String