AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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