AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
49 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
50 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
51 inline ListProfileObjectsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
52 inline ListProfileObjectsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
53 inline ListProfileObjectsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
55
57
60 inline int GetMaxResults() const{ return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 inline ListProfileObjectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
70 inline const Aws::String& GetDomainName() const{ return m_domainName; }
71 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
72 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
73 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
74 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
75 inline ListProfileObjectsRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
76 inline ListProfileObjectsRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
77 inline ListProfileObjectsRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
79
81
84 inline const Aws::String& GetObjectTypeName() const{ return m_objectTypeName; }
85 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
86 inline void SetObjectTypeName(const Aws::String& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = value; }
87 inline void SetObjectTypeName(Aws::String&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::move(value); }
88 inline void SetObjectTypeName(const char* value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName.assign(value); }
89 inline ListProfileObjectsRequest& WithObjectTypeName(const Aws::String& value) { SetObjectTypeName(value); return *this;}
90 inline ListProfileObjectsRequest& WithObjectTypeName(Aws::String&& value) { SetObjectTypeName(std::move(value)); return *this;}
91 inline ListProfileObjectsRequest& WithObjectTypeName(const char* value) { SetObjectTypeName(value); return *this;}
93
95
98 inline const Aws::String& GetProfileId() const{ return m_profileId; }
99 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
100 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
101 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
102 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
103 inline ListProfileObjectsRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
104 inline ListProfileObjectsRequest& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
105 inline ListProfileObjectsRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;}
107
109
113 inline const ObjectFilter& GetObjectFilter() const{ return m_objectFilter; }
114 inline bool ObjectFilterHasBeenSet() const { return m_objectFilterHasBeenSet; }
115 inline void SetObjectFilter(const ObjectFilter& value) { m_objectFilterHasBeenSet = true; m_objectFilter = value; }
116 inline void SetObjectFilter(ObjectFilter&& value) { m_objectFilterHasBeenSet = true; m_objectFilter = std::move(value); }
117 inline ListProfileObjectsRequest& WithObjectFilter(const ObjectFilter& value) { SetObjectFilter(value); return *this;}
118 inline ListProfileObjectsRequest& WithObjectFilter(ObjectFilter&& value) { SetObjectFilter(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_nextToken;
123 bool m_nextTokenHasBeenSet = false;
124
125 int m_maxResults;
126 bool m_maxResultsHasBeenSet = false;
127
128 Aws::String m_domainName;
129 bool m_domainNameHasBeenSet = false;
130
131 Aws::String m_objectTypeName;
132 bool m_objectTypeNameHasBeenSet = false;
133
134 Aws::String m_profileId;
135 bool m_profileIdHasBeenSet = false;
136
137 ObjectFilter m_objectFilter;
138 bool m_objectFilterHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace CustomerProfiles
143} // namespace Aws
ListProfileObjectsRequest & WithObjectTypeName(const char *value)
ListProfileObjectsRequest & WithNextToken(const char *value)
ListProfileObjectsRequest & WithNextToken(const Aws::String &value)
ListProfileObjectsRequest & WithProfileId(const Aws::String &value)
ListProfileObjectsRequest & WithDomainName(const Aws::String &value)
ListProfileObjectsRequest & WithObjectTypeName(Aws::String &&value)
ListProfileObjectsRequest & WithObjectTypeName(const Aws::String &value)
ListProfileObjectsRequest & WithNextToken(Aws::String &&value)
ListProfileObjectsRequest & WithObjectFilter(const ObjectFilter &value)
AWS_CUSTOMERPROFILES_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListProfileObjectsRequest & WithProfileId(const char *value)
ListProfileObjectsRequest & WithDomainName(const char *value)
ListProfileObjectsRequest & WithProfileId(Aws::String &&value)
ListProfileObjectsRequest & WithDomainName(Aws::String &&value)
ListProfileObjectsRequest & WithObjectFilter(ObjectFilter &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String