AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
37
38
40
43 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
44 template<typename ApplicationIdT = Aws::String>
45 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
46 template<typename ApplicationIdT = Aws::String>
47 GetRetrieverResult& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetRetrieverId() const { return m_retrieverId; }
55 template<typename RetrieverIdT = Aws::String>
56 void SetRetrieverId(RetrieverIdT&& value) { m_retrieverIdHasBeenSet = true; m_retrieverId = std::forward<RetrieverIdT>(value); }
57 template<typename RetrieverIdT = Aws::String>
58 GetRetrieverResult& WithRetrieverId(RetrieverIdT&& value) { SetRetrieverId(std::forward<RetrieverIdT>(value)); return *this;}
60
62
66 inline const Aws::String& GetRetrieverArn() const { return m_retrieverArn; }
67 template<typename RetrieverArnT = Aws::String>
68 void SetRetrieverArn(RetrieverArnT&& value) { m_retrieverArnHasBeenSet = true; m_retrieverArn = std::forward<RetrieverArnT>(value); }
69 template<typename RetrieverArnT = Aws::String>
70 GetRetrieverResult& WithRetrieverArn(RetrieverArnT&& value) { SetRetrieverArn(std::forward<RetrieverArnT>(value)); return *this;}
72
74
77 inline RetrieverType GetType() const { return m_type; }
78 inline void SetType(RetrieverType value) { m_typeHasBeenSet = true; m_type = value; }
79 inline GetRetrieverResult& WithType(RetrieverType value) { SetType(value); return *this;}
81
83
86 inline RetrieverStatus GetStatus() const { return m_status; }
87 inline void SetStatus(RetrieverStatus value) { m_statusHasBeenSet = true; m_status = value; }
88 inline GetRetrieverResult& WithStatus(RetrieverStatus value) { SetStatus(value); return *this;}
90
92
95 inline const Aws::String& GetDisplayName() const { return m_displayName; }
96 template<typename DisplayNameT = Aws::String>
97 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
98 template<typename DisplayNameT = Aws::String>
99 GetRetrieverResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
101
103
104 inline const RetrieverConfiguration& GetConfiguration() const { return m_configuration; }
105 template<typename ConfigurationT = RetrieverConfiguration>
106 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
107 template<typename ConfigurationT = RetrieverConfiguration>
108 GetRetrieverResult& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
110
112
116 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
117 template<typename RoleArnT = Aws::String>
118 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
119 template<typename RoleArnT = Aws::String>
120 GetRetrieverResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
128 template<typename CreatedAtT = Aws::Utils::DateTime>
129 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
130 template<typename CreatedAtT = Aws::Utils::DateTime>
131 GetRetrieverResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
139 template<typename UpdatedAtT = Aws::Utils::DateTime>
140 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
141 template<typename UpdatedAtT = Aws::Utils::DateTime>
142 GetRetrieverResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
144
146
147 inline const Aws::String& GetRequestId() const { return m_requestId; }
148 template<typename RequestIdT = Aws::String>
149 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
150 template<typename RequestIdT = Aws::String>
151 GetRetrieverResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
153 private:
154
155 Aws::String m_applicationId;
156 bool m_applicationIdHasBeenSet = false;
157
158 Aws::String m_retrieverId;
159 bool m_retrieverIdHasBeenSet = false;
160
161 Aws::String m_retrieverArn;
162 bool m_retrieverArnHasBeenSet = false;
163
165 bool m_typeHasBeenSet = false;
166
168 bool m_statusHasBeenSet = false;
169
170 Aws::String m_displayName;
171 bool m_displayNameHasBeenSet = false;
172
173 RetrieverConfiguration m_configuration;
174 bool m_configurationHasBeenSet = false;
175
176 Aws::String m_roleArn;
177 bool m_roleArnHasBeenSet = false;
178
179 Aws::Utils::DateTime m_createdAt{};
180 bool m_createdAtHasBeenSet = false;
181
182 Aws::Utils::DateTime m_updatedAt{};
183 bool m_updatedAtHasBeenSet = false;
184
185 Aws::String m_requestId;
186 bool m_requestIdHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace QBusiness
191} // namespace Aws
void SetConfiguration(ConfigurationT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetRetrieverResult & WithDisplayName(DisplayNameT &&value)
const Aws::String & GetApplicationId() const
GetRetrieverResult & WithType(RetrieverType value)
GetRetrieverResult & WithRequestId(RequestIdT &&value)
GetRetrieverResult & WithConfiguration(ConfigurationT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_QBUSINESS_API GetRetrieverResult()=default
AWS_QBUSINESS_API GetRetrieverResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRetrieverResult & WithCreatedAt(CreatedAtT &&value)
const RetrieverConfiguration & GetConfiguration() const
GetRetrieverResult & WithStatus(RetrieverStatus value)
GetRetrieverResult & WithUpdatedAt(UpdatedAtT &&value)
GetRetrieverResult & WithRetrieverId(RetrieverIdT &&value)
const Aws::String & GetRetrieverArn() const
AWS_QBUSINESS_API GetRetrieverResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRetrieverResult & WithApplicationId(ApplicationIdT &&value)
void SetRetrieverArn(RetrieverArnT &&value)
GetRetrieverResult & WithRetrieverArn(RetrieverArnT &&value)
void SetApplicationId(ApplicationIdT &&value)
GetRetrieverResult & WithRoleArn(RoleArnT &&value)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue