/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result structure for the list backend environments result.
* See Also:
AWS
* API Reference
The list of backend environments for an Amplify app.
*/ inline const Aws::VectorThe list of backend environments for an Amplify app.
*/ inline void SetBackendEnvironments(const Aws::VectorThe list of backend environments for an Amplify app.
*/ inline void SetBackendEnvironments(Aws::VectorThe list of backend environments for an Amplify app.
*/ inline ListBackendEnvironmentsResult& WithBackendEnvironments(const Aws::VectorThe list of backend environments for an Amplify app.
*/ inline ListBackendEnvironmentsResult& WithBackendEnvironments(Aws::VectorThe list of backend environments for an Amplify app.
*/ inline ListBackendEnvironmentsResult& AddBackendEnvironments(const BackendEnvironment& value) { m_backendEnvironments.push_back(value); return *this; } /** *The list of backend environments for an Amplify app.
*/ inline ListBackendEnvironmentsResult& AddBackendEnvironments(BackendEnvironment&& value) { m_backendEnvironments.push_back(std::move(value)); return *this; } /** *A pagination token. If a non-null pagination token is returned in a result, * pass its value in another request to retrieve more entries.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *A pagination token. If a non-null pagination token is returned in a result, * pass its value in another request to retrieve more entries.
*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *A pagination token. If a non-null pagination token is returned in a result, * pass its value in another request to retrieve more entries.
*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *A pagination token. If a non-null pagination token is returned in a result, * pass its value in another request to retrieve more entries.
*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *A pagination token. If a non-null pagination token is returned in a result, * pass its value in another request to retrieve more entries.
*/ inline ListBackendEnvironmentsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *A pagination token. If a non-null pagination token is returned in a result, * pass its value in another request to retrieve more entries.
*/ inline ListBackendEnvironmentsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *A pagination token. If a non-null pagination token is returned in a result, * pass its value in another request to retrieve more entries.
*/ inline ListBackendEnvironmentsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListBackendEnvironmentsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListBackendEnvironmentsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListBackendEnvironmentsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector