7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/BatchGetProfileError.h>
12#include <aws/customer-profiles/model/Profile.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace CustomerProfiles {
40 template <
typename ErrorsT = Aws::Vector<BatchGetProfileError>>
42 m_errorsHasBeenSet =
true;
43 m_errors = std::forward<ErrorsT>(value);
45 template <
typename ErrorsT = Aws::Vector<BatchGetProfileError>>
50 template <
typename ErrorsT = BatchGetProfileError>
52 m_errorsHasBeenSet =
true;
53 m_errors.emplace_back(std::forward<ErrorsT>(value));
63 template <
typename ProfilesT = Aws::Vector<Profile>>
65 m_profilesHasBeenSet =
true;
66 m_profiles = std::forward<ProfilesT>(value);
68 template <
typename ProfilesT = Aws::Vector<Profile>>
73 template <
typename ProfilesT = Profile>
75 m_profilesHasBeenSet =
true;
76 m_profiles.emplace_back(std::forward<ProfilesT>(value));
84 template <
typename RequestIdT = Aws::String>
86 m_requestIdHasBeenSet =
true;
87 m_requestId = std::forward<RequestIdT>(value);
89 template <
typename RequestIdT = Aws::String>
104 bool m_errorsHasBeenSet =
false;
105 bool m_profilesHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
void SetProfiles(ProfilesT &&value)
BatchGetProfileResult & WithErrors(ErrorsT &&value)
BatchGetProfileResult & AddErrors(ErrorsT &&value)
AWS_CUSTOMERPROFILES_API BatchGetProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
BatchGetProfileResult & WithRequestId(RequestIdT &&value)
AWS_CUSTOMERPROFILES_API BatchGetProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetProfileResult & AddProfiles(ProfilesT &&value)
const Aws::Vector< BatchGetProfileError > & GetErrors() const
const Aws::Vector< Profile > & GetProfiles() const
void SetErrors(ErrorsT &&value)
AWS_CUSTOMERPROFILES_API BatchGetProfileResult()=default
void SetRequestId(RequestIdT &&value)
BatchGetProfileResult & WithProfiles(ProfilesT &&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