/** * 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 Http { class URI; } //namespace Http namespace NimbleStudio { namespace Model { /** */ class ListStreamingSessionsRequest : public NimbleStudioRequest { public: AWS_NIMBLESTUDIO_API ListStreamingSessionsRequest(); // 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 "ListStreamingSessions"; } AWS_NIMBLESTUDIO_API Aws::String SerializePayload() const override; AWS_NIMBLESTUDIO_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

Filters the request to streaming sessions created by the given user.

*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *

Filters the request to streaming sessions created by the given user.

*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *

Filters the request to streaming sessions created by the given user.

*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *

Filters the request to streaming sessions created by the given user.

*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *

Filters the request to streaming sessions created by the given user.

*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *

Filters the request to streaming sessions created by the given user.

*/ inline ListStreamingSessionsRequest& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *

Filters the request to streaming sessions created by the given user.

*/ inline ListStreamingSessionsRequest& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *

Filters the request to streaming sessions created by the given user.

*/ inline ListStreamingSessionsRequest& WithCreatedBy(const char* value) { SetCreatedBy(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 ListStreamingSessionsRequest& 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 ListStreamingSessionsRequest& 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 ListStreamingSessionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Filters the request to streaming session owned by the given user

*/ inline const Aws::String& GetOwnedBy() const{ return m_ownedBy; } /** *

Filters the request to streaming session owned by the given user

*/ inline bool OwnedByHasBeenSet() const { return m_ownedByHasBeenSet; } /** *

Filters the request to streaming session owned by the given user

*/ inline void SetOwnedBy(const Aws::String& value) { m_ownedByHasBeenSet = true; m_ownedBy = value; } /** *

Filters the request to streaming session owned by the given user

*/ inline void SetOwnedBy(Aws::String&& value) { m_ownedByHasBeenSet = true; m_ownedBy = std::move(value); } /** *

Filters the request to streaming session owned by the given user

*/ inline void SetOwnedBy(const char* value) { m_ownedByHasBeenSet = true; m_ownedBy.assign(value); } /** *

Filters the request to streaming session owned by the given user

*/ inline ListStreamingSessionsRequest& WithOwnedBy(const Aws::String& value) { SetOwnedBy(value); return *this;} /** *

Filters the request to streaming session owned by the given user

*/ inline ListStreamingSessionsRequest& WithOwnedBy(Aws::String&& value) { SetOwnedBy(std::move(value)); return *this;} /** *

Filters the request to streaming session owned by the given user

*/ inline ListStreamingSessionsRequest& WithOwnedBy(const char* value) { SetOwnedBy(value); return *this;} /** *

Filters the request to only the provided session IDs.

*/ inline const Aws::String& GetSessionIds() const{ return m_sessionIds; } /** *

Filters the request to only the provided session IDs.

*/ inline bool SessionIdsHasBeenSet() const { return m_sessionIdsHasBeenSet; } /** *

Filters the request to only the provided session IDs.

*/ inline void SetSessionIds(const Aws::String& value) { m_sessionIdsHasBeenSet = true; m_sessionIds = value; } /** *

Filters the request to only the provided session IDs.

*/ inline void SetSessionIds(Aws::String&& value) { m_sessionIdsHasBeenSet = true; m_sessionIds = std::move(value); } /** *

Filters the request to only the provided session IDs.

*/ inline void SetSessionIds(const char* value) { m_sessionIdsHasBeenSet = true; m_sessionIds.assign(value); } /** *

Filters the request to only the provided session IDs.

*/ inline ListStreamingSessionsRequest& WithSessionIds(const Aws::String& value) { SetSessionIds(value); return *this;} /** *

Filters the request to only the provided session IDs.

*/ inline ListStreamingSessionsRequest& WithSessionIds(Aws::String&& value) { SetSessionIds(std::move(value)); return *this;} /** *

Filters the request to only the provided session IDs.

*/ inline ListStreamingSessionsRequest& WithSessionIds(const char* value) { SetSessionIds(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 ListStreamingSessionsRequest& WithStudioId(const Aws::String& value) { SetStudioId(value); return *this;} /** *

The studio ID.

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

The studio ID.

*/ inline ListStreamingSessionsRequest& WithStudioId(const char* value) { SetStudioId(value); return *this;} private: Aws::String m_createdBy; bool m_createdByHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_ownedBy; bool m_ownedByHasBeenSet = false; Aws::String m_sessionIds; bool m_sessionIdsHasBeenSet = false; Aws::String m_studioId; bool m_studioIdHasBeenSet = false; }; } // namespace Model } // namespace NimbleStudio } // namespace Aws