AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRetrieverResult.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 <aws/qbusiness/model/RetrieverConfiguration.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace QBusiness
28{
29namespace Model
30{
32 {
33 public:
34 AWS_QBUSINESS_API GetRetrieverResult();
37
38
40
43 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
44 inline void SetApplicationId(const Aws::String& value) { m_applicationId = value; }
45 inline void SetApplicationId(Aws::String&& value) { m_applicationId = std::move(value); }
46 inline void SetApplicationId(const char* value) { m_applicationId.assign(value); }
47 inline GetRetrieverResult& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
48 inline GetRetrieverResult& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
49 inline GetRetrieverResult& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
51
53
56 inline const Aws::String& GetRetrieverId() const{ return m_retrieverId; }
57 inline void SetRetrieverId(const Aws::String& value) { m_retrieverId = value; }
58 inline void SetRetrieverId(Aws::String&& value) { m_retrieverId = std::move(value); }
59 inline void SetRetrieverId(const char* value) { m_retrieverId.assign(value); }
60 inline GetRetrieverResult& WithRetrieverId(const Aws::String& value) { SetRetrieverId(value); return *this;}
61 inline GetRetrieverResult& WithRetrieverId(Aws::String&& value) { SetRetrieverId(std::move(value)); return *this;}
62 inline GetRetrieverResult& WithRetrieverId(const char* value) { SetRetrieverId(value); return *this;}
64
66
70 inline const Aws::String& GetRetrieverArn() const{ return m_retrieverArn; }
71 inline void SetRetrieverArn(const Aws::String& value) { m_retrieverArn = value; }
72 inline void SetRetrieverArn(Aws::String&& value) { m_retrieverArn = std::move(value); }
73 inline void SetRetrieverArn(const char* value) { m_retrieverArn.assign(value); }
74 inline GetRetrieverResult& WithRetrieverArn(const Aws::String& value) { SetRetrieverArn(value); return *this;}
75 inline GetRetrieverResult& WithRetrieverArn(Aws::String&& value) { SetRetrieverArn(std::move(value)); return *this;}
76 inline GetRetrieverResult& WithRetrieverArn(const char* value) { SetRetrieverArn(value); return *this;}
78
80
83 inline const RetrieverType& GetType() const{ return m_type; }
84 inline void SetType(const RetrieverType& value) { m_type = value; }
85 inline void SetType(RetrieverType&& value) { m_type = std::move(value); }
86 inline GetRetrieverResult& WithType(const RetrieverType& value) { SetType(value); return *this;}
87 inline GetRetrieverResult& WithType(RetrieverType&& value) { SetType(std::move(value)); return *this;}
89
91
94 inline const RetrieverStatus& GetStatus() const{ return m_status; }
95 inline void SetStatus(const RetrieverStatus& value) { m_status = value; }
96 inline void SetStatus(RetrieverStatus&& value) { m_status = std::move(value); }
97 inline GetRetrieverResult& WithStatus(const RetrieverStatus& value) { SetStatus(value); return *this;}
98 inline GetRetrieverResult& WithStatus(RetrieverStatus&& value) { SetStatus(std::move(value)); return *this;}
100
102
105 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
106 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
107 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
108 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
109 inline GetRetrieverResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
110 inline GetRetrieverResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
111 inline GetRetrieverResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
113
115
116 inline const RetrieverConfiguration& GetConfiguration() const{ return m_configuration; }
117 inline void SetConfiguration(const RetrieverConfiguration& value) { m_configuration = value; }
118 inline void SetConfiguration(RetrieverConfiguration&& value) { m_configuration = std::move(value); }
120 inline GetRetrieverResult& WithConfiguration(RetrieverConfiguration&& value) { SetConfiguration(std::move(value)); return *this;}
122
124
128 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
129 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
130 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
131 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
132 inline GetRetrieverResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
133 inline GetRetrieverResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
134 inline GetRetrieverResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
136
138
141 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
142 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
143 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
144 inline GetRetrieverResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
145 inline GetRetrieverResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
147
149
152 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
153 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
154 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
155 inline GetRetrieverResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
156 inline GetRetrieverResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
158
160
161 inline const Aws::String& GetRequestId() const{ return m_requestId; }
162 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
163 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
164 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
165 inline GetRetrieverResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
166 inline GetRetrieverResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
167 inline GetRetrieverResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
169 private:
170
171 Aws::String m_applicationId;
172
173 Aws::String m_retrieverId;
174
175 Aws::String m_retrieverArn;
176
177 RetrieverType m_type;
178
179 RetrieverStatus m_status;
180
181 Aws::String m_displayName;
182
183 RetrieverConfiguration m_configuration;
184
185 Aws::String m_roleArn;
186
187 Aws::Utils::DateTime m_createdAt;
188
189 Aws::Utils::DateTime m_updatedAt;
190
191 Aws::String m_requestId;
192 };
193
194} // namespace Model
195} // namespace QBusiness
196} // namespace Aws
void SetDisplayName(const Aws::String &value)
GetRetrieverResult & WithType(RetrieverType &&value)
const RetrieverStatus & GetStatus() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetRetrieverResult & WithDisplayName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetApplicationId(const Aws::String &value)
GetRetrieverResult & WithConfiguration(const RetrieverConfiguration &value)
GetRetrieverResult & WithRequestId(Aws::String &&value)
void SetRequestId(const Aws::String &value)
GetRetrieverResult & WithApplicationId(const char *value)
GetRetrieverResult & WithDisplayName(Aws::String &&value)
const Aws::String & GetApplicationId() const
GetRetrieverResult & WithStatus(RetrieverStatus &&value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetRetrieverResult & WithRetrieverArn(Aws::String &&value)
GetRetrieverResult & WithType(const RetrieverType &value)
GetRetrieverResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetRetrieverResult & WithRetrieverArn(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_QBUSINESS_API GetRetrieverResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRoleArn(const Aws::String &value)
GetRetrieverResult & WithStatus(const RetrieverStatus &value)
GetRetrieverResult & WithRoleArn(const char *value)
const RetrieverConfiguration & GetConfiguration() const
GetRetrieverResult & WithRoleArn(const Aws::String &value)
GetRetrieverResult & WithApplicationId(Aws::String &&value)
GetRetrieverResult & WithRetrieverId(Aws::String &&value)
GetRetrieverResult & WithApplicationId(const Aws::String &value)
GetRetrieverResult & WithRetrieverId(const Aws::String &value)
GetRetrieverResult & WithRequestId(const Aws::String &value)
GetRetrieverResult & WithRetrieverId(const char *value)
void SetConfiguration(const RetrieverConfiguration &value)
GetRetrieverResult & WithRetrieverArn(const char *value)
const Aws::String & GetRetrieverArn() const
GetRetrieverResult & WithConfiguration(RetrieverConfiguration &&value)
GetRetrieverResult & WithRoleArn(Aws::String &&value)
void SetStatus(RetrieverStatus &&value)
AWS_QBUSINESS_API GetRetrieverResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRetrieverResult & WithDisplayName(const char *value)
GetRetrieverResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
GetRetrieverResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetRetrieverResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
void SetRetrieverId(const Aws::String &value)
void SetConfiguration(RetrieverConfiguration &&value)
void SetRetrieverArn(const Aws::String &value)
void SetStatus(const RetrieverStatus &value)
GetRetrieverResult & WithRequestId(const char *value)
void SetType(const RetrieverType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue