7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/customer-profiles/model/ProfileQueryResult.h>
11#include <aws/customer-profiles/model/ProfileQueryFailures.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace CustomerProfiles
43 template<
typename SegmentDefinitionNameT = Aws::String>
44 void SetSegmentDefinitionName(SegmentDefinitionNameT&& value) { m_segmentDefinitionNameHasBeenSet =
true; m_segmentDefinitionName = std::forward<SegmentDefinitionNameT>(value); }
45 template<
typename SegmentDefinitionNameT = Aws::String>
54 template<
typename ProfilesT = Aws::Vector<ProfileQueryResult>>
55 void SetProfiles(ProfilesT&& value) { m_profilesHasBeenSet =
true; m_profiles = std::forward<ProfilesT>(value); }
56 template<
typename ProfilesT = Aws::Vector<ProfileQueryResult>>
58 template<
typename ProfilesT = ProfileQueryResult>
68 template<
typename FailuresT = Aws::Vector<ProfileQueryFailures>>
69 void SetFailures(FailuresT&& value) { m_failuresHasBeenSet =
true; m_failures = std::forward<FailuresT>(value); }
70 template<
typename FailuresT = Aws::Vector<ProfileQueryFailures>>
72 template<
typename FailuresT = ProfileQueryFailures>
79 template<
typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
81 template<
typename RequestIdT = Aws::String>
87 bool m_segmentDefinitionNameHasBeenSet =
false;
90 bool m_profilesHasBeenSet =
false;
93 bool m_failuresHasBeenSet =
false;
96 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)
GetSegmentMembershipResult & AddFailures(FailuresT &&value)
const Aws::Vector< ProfileQueryResult > & GetProfiles() const
const Aws::String & GetRequestId() const
void SetSegmentDefinitionName(SegmentDefinitionNameT &&value)
GetSegmentMembershipResult & WithRequestId(RequestIdT &&value)
void SetRequestId(RequestIdT &&value)
AWS_CUSTOMERPROFILES_API GetSegmentMembershipResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFailures(FailuresT &&value)
GetSegmentMembershipResult & WithSegmentDefinitionName(SegmentDefinitionNameT &&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