/** * 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 CodeStar { namespace Model { /** */ class ListTeamMembersRequest : public CodeStarRequest { public: AWS_CODESTAR_API ListTeamMembersRequest(); // 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 "ListTeamMembers"; } AWS_CODESTAR_API Aws::String SerializePayload() const override; AWS_CODESTAR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the project for which you want to list team members.

*/ inline const Aws::String& GetProjectId() const{ return m_projectId; } /** *

The ID of the project for which you want to list team members.

*/ inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; } /** *

The ID of the project for which you want to list team members.

*/ inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; } /** *

The ID of the project for which you want to list team members.

*/ inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); } /** *

The ID of the project for which you want to list team members.

*/ inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); } /** *

The ID of the project for which you want to list team members.

*/ inline ListTeamMembersRequest& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;} /** *

The ID of the project for which you want to list team members.

*/ inline ListTeamMembersRequest& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;} /** *

The ID of the project for which you want to list team members.

*/ inline ListTeamMembersRequest& WithProjectId(const char* value) { SetProjectId(value); return *this;} /** *

The continuation token for the next set of results, if the results cannot be * returned in one response.

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

The continuation token for the next set of results, if the results cannot be * returned in one response.

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

The continuation token for the next set of results, if the results cannot be * returned in one response.

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

The continuation token for the next set of results, if the results cannot be * returned in one response.

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

The continuation token for the next set of results, if the results cannot be * returned in one response.

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

The continuation token for the next set of results, if the results cannot be * returned in one response.

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

The continuation token for the next set of results, if the results cannot be * returned in one response.

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

The continuation token for the next set of results, if the results cannot be * returned in one response.

*/ inline ListTeamMembersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of team members you want returned in a response.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of team members you want returned in a response.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of team members you want returned in a response.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of team members you want returned in a response.

*/ inline ListTeamMembersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_projectId; bool m_projectIdHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace CodeStar } // namespace Aws