/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Pinpoint { namespace Model { /** *

Provides information about all of your applications.

See Also:

* AWS * API Reference

*/ class ApplicationsResponse { public: AWS_PINPOINT_API ApplicationsResponse(); AWS_PINPOINT_API ApplicationsResponse(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API ApplicationsResponse& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

An array of responses, one for each application that was returned.

*/ inline const Aws::Vector& GetItem() const{ return m_item; } /** *

An array of responses, one for each application that was returned.

*/ inline bool ItemHasBeenSet() const { return m_itemHasBeenSet; } /** *

An array of responses, one for each application that was returned.

*/ inline void SetItem(const Aws::Vector& value) { m_itemHasBeenSet = true; m_item = value; } /** *

An array of responses, one for each application that was returned.

*/ inline void SetItem(Aws::Vector&& value) { m_itemHasBeenSet = true; m_item = std::move(value); } /** *

An array of responses, one for each application that was returned.

*/ inline ApplicationsResponse& WithItem(const Aws::Vector& value) { SetItem(value); return *this;} /** *

An array of responses, one for each application that was returned.

*/ inline ApplicationsResponse& WithItem(Aws::Vector&& value) { SetItem(std::move(value)); return *this;} /** *

An array of responses, one for each application that was returned.

*/ inline ApplicationsResponse& AddItem(const ApplicationResponse& value) { m_itemHasBeenSet = true; m_item.push_back(value); return *this; } /** *

An array of responses, one for each application that was returned.

*/ inline ApplicationsResponse& AddItem(ApplicationResponse&& value) { m_itemHasBeenSet = true; m_item.push_back(std::move(value)); return *this; } /** *

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

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

The string to use in a subsequent request to get the next page of results in * a paginated response. This value is null if there are no additional pages.

*/ inline ApplicationsResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_item; bool m_itemHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace Pinpoint } // namespace Aws