AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
UserDoesNotExistException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace DirectoryService {
20namespace Model {
21
29 public:
30 AWS_DIRECTORYSERVICE_API UserDoesNotExistException() = default;
31 AWS_DIRECTORYSERVICE_API UserDoesNotExistException(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_DIRECTORYSERVICE_API UserDoesNotExistException& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_DIRECTORYSERVICE_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
37 inline const Aws::String& GetMessage() const { return m_message; }
38 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
39 template <typename MessageT = Aws::String>
40 void SetMessage(MessageT&& value) {
41 m_messageHasBeenSet = true;
42 m_message = std::forward<MessageT>(value);
43 }
44 template <typename MessageT = Aws::String>
46 SetMessage(std::forward<MessageT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
55 template <typename RequestIdT = Aws::String>
56 void SetRequestId(RequestIdT&& value) {
57 m_requestIdHasBeenSet = true;
58 m_requestId = std::forward<RequestIdT>(value);
59 }
60 template <typename RequestIdT = Aws::String>
62 SetRequestId(std::forward<RequestIdT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_message;
68
69 Aws::String m_requestId;
70 bool m_messageHasBeenSet = false;
71 bool m_requestIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace DirectoryService
76} // namespace Aws
UserDoesNotExistException & WithMessage(MessageT &&value)
AWS_DIRECTORYSERVICE_API UserDoesNotExistException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_DIRECTORYSERVICE_API UserDoesNotExistException()=default
UserDoesNotExistException & WithRequestId(RequestIdT &&value)
AWS_DIRECTORYSERVICE_API UserDoesNotExistException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_DIRECTORYSERVICE_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String