AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EntityNotExistsException.h
1
6#pragma once
7#include <aws/workdocs/WorkDocs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WorkDocs
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_WORKDOCS_API EntityNotExistsException();
38 AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const Aws::String& GetMessage() const{ return m_message; }
44 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
45 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
46 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
47 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
48 inline EntityNotExistsException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
49 inline EntityNotExistsException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
50 inline EntityNotExistsException& WithMessage(const char* value) { SetMessage(value); return *this;}
52
54
57 inline const Aws::Vector<Aws::String>& GetEntityIds() const{ return m_entityIds; }
58 inline bool EntityIdsHasBeenSet() const { return m_entityIdsHasBeenSet; }
59 inline void SetEntityIds(const Aws::Vector<Aws::String>& value) { m_entityIdsHasBeenSet = true; m_entityIds = value; }
60 inline void SetEntityIds(Aws::Vector<Aws::String>&& value) { m_entityIdsHasBeenSet = true; m_entityIds = std::move(value); }
61 inline EntityNotExistsException& WithEntityIds(const Aws::Vector<Aws::String>& value) { SetEntityIds(value); return *this;}
62 inline EntityNotExistsException& WithEntityIds(Aws::Vector<Aws::String>&& value) { SetEntityIds(std::move(value)); return *this;}
63 inline EntityNotExistsException& AddEntityIds(const Aws::String& value) { m_entityIdsHasBeenSet = true; m_entityIds.push_back(value); return *this; }
64 inline EntityNotExistsException& AddEntityIds(Aws::String&& value) { m_entityIdsHasBeenSet = true; m_entityIds.push_back(std::move(value)); return *this; }
65 inline EntityNotExistsException& AddEntityIds(const char* value) { m_entityIdsHasBeenSet = true; m_entityIds.push_back(value); return *this; }
67 private:
68
69 Aws::String m_message;
70 bool m_messageHasBeenSet = false;
71
72 Aws::Vector<Aws::String> m_entityIds;
73 bool m_entityIdsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace WorkDocs
78} // namespace Aws
EntityNotExistsException & WithMessage(const char *value)
void SetEntityIds(const Aws::Vector< Aws::String > &value)
EntityNotExistsException & WithMessage(const Aws::String &value)
const Aws::Vector< Aws::String > & GetEntityIds() const
EntityNotExistsException & AddEntityIds(Aws::String &&value)
AWS_WORKDOCS_API Aws::Utils::Json::JsonValue Jsonize() const
EntityNotExistsException & WithMessage(Aws::String &&value)
EntityNotExistsException & WithEntityIds(const Aws::Vector< Aws::String > &value)
EntityNotExistsException & AddEntityIds(const Aws::String &value)
AWS_WORKDOCS_API EntityNotExistsException & operator=(Aws::Utils::Json::JsonView jsonValue)
EntityNotExistsException & WithEntityIds(Aws::Vector< Aws::String > &&value)
EntityNotExistsException & AddEntityIds(const char *value)
AWS_WORKDOCS_API EntityNotExistsException(Aws::Utils::Json::JsonView jsonValue)
void SetEntityIds(Aws::Vector< Aws::String > &&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