/** * 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 Polly { namespace Model { /** */ class ListLexiconsRequest : public PollyRequest { public: AWS_POLLY_API ListLexiconsRequest(); // 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 "ListLexicons"; } AWS_POLLY_API Aws::String SerializePayload() const override; AWS_POLLY_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

An opaque pagination token returned from previous ListLexicons * operation. If present, indicates where to continue the list of lexicons.

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

An opaque pagination token returned from previous ListLexicons * operation. If present, indicates where to continue the list of lexicons.

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

An opaque pagination token returned from previous ListLexicons * operation. If present, indicates where to continue the list of lexicons.

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

An opaque pagination token returned from previous ListLexicons * operation. If present, indicates where to continue the list of lexicons.

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

An opaque pagination token returned from previous ListLexicons * operation. If present, indicates where to continue the list of lexicons.

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

An opaque pagination token returned from previous ListLexicons * operation. If present, indicates where to continue the list of lexicons.

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

An opaque pagination token returned from previous ListLexicons * operation. If present, indicates where to continue the list of lexicons.

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

An opaque pagination token returned from previous ListLexicons * operation. If present, indicates where to continue the list of lexicons.

*/ inline ListLexiconsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace Polly } // namespace Aws