AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
EntityNotExistsException.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/workdocs/WorkDocs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WorkDocs {
21namespace Model {
22
29 public:
30 AWS_WORKDOCS_API EntityNotExistsException() = default;
33 AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() 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
55 inline const Aws::Vector<Aws::String>& GetEntityIds() const { return m_entityIds; }
56 inline bool EntityIdsHasBeenSet() const { return m_entityIdsHasBeenSet; }
57 template <typename EntityIdsT = Aws::Vector<Aws::String>>
58 void SetEntityIds(EntityIdsT&& value) {
59 m_entityIdsHasBeenSet = true;
60 m_entityIds = std::forward<EntityIdsT>(value);
61 }
62 template <typename EntityIdsT = Aws::Vector<Aws::String>>
64 SetEntityIds(std::forward<EntityIdsT>(value));
65 return *this;
66 }
67 template <typename EntityIdsT = Aws::String>
69 m_entityIdsHasBeenSet = true;
70 m_entityIds.emplace_back(std::forward<EntityIdsT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_message;
76
77 Aws::Vector<Aws::String> m_entityIds;
78 bool m_messageHasBeenSet = false;
79 bool m_entityIdsHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace WorkDocs
84} // namespace Aws
const Aws::Vector< Aws::String > & GetEntityIds() const
AWS_WORKDOCS_API EntityNotExistsException()=default
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
EntityNotExistsException & WithMessage(MessageT &&value)
AWS_WORKDOCS_API EntityNotExistsException & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityNotExistsException & WithEntityIds(EntityIdsT &&value)
AWS_WORKDOCS_API EntityNotExistsException(Aws::Utils::Json::JsonView jsonValue)
EntityNotExistsException & AddEntityIds(EntityIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue