/** * 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 IVS { namespace Model { /** */ class ListChannelsRequest : public IVSRequest { public: AWS_IVS_API ListChannelsRequest(); // 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 "ListChannels"; } AWS_IVS_API Aws::String SerializePayload() const override; /** *

Filters the channel list to match the specified name.

*/ inline const Aws::String& GetFilterByName() const{ return m_filterByName; } /** *

Filters the channel list to match the specified name.

*/ inline bool FilterByNameHasBeenSet() const { return m_filterByNameHasBeenSet; } /** *

Filters the channel list to match the specified name.

*/ inline void SetFilterByName(const Aws::String& value) { m_filterByNameHasBeenSet = true; m_filterByName = value; } /** *

Filters the channel list to match the specified name.

*/ inline void SetFilterByName(Aws::String&& value) { m_filterByNameHasBeenSet = true; m_filterByName = std::move(value); } /** *

Filters the channel list to match the specified name.

*/ inline void SetFilterByName(const char* value) { m_filterByNameHasBeenSet = true; m_filterByName.assign(value); } /** *

Filters the channel list to match the specified name.

*/ inline ListChannelsRequest& WithFilterByName(const Aws::String& value) { SetFilterByName(value); return *this;} /** *

Filters the channel list to match the specified name.

*/ inline ListChannelsRequest& WithFilterByName(Aws::String&& value) { SetFilterByName(std::move(value)); return *this;} /** *

Filters the channel list to match the specified name.

*/ inline ListChannelsRequest& WithFilterByName(const char* value) { SetFilterByName(value); return *this;} /** *

Filters the channel list to match the specified recording-configuration * ARN.

*/ inline const Aws::String& GetFilterByRecordingConfigurationArn() const{ return m_filterByRecordingConfigurationArn; } /** *

Filters the channel list to match the specified recording-configuration * ARN.

*/ inline bool FilterByRecordingConfigurationArnHasBeenSet() const { return m_filterByRecordingConfigurationArnHasBeenSet; } /** *

Filters the channel list to match the specified recording-configuration * ARN.

*/ inline void SetFilterByRecordingConfigurationArn(const Aws::String& value) { m_filterByRecordingConfigurationArnHasBeenSet = true; m_filterByRecordingConfigurationArn = value; } /** *

Filters the channel list to match the specified recording-configuration * ARN.

*/ inline void SetFilterByRecordingConfigurationArn(Aws::String&& value) { m_filterByRecordingConfigurationArnHasBeenSet = true; m_filterByRecordingConfigurationArn = std::move(value); } /** *

Filters the channel list to match the specified recording-configuration * ARN.

*/ inline void SetFilterByRecordingConfigurationArn(const char* value) { m_filterByRecordingConfigurationArnHasBeenSet = true; m_filterByRecordingConfigurationArn.assign(value); } /** *

Filters the channel list to match the specified recording-configuration * ARN.

*/ inline ListChannelsRequest& WithFilterByRecordingConfigurationArn(const Aws::String& value) { SetFilterByRecordingConfigurationArn(value); return *this;} /** *

Filters the channel list to match the specified recording-configuration * ARN.

*/ inline ListChannelsRequest& WithFilterByRecordingConfigurationArn(Aws::String&& value) { SetFilterByRecordingConfigurationArn(std::move(value)); return *this;} /** *

Filters the channel list to match the specified recording-configuration * ARN.

*/ inline ListChannelsRequest& WithFilterByRecordingConfigurationArn(const char* value) { SetFilterByRecordingConfigurationArn(value); return *this;} /** *

Maximum number of channels to return. Default: 100.

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

Maximum number of channels to return. Default: 100.

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

Maximum number of channels to return. Default: 100.

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

Maximum number of channels to return. Default: 100.

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

The first channel to retrieve. This is used for pagination; see the * nextToken response field.

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

The first channel to retrieve. This is used for pagination; see the * nextToken response field.

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

The first channel to retrieve. This is used for pagination; see the * nextToken response field.

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

The first channel to retrieve. This is used for pagination; see the * nextToken response field.

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

The first channel to retrieve. This is used for pagination; see the * nextToken response field.

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

The first channel to retrieve. This is used for pagination; see the * nextToken response field.

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

The first channel to retrieve. This is used for pagination; see the * nextToken response field.

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

The first channel to retrieve. This is used for pagination; see the * nextToken response field.

*/ inline ListChannelsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_filterByName; bool m_filterByNameHasBeenSet = false; Aws::String m_filterByRecordingConfigurationArn; bool m_filterByRecordingConfigurationArnHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace IVS } // namespace Aws