/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace NimbleStudio { namespace Model { /** */ class ListLaunchProfilesRequest : public NimbleStudioRequest { public: AWS_NIMBLESTUDIO_API ListLaunchProfilesRequest(); // 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 "ListLaunchProfiles"; } AWS_NIMBLESTUDIO_API Aws::String SerializePayload() const override; AWS_NIMBLESTUDIO_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The max number of results to return in the response.

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

The max number of results to return in the response.

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

The max number of results to return in the response.

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

The max number of results to return in the response.

*/ inline ListLaunchProfilesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The token for the next set of results, or null if there are no more * results.

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

The token for the next set of results, or null if there are no more * results.

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

The token for the next set of results, or null if there are no more * results.

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

The token for the next set of results, or null if there are no more * results.

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

The token for the next set of results, or null if there are no more * results.

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

The token for the next set of results, or null if there are no more * results.

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

The token for the next set of results, or null if there are no more * results.

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

The token for the next set of results, or null if there are no more * results.

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

The principal ID. This currently supports a IAM Identity Center UserId.

*/ inline const Aws::String& GetPrincipalId() const{ return m_principalId; } /** *

The principal ID. This currently supports a IAM Identity Center UserId.

*/ inline bool PrincipalIdHasBeenSet() const { return m_principalIdHasBeenSet; } /** *

The principal ID. This currently supports a IAM Identity Center UserId.

*/ inline void SetPrincipalId(const Aws::String& value) { m_principalIdHasBeenSet = true; m_principalId = value; } /** *

The principal ID. This currently supports a IAM Identity Center UserId.

*/ inline void SetPrincipalId(Aws::String&& value) { m_principalIdHasBeenSet = true; m_principalId = std::move(value); } /** *

The principal ID. This currently supports a IAM Identity Center UserId.

*/ inline void SetPrincipalId(const char* value) { m_principalIdHasBeenSet = true; m_principalId.assign(value); } /** *

The principal ID. This currently supports a IAM Identity Center UserId.

*/ inline ListLaunchProfilesRequest& WithPrincipalId(const Aws::String& value) { SetPrincipalId(value); return *this;} /** *

The principal ID. This currently supports a IAM Identity Center UserId.

*/ inline ListLaunchProfilesRequest& WithPrincipalId(Aws::String&& value) { SetPrincipalId(std::move(value)); return *this;} /** *

The principal ID. This currently supports a IAM Identity Center UserId.

*/ inline ListLaunchProfilesRequest& WithPrincipalId(const char* value) { SetPrincipalId(value); return *this;} /** *

Filter this request to launch profiles in any of the given states.

*/ inline const Aws::Vector& GetStates() const{ return m_states; } /** *

Filter this request to launch profiles in any of the given states.

*/ inline bool StatesHasBeenSet() const { return m_statesHasBeenSet; } /** *

Filter this request to launch profiles in any of the given states.

*/ inline void SetStates(const Aws::Vector& value) { m_statesHasBeenSet = true; m_states = value; } /** *

Filter this request to launch profiles in any of the given states.

*/ inline void SetStates(Aws::Vector&& value) { m_statesHasBeenSet = true; m_states = std::move(value); } /** *

Filter this request to launch profiles in any of the given states.

*/ inline ListLaunchProfilesRequest& WithStates(const Aws::Vector& value) { SetStates(value); return *this;} /** *

Filter this request to launch profiles in any of the given states.

*/ inline ListLaunchProfilesRequest& WithStates(Aws::Vector&& value) { SetStates(std::move(value)); return *this;} /** *

Filter this request to launch profiles in any of the given states.

*/ inline ListLaunchProfilesRequest& AddStates(const LaunchProfileState& value) { m_statesHasBeenSet = true; m_states.push_back(value); return *this; } /** *

Filter this request to launch profiles in any of the given states.

*/ inline ListLaunchProfilesRequest& AddStates(LaunchProfileState&& value) { m_statesHasBeenSet = true; m_states.push_back(std::move(value)); return *this; } /** *

The studio ID.

*/ inline const Aws::String& GetStudioId() const{ return m_studioId; } /** *

The studio ID.

*/ inline bool StudioIdHasBeenSet() const { return m_studioIdHasBeenSet; } /** *

The studio ID.

*/ inline void SetStudioId(const Aws::String& value) { m_studioIdHasBeenSet = true; m_studioId = value; } /** *

The studio ID.

*/ inline void SetStudioId(Aws::String&& value) { m_studioIdHasBeenSet = true; m_studioId = std::move(value); } /** *

The studio ID.

*/ inline void SetStudioId(const char* value) { m_studioIdHasBeenSet = true; m_studioId.assign(value); } /** *

The studio ID.

*/ inline ListLaunchProfilesRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;} /** *

The studio ID.

*/ inline ListLaunchProfilesRequest& WithStudioId(Aws::String&& value) { SetStudioId(std::move(value)); return *this;} /** *

The studio ID.

*/ inline ListLaunchProfilesRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;} private: int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_principalId; bool m_principalIdHasBeenSet = false; Aws::Vector m_states; bool m_statesHasBeenSet = false; Aws::String m_studioId; bool m_studioIdHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws