7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
12#include <aws/customer-profiles/model/ProfileQueryFailures.h>
13#include <aws/customer-profiles/model/ProfileQueryResult.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace CustomerProfiles {
39 template <
typename SegmentDefinitionNameT = Aws::String>
41 m_segmentDefinitionNameHasBeenSet =
true;
42 m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value);
44 template <
typename SegmentDefinitionNameT = Aws::String>
56 template <
typename ProfilesT = Aws::Vector<ProfileQueryResult>>
58 m_profilesHasBeenSet =
true;
59 m_profiles = std::forward<ProfilesT>(value);
61 template <
typename ProfilesT = Aws::Vector<ProfileQueryResult>>
66 template <
typename ProfilesT = ProfileQueryResult>
68 m_profilesHasBeenSet =
true;
69 m_profiles.emplace_back(std::forward<ProfilesT>(value));
80 template <
typename FailuresT = Aws::Vector<ProfileQueryFailures>>
82 m_failuresHasBeenSet =
true;
83 m_failures = std::forward<FailuresT>(value);
85 template <
typename FailuresT = Aws::Vector<ProfileQueryFailures>>
90 template <
typename FailuresT = ProfileQueryFailures>
92 m_failuresHasBeenSet =
true;
93 m_failures.emplace_back(std::forward<FailuresT>(value));
104 template <
typename LastComputedAtT = Aws::Utils::DateTime>
106 m_lastComputedAtHasBeenSet =
true;
107 m_lastComputedAt = std::forward<LastComputedAtT>(value);
109 template <
typename LastComputedAtT = Aws::Utils::DateTime>
119 template <
typename RequestIdT = Aws::String>
121 m_requestIdHasBeenSet =
true;
122 m_requestId = std::forward<RequestIdT>(value);
124 template <
typename RequestIdT = Aws::String>
143 bool m_segmentDefinitionNameHasBeenSet =
false;
144 bool m_profilesHasBeenSet =
false;
145 bool m_failuresHasBeenSet =
false;
146 bool m_lastComputedAtHasBeenSet =
false;
147 bool m_requestIdHasBeenSet =
false;
AWS_CUSTOMERPROFILES_API GetSegmentMembershipResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSegmentMembershipResult & WithFailures(FailuresT &&value)
const Aws::String & GetSegmentDefinitionName() const
GetSegmentMembershipResult & WithProfiles(ProfilesT &&value)
void SetProfiles(ProfilesT &&value)
const Aws::Utils::DateTime & GetLastComputedAt() const
GetSegmentMembershipResult & AddFailures(FailuresT &&value)
const Aws::Vector< ProfileQueryResult > & GetProfiles() const
const Aws::String & GetRequestId() const
void SetSegmentDefinitionName(SegmentDefinitionNameT &&value)
GetSegmentMembershipResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
void SetLastComputedAt(LastComputedAtT &&value)
AWS_CUSTOMERPROFILES_API GetSegmentMembershipResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailures(FailuresT &&value)
GetSegmentMembershipResult & WithSegmentDefinitionName(SegmentDefinitionNameT &&value)
GetSegmentMembershipResult & WithLastComputedAt(LastComputedAtT &&value)
const Aws::Vector< ProfileQueryFailures > & GetFailures() const
GetSegmentMembershipResult & AddProfiles(ProfilesT &&value)
AWS_CUSTOMERPROFILES_API GetSegmentMembershipResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue