AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Retriever.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qbusiness/model/RetrieverType.h>
10#include <aws/qbusiness/model/RetrieverStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QBusiness
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QBUSINESS_API Retriever();
38 AWS_QBUSINESS_API Retriever(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QBUSINESS_API Retriever& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
48 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
49 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
50 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
51 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
52 inline Retriever& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
53 inline Retriever& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
54 inline Retriever& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
56
58
62 inline const Aws::String& GetRetrieverId() const{ return m_retrieverId; }
63 inline bool RetrieverIdHasBeenSet() const { return m_retrieverIdHasBeenSet; }
64 inline void SetRetrieverId(const Aws::String& value) { m_retrieverIdHasBeenSet = true; m_retrieverId = value; }
65 inline void SetRetrieverId(Aws::String&& value) { m_retrieverIdHasBeenSet = true; m_retrieverId = std::move(value); }
66 inline void SetRetrieverId(const char* value) { m_retrieverIdHasBeenSet = true; m_retrieverId.assign(value); }
67 inline Retriever& WithRetrieverId(const Aws::String& value) { SetRetrieverId(value); return *this;}
68 inline Retriever& WithRetrieverId(Aws::String&& value) { SetRetrieverId(std::move(value)); return *this;}
69 inline Retriever& WithRetrieverId(const char* value) { SetRetrieverId(value); return *this;}
71
73
76 inline const RetrieverType& GetType() const{ return m_type; }
77 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
78 inline void SetType(const RetrieverType& value) { m_typeHasBeenSet = true; m_type = value; }
79 inline void SetType(RetrieverType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
80 inline Retriever& WithType(const RetrieverType& value) { SetType(value); return *this;}
81 inline Retriever& WithType(RetrieverType&& value) { SetType(std::move(value)); return *this;}
83
85
88 inline const RetrieverStatus& GetStatus() const{ return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(const RetrieverStatus& value) { m_statusHasBeenSet = true; m_status = value; }
91 inline void SetStatus(RetrieverStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
92 inline Retriever& WithStatus(const RetrieverStatus& value) { SetStatus(value); return *this;}
93 inline Retriever& WithStatus(RetrieverStatus&& value) { SetStatus(std::move(value)); return *this;}
95
97
100 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
101 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
102 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
103 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
104 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
105 inline Retriever& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
106 inline Retriever& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
107 inline Retriever& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
109 private:
110
111 Aws::String m_applicationId;
112 bool m_applicationIdHasBeenSet = false;
113
114 Aws::String m_retrieverId;
115 bool m_retrieverIdHasBeenSet = false;
116
117 RetrieverType m_type;
118 bool m_typeHasBeenSet = false;
119
120 RetrieverStatus m_status;
121 bool m_statusHasBeenSet = false;
122
123 Aws::String m_displayName;
124 bool m_displayNameHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace QBusiness
129} // namespace Aws
void SetRetrieverId(Aws::String &&value)
Definition Retriever.h:65
Retriever & WithDisplayName(Aws::String &&value)
Definition Retriever.h:106
const Aws::String & GetApplicationId() const
Definition Retriever.h:47
const RetrieverType & GetType() const
Definition Retriever.h:76
void SetApplicationId(const char *value)
Definition Retriever.h:51
Retriever & WithStatus(const RetrieverStatus &value)
Definition Retriever.h:92
Retriever & WithRetrieverId(Aws::String &&value)
Definition Retriever.h:68
void SetApplicationId(Aws::String &&value)
Definition Retriever.h:50
void SetRetrieverId(const char *value)
Definition Retriever.h:66
void SetDisplayName(Aws::String &&value)
Definition Retriever.h:103
const RetrieverStatus & GetStatus() const
Definition Retriever.h:88
Retriever & WithType(const RetrieverType &value)
Definition Retriever.h:80
void SetApplicationId(const Aws::String &value)
Definition Retriever.h:49
Retriever & WithType(RetrieverType &&value)
Definition Retriever.h:81
Retriever & WithDisplayName(const char *value)
Definition Retriever.h:107
Retriever & WithRetrieverId(const Aws::String &value)
Definition Retriever.h:67
Retriever & WithApplicationId(Aws::String &&value)
Definition Retriever.h:53
Retriever & WithApplicationId(const Aws::String &value)
Definition Retriever.h:52
void SetStatus(const RetrieverStatus &value)
Definition Retriever.h:90
const Aws::String & GetRetrieverId() const
Definition Retriever.h:62
void SetRetrieverId(const Aws::String &value)
Definition Retriever.h:64
void SetDisplayName(const char *value)
Definition Retriever.h:104
AWS_QBUSINESS_API Retriever()
Retriever & WithStatus(RetrieverStatus &&value)
Definition Retriever.h:93
const Aws::String & GetDisplayName() const
Definition Retriever.h:100
AWS_QBUSINESS_API Retriever(Aws::Utils::Json::JsonView jsonValue)
Retriever & WithApplicationId(const char *value)
Definition Retriever.h:54
void SetStatus(RetrieverStatus &&value)
Definition Retriever.h:91
void SetType(const RetrieverType &value)
Definition Retriever.h:78
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(RetrieverType &&value)
Definition Retriever.h:79
void SetDisplayName(const Aws::String &value)
Definition Retriever.h:102
Retriever & WithDisplayName(const Aws::String &value)
Definition Retriever.h:105
Retriever & WithRetrieverId(const char *value)
Definition Retriever.h:69
AWS_QBUSINESS_API Retriever & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue