/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The request body for ListBackendJobs.See Also:
AWS
* API Reference
The app ID.
*/ inline const Aws::String& GetAppId() const{ return m_appId; } /** *The app ID.
*/ inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; } /** *The app ID.
*/ inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; } /** *The app ID.
*/ inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); } /** *The app ID.
*/ inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); } /** *The app ID.
*/ inline ListBackendJobsRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;} /** *The app ID.
*/ inline ListBackendJobsRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;} /** *The app ID.
*/ inline ListBackendJobsRequest& WithAppId(const char* value) { SetAppId(value); return *this;} /** *The name of the backend environment.
*/ inline const Aws::String& GetBackendEnvironmentName() const{ return m_backendEnvironmentName; } /** *The name of the backend environment.
*/ inline bool BackendEnvironmentNameHasBeenSet() const { return m_backendEnvironmentNameHasBeenSet; } /** *The name of the backend environment.
*/ inline void SetBackendEnvironmentName(const Aws::String& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = value; } /** *The name of the backend environment.
*/ inline void SetBackendEnvironmentName(Aws::String&& value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName = std::move(value); } /** *The name of the backend environment.
*/ inline void SetBackendEnvironmentName(const char* value) { m_backendEnvironmentNameHasBeenSet = true; m_backendEnvironmentName.assign(value); } /** *The name of the backend environment.
*/ inline ListBackendJobsRequest& WithBackendEnvironmentName(const Aws::String& value) { SetBackendEnvironmentName(value); return *this;} /** *The name of the backend environment.
*/ inline ListBackendJobsRequest& WithBackendEnvironmentName(Aws::String&& value) { SetBackendEnvironmentName(std::move(value)); return *this;} /** *The name of the backend environment.
*/ inline ListBackendJobsRequest& WithBackendEnvironmentName(const char* value) { SetBackendEnvironmentName(value); return *this;} /** *The ID for the job.
*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *The ID for the job.
*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *The ID for the job.
*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *The ID for the job.
*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *The ID for the job.
*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *The ID for the job.
*/ inline ListBackendJobsRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *The ID for the job.
*/ inline ListBackendJobsRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *The ID for the job.
*/ inline ListBackendJobsRequest& WithJobId(const char* value) { SetJobId(value); return *this;} /** *The maximum number of results that you want in the response.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *The maximum number of results that you want in the response.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *The maximum number of results that you want in the response.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *The maximum number of results that you want in the response.
*/ inline ListBackendJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *The token for the next set of results.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *The token for the next set of results.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *The token for the next set of results.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *The token for the next set of results.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *The token for the next set of results.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *The token for the next set of results.
*/ inline ListBackendJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *The token for the next set of results.
*/ inline ListBackendJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *The token for the next set of results.
*/ inline ListBackendJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *Filters the list of response objects to include only those with the specified * operation name.
*/ inline const Aws::String& GetOperation() const{ return m_operation; } /** *Filters the list of response objects to include only those with the specified * operation name.
*/ inline bool OperationHasBeenSet() const { return m_operationHasBeenSet; } /** *Filters the list of response objects to include only those with the specified * operation name.
*/ inline void SetOperation(const Aws::String& value) { m_operationHasBeenSet = true; m_operation = value; } /** *Filters the list of response objects to include only those with the specified * operation name.
*/ inline void SetOperation(Aws::String&& value) { m_operationHasBeenSet = true; m_operation = std::move(value); } /** *Filters the list of response objects to include only those with the specified * operation name.
*/ inline void SetOperation(const char* value) { m_operationHasBeenSet = true; m_operation.assign(value); } /** *Filters the list of response objects to include only those with the specified * operation name.
*/ inline ListBackendJobsRequest& WithOperation(const Aws::String& value) { SetOperation(value); return *this;} /** *Filters the list of response objects to include only those with the specified * operation name.
*/ inline ListBackendJobsRequest& WithOperation(Aws::String&& value) { SetOperation(std::move(value)); return *this;} /** *Filters the list of response objects to include only those with the specified * operation name.
*/ inline ListBackendJobsRequest& WithOperation(const char* value) { SetOperation(value); return *this;} /** *Filters the list of response objects to include only those with the specified * status.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *Filters the list of response objects to include only those with the specified * status.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Filters the list of response objects to include only those with the specified * status.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *Filters the list of response objects to include only those with the specified * status.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Filters the list of response objects to include only those with the specified * status.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *Filters the list of response objects to include only those with the specified * status.
*/ inline ListBackendJobsRequest& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *Filters the list of response objects to include only those with the specified * status.
*/ inline ListBackendJobsRequest& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *Filters the list of response objects to include only those with the specified * status.
*/ inline ListBackendJobsRequest& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_appId; bool m_appIdHasBeenSet = false; Aws::String m_backendEnvironmentName; bool m_backendEnvironmentNameHasBeenSet = false; Aws::String m_jobId; bool m_jobIdHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_operation; bool m_operationHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace AmplifyBackend } // namespace Aws