/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace SESV2 { namespace Model { /** */ class ListContactListsRequest : public SESV2Request { public: AWS_SESV2_API ListContactListsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListContactLists"; } AWS_SESV2_API Aws::String SerializePayload() const override; AWS_SESV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

Maximum number of contact lists to return at once. Use this parameter to * paginate results. If additional contact lists exist beyond the specified limit, * the NextToken element is sent in the response. Use the * NextToken value in subsequent requests to retrieve additional * lists.

*/ inline int GetPageSize() const{ return m_pageSize; } /** *

Maximum number of contact lists to return at once. Use this parameter to * paginate results. If additional contact lists exist beyond the specified limit, * the NextToken element is sent in the response. Use the * NextToken value in subsequent requests to retrieve additional * lists.

*/ inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; } /** *

Maximum number of contact lists to return at once. Use this parameter to * paginate results. If additional contact lists exist beyond the specified limit, * the NextToken element is sent in the response. Use the * NextToken value in subsequent requests to retrieve additional * lists.

*/ inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; } /** *

Maximum number of contact lists to return at once. Use this parameter to * paginate results. If additional contact lists exist beyond the specified limit, * the NextToken element is sent in the response. Use the * NextToken value in subsequent requests to retrieve additional * lists.

*/ inline ListContactListsRequest& WithPageSize(int value) { SetPageSize(value); return *this;} /** *

A string token indicating that there might be additional contact lists * available to be listed. Use the token provided in the Response to use in the * subsequent call to ListContactLists with the same parameters to retrieve the * next page of contact lists.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A string token indicating that there might be additional contact lists * available to be listed. Use the token provided in the Response to use in the * subsequent call to ListContactLists with the same parameters to retrieve the * next page of contact lists.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

A string token indicating that there might be additional contact lists * available to be listed. Use the token provided in the Response to use in the * subsequent call to ListContactLists with the same parameters to retrieve the * next page of contact lists.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

A string token indicating that there might be additional contact lists * available to be listed. Use the token provided in the Response to use in the * subsequent call to ListContactLists with the same parameters to retrieve the * next page of contact lists.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

A string token indicating that there might be additional contact lists * available to be listed. Use the token provided in the Response to use in the * subsequent call to ListContactLists with the same parameters to retrieve the * next page of contact lists.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

A string token indicating that there might be additional contact lists * available to be listed. Use the token provided in the Response to use in the * subsequent call to ListContactLists with the same parameters to retrieve the * next page of contact lists.

*/ inline ListContactListsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A string token indicating that there might be additional contact lists * available to be listed. Use the token provided in the Response to use in the * subsequent call to ListContactLists with the same parameters to retrieve the * next page of contact lists.

*/ inline ListContactListsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A string token indicating that there might be additional contact lists * available to be listed. Use the token provided in the Response to use in the * subsequent call to ListContactLists with the same parameters to retrieve the * next page of contact lists.

*/ inline ListContactListsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: int m_pageSize; bool m_pageSizeHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace SESV2 } // namespace Aws