/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace IVS { namespace Model { /** */ class BatchStartViewerSessionRevocationRequest : public IVSRequest { public: AWS_IVS_API BatchStartViewerSessionRevocationRequest(); // 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 "BatchStartViewerSessionRevocation"; } AWS_IVS_API Aws::String SerializePayload() const override; /** *

Array of viewer sessions, one per channel-ARN and viewer-ID pair.

*/ inline const Aws::Vector& GetViewerSessions() const{ return m_viewerSessions; } /** *

Array of viewer sessions, one per channel-ARN and viewer-ID pair.

*/ inline bool ViewerSessionsHasBeenSet() const { return m_viewerSessionsHasBeenSet; } /** *

Array of viewer sessions, one per channel-ARN and viewer-ID pair.

*/ inline void SetViewerSessions(const Aws::Vector& value) { m_viewerSessionsHasBeenSet = true; m_viewerSessions = value; } /** *

Array of viewer sessions, one per channel-ARN and viewer-ID pair.

*/ inline void SetViewerSessions(Aws::Vector&& value) { m_viewerSessionsHasBeenSet = true; m_viewerSessions = std::move(value); } /** *

Array of viewer sessions, one per channel-ARN and viewer-ID pair.

*/ inline BatchStartViewerSessionRevocationRequest& WithViewerSessions(const Aws::Vector& value) { SetViewerSessions(value); return *this;} /** *

Array of viewer sessions, one per channel-ARN and viewer-ID pair.

*/ inline BatchStartViewerSessionRevocationRequest& WithViewerSessions(Aws::Vector&& value) { SetViewerSessions(std::move(value)); return *this;} /** *

Array of viewer sessions, one per channel-ARN and viewer-ID pair.

*/ inline BatchStartViewerSessionRevocationRequest& AddViewerSessions(const BatchStartViewerSessionRevocationViewerSession& value) { m_viewerSessionsHasBeenSet = true; m_viewerSessions.push_back(value); return *this; } /** *

Array of viewer sessions, one per channel-ARN and viewer-ID pair.

*/ inline BatchStartViewerSessionRevocationRequest& AddViewerSessions(BatchStartViewerSessionRevocationViewerSession&& value) { m_viewerSessionsHasBeenSet = true; m_viewerSessions.push_back(std::move(value)); return *this; } private: Aws::Vector m_viewerSessions; bool m_viewerSessionsHasBeenSet = false; }; } // namespace Model } // namespace IVS } // namespace Aws