AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListProfileObjectsRequest.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/customer-profiles/model/ObjectFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CustomerProfiles
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CUSTOMERPROFILES_API ListProfileObjectsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListProfileObjects"; }
36
37 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
38
39 AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetNextToken() const { return m_nextToken; }
47 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
48 template<typename NextTokenT = Aws::String>
49 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
50 template<typename NextTokenT = Aws::String>
51 ListProfileObjectsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
53
55
58 inline int GetMaxResults() const { return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61 inline ListProfileObjectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63
65
68 inline const Aws::String& GetDomainName() const { return m_domainName; }
69 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
70 template<typename DomainNameT = Aws::String>
71 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
72 template<typename DomainNameT = Aws::String>
73 ListProfileObjectsRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
75
77
80 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
81 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
82 template<typename ObjectTypeNameT = Aws::String>
83 void SetObjectTypeName(ObjectTypeNameT&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::forward<ObjectTypeNameT>(value); }
84 template<typename ObjectTypeNameT = Aws::String>
85 ListProfileObjectsRequest& WithObjectTypeName(ObjectTypeNameT&& value) { SetObjectTypeName(std::forward<ObjectTypeNameT>(value)); return *this;}
87
89
92 inline const Aws::String& GetProfileId() const { return m_profileId; }
93 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
94 template<typename ProfileIdT = Aws::String>
95 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
96 template<typename ProfileIdT = Aws::String>
97 ListProfileObjectsRequest& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
99
101
105 inline const ObjectFilter& GetObjectFilter() const { return m_objectFilter; }
106 inline bool ObjectFilterHasBeenSet() const { return m_objectFilterHasBeenSet; }
107 template<typename ObjectFilterT = ObjectFilter>
108 void SetObjectFilter(ObjectFilterT&& value) { m_objectFilterHasBeenSet = true; m_objectFilter = std::forward<ObjectFilterT>(value); }
109 template<typename ObjectFilterT = ObjectFilter>
110 ListProfileObjectsRequest& WithObjectFilter(ObjectFilterT&& value) { SetObjectFilter(std::forward<ObjectFilterT>(value)); return *this;}
112 private:
113
114 Aws::String m_nextToken;
115 bool m_nextTokenHasBeenSet = false;
116
117 int m_maxResults{0};
118 bool m_maxResultsHasBeenSet = false;
119
120 Aws::String m_domainName;
121 bool m_domainNameHasBeenSet = false;
122
123 Aws::String m_objectTypeName;
124 bool m_objectTypeNameHasBeenSet = false;
125
126 Aws::String m_profileId;
127 bool m_profileIdHasBeenSet = false;
128
129 ObjectFilter m_objectFilter;
130 bool m_objectFilterHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace CustomerProfiles
135} // namespace Aws
ListProfileObjectsRequest & WithProfileId(ProfileIdT &&value)
ListProfileObjectsRequest & WithDomainName(DomainNameT &&value)
ListProfileObjectsRequest & WithObjectTypeName(ObjectTypeNameT &&value)
AWS_CUSTOMERPROFILES_API ListProfileObjectsRequest()=default
AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProfileObjectsRequest & WithNextToken(NextTokenT &&value)
ListProfileObjectsRequest & WithObjectFilter(ObjectFilterT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String