AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
FailedEntity.h
1
6#pragma once
7#include <aws/kendra/Kendra_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace kendra
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_KENDRA_API FailedEntity() = default;
37 AWS_KENDRA_API FailedEntity(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetEntityId() const { return m_entityId; }
48 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
49 template<typename EntityIdT = Aws::String>
50 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
51 template<typename EntityIdT = Aws::String>
52 FailedEntity& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
54
56
60 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
61 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
62 template<typename ErrorMessageT = Aws::String>
63 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
64 template<typename ErrorMessageT = Aws::String>
65 FailedEntity& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
67 private:
68
69 Aws::String m_entityId;
70 bool m_entityIdHasBeenSet = false;
71
72 Aws::String m_errorMessage;
73 bool m_errorMessageHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace kendra
78} // namespace Aws
void SetEntityId(EntityIdT &&value)
void SetErrorMessage(ErrorMessageT &&value)
AWS_KENDRA_API FailedEntity(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorMessage() const
AWS_KENDRA_API FailedEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
FailedEntity & WithErrorMessage(ErrorMessageT &&value)
AWS_KENDRA_API FailedEntity()=default
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
FailedEntity & WithEntityId(EntityIdT &&value)
const Aws::String & GetEntityId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue