/** * 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 BatchGetStreamKeyRequest : public IVSRequest { public: AWS_IVS_API BatchGetStreamKeyRequest(); // 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 "BatchGetStreamKey"; } AWS_IVS_API Aws::String SerializePayload() const override; /** *

Array of ARNs, one per stream key.

*/ inline const Aws::Vector& GetArns() const{ return m_arns; } /** *

Array of ARNs, one per stream key.

*/ inline bool ArnsHasBeenSet() const { return m_arnsHasBeenSet; } /** *

Array of ARNs, one per stream key.

*/ inline void SetArns(const Aws::Vector& value) { m_arnsHasBeenSet = true; m_arns = value; } /** *

Array of ARNs, one per stream key.

*/ inline void SetArns(Aws::Vector&& value) { m_arnsHasBeenSet = true; m_arns = std::move(value); } /** *

Array of ARNs, one per stream key.

*/ inline BatchGetStreamKeyRequest& WithArns(const Aws::Vector& value) { SetArns(value); return *this;} /** *

Array of ARNs, one per stream key.

*/ inline BatchGetStreamKeyRequest& WithArns(Aws::Vector&& value) { SetArns(std::move(value)); return *this;} /** *

Array of ARNs, one per stream key.

*/ inline BatchGetStreamKeyRequest& AddArns(const Aws::String& value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; } /** *

Array of ARNs, one per stream key.

*/ inline BatchGetStreamKeyRequest& AddArns(Aws::String&& value) { m_arnsHasBeenSet = true; m_arns.push_back(std::move(value)); return *this; } /** *

Array of ARNs, one per stream key.

*/ inline BatchGetStreamKeyRequest& AddArns(const char* value) { m_arnsHasBeenSet = true; m_arns.push_back(value); return *this; } private: Aws::Vector m_arns; bool m_arnsHasBeenSet = false; }; } // namespace Model } // namespace IVS } // namespace Aws