AWS SDK for C++  1.9.109
AWS SDK for C++
ListAccountIntegrationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace CustomerProfiles
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "ListAccountIntegrations"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetUri() const{ return m_uri; }
45 
49  inline bool UriHasBeenSet() const { return m_uriHasBeenSet; }
50 
54  inline void SetUri(const Aws::String& value) { m_uriHasBeenSet = true; m_uri = value; }
55 
59  inline void SetUri(Aws::String&& value) { m_uriHasBeenSet = true; m_uri = std::move(value); }
60 
64  inline void SetUri(const char* value) { m_uriHasBeenSet = true; m_uri.assign(value); }
65 
69  inline ListAccountIntegrationsRequest& WithUri(const Aws::String& value) { SetUri(value); return *this;}
70 
74  inline ListAccountIntegrationsRequest& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
75 
79  inline ListAccountIntegrationsRequest& WithUri(const char* value) { SetUri(value); return *this;}
80 
81 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
90  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 
95  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 
100  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
101 
105  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
106 
110  inline ListAccountIntegrationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
111 
115  inline ListAccountIntegrationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
116 
120  inline ListAccountIntegrationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
121 
122 
126  inline int GetMaxResults() const{ return m_maxResults; }
127 
131  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
132 
136  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
137 
141  inline ListAccountIntegrationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
142 
143  private:
144 
145  Aws::String m_uri;
146  bool m_uriHasBeenSet;
147 
148  Aws::String m_nextToken;
149  bool m_nextTokenHasBeenSet;
150 
151  int m_maxResults;
152  bool m_maxResultsHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace CustomerProfiles
157 } // namespace Aws
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::WithUri
ListAccountIntegrationsRequest & WithUri(const Aws::String &value)
Definition: ListAccountIntegrationsRequest.h:69
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::WithNextToken
ListAccountIntegrationsRequest & WithNextToken(const char *value)
Definition: ListAccountIntegrationsRequest.h:120
Aws::Http::URI
Definition: URI.h:32
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListAccountIntegrationsRequest.h:136
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::WithNextToken
ListAccountIntegrationsRequest & WithNextToken(Aws::String &&value)
Definition: ListAccountIntegrationsRequest.h:115
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::SetUri
void SetUri(Aws::String &&value)
Definition: ListAccountIntegrationsRequest.h:59
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListAccountIntegrationsRequest.h:105
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListAccountIntegrationsRequest.h:131
AWS_CUSTOMERPROFILES_API
#define AWS_CUSTOMERPROFILES_API
Definition: CustomerProfiles_EXPORTS.h:28
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAccountIntegrationsRequest.h:95
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::WithMaxResults
ListAccountIntegrationsRequest & WithMaxResults(int value)
Definition: ListAccountIntegrationsRequest.h:141
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::ListAccountIntegrationsRequest
ListAccountIntegrationsRequest()
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListAccountIntegrationsRequest.h:126
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListAccountIntegrationsRequest.h:34
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::SetUri
void SetUri(const char *value)
Definition: ListAccountIntegrationsRequest.h:64
CustomerProfiles_EXPORTS.h
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAccountIntegrationsRequest.h:85
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::WithNextToken
ListAccountIntegrationsRequest & WithNextToken(const Aws::String &value)
Definition: ListAccountIntegrationsRequest.h:110
Aws::CustomerProfiles::CustomerProfilesRequest
Definition: CustomerProfilesRequest.h:17
AWSString.h
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::WithUri
ListAccountIntegrationsRequest & WithUri(const char *value)
Definition: ListAccountIntegrationsRequest.h:79
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest
Definition: ListAccountIntegrationsRequest.h:26
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::UriHasBeenSet
bool UriHasBeenSet() const
Definition: ListAccountIntegrationsRequest.h:49
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::GetUri
const Aws::String & GetUri() const
Definition: ListAccountIntegrationsRequest.h:44
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::SetUri
void SetUri(const Aws::String &value)
Definition: ListAccountIntegrationsRequest.h:54
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListAccountIntegrationsRequest.h:90
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::WithUri
ListAccountIntegrationsRequest & WithUri(Aws::String &&value)
Definition: ListAccountIntegrationsRequest.h:74
CustomerProfilesRequest.h
Aws::CustomerProfiles::Model::ListAccountIntegrationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAccountIntegrationsRequest.h:100