/** * 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 ListStreamingSessionBackupsRequest : public NimbleStudioRequest { public: AWS_NIMBLESTUDIO_API ListStreamingSessionBackupsRequest(); // 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 "ListStreamingSessionBackups"; } AWS_NIMBLESTUDIO_API Aws::String SerializePayload() const override; AWS_NIMBLESTUDIO_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

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

The user ID of the user that owns the streaming session.

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

The user ID of the user that owns the streaming session.

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

The user ID of the user that owns the streaming session.

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

The user ID of the user that owns the streaming session.

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

The user ID of the user that owns the streaming session.

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

The user ID of the user that owns the streaming session.

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

The user ID of the user that owns the streaming session.

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

The user ID of the user that owns the streaming session.

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

The studio ID.

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

The studio ID.

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