AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
BatchGetProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/customer-profiles/CustomerProfilesRequest.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CustomerProfiles {
16namespace Model {
17
21 public:
22 AWS_CUSTOMERPROFILES_API BatchGetProfileRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchGetProfile"; }
29
30 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDomainName() const { return m_domainName; }
37 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
38 template <typename DomainNameT = Aws::String>
39 void SetDomainName(DomainNameT&& value) {
40 m_domainNameHasBeenSet = true;
41 m_domainName = std::forward<DomainNameT>(value);
42 }
43 template <typename DomainNameT = Aws::String>
44 BatchGetProfileRequest& WithDomainName(DomainNameT&& value) {
45 SetDomainName(std::forward<DomainNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Vector<Aws::String>& GetProfileIds() const { return m_profileIds; }
55 inline bool ProfileIdsHasBeenSet() const { return m_profileIdsHasBeenSet; }
56 template <typename ProfileIdsT = Aws::Vector<Aws::String>>
57 void SetProfileIds(ProfileIdsT&& value) {
58 m_profileIdsHasBeenSet = true;
59 m_profileIds = std::forward<ProfileIdsT>(value);
60 }
61 template <typename ProfileIdsT = Aws::Vector<Aws::String>>
62 BatchGetProfileRequest& WithProfileIds(ProfileIdsT&& value) {
63 SetProfileIds(std::forward<ProfileIdsT>(value));
64 return *this;
65 }
66 template <typename ProfileIdsT = Aws::String>
67 BatchGetProfileRequest& AddProfileIds(ProfileIdsT&& value) {
68 m_profileIdsHasBeenSet = true;
69 m_profileIds.emplace_back(std::forward<ProfileIdsT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_domainName;
75
76 Aws::Vector<Aws::String> m_profileIds;
77 bool m_domainNameHasBeenSet = false;
78 bool m_profileIdsHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CustomerProfiles
83} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
AWS_CUSTOMERPROFILES_API BatchGetProfileRequest()=default
const Aws::Vector< Aws::String > & GetProfileIds() const
BatchGetProfileRequest & AddProfileIds(ProfileIdsT &&value)
BatchGetProfileRequest & WithDomainName(DomainNameT &&value)
BatchGetProfileRequest & WithProfileIds(ProfileIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector