/** * 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 MediaPackage { namespace Model { /** */ class RotateIngestEndpointCredentialsRequest : public MediaPackageRequest { public: AWS_MEDIAPACKAGE_API RotateIngestEndpointCredentialsRequest(); // 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 "RotateIngestEndpointCredentials"; } AWS_MEDIAPACKAGE_API Aws::String SerializePayload() const override; /** * The ID of the channel the IngestEndpoint is on. */ inline const Aws::String& GetId() const{ return m_id; } /** * The ID of the channel the IngestEndpoint is on. */ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** * The ID of the channel the IngestEndpoint is on. */ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** * The ID of the channel the IngestEndpoint is on. */ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** * The ID of the channel the IngestEndpoint is on. */ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** * The ID of the channel the IngestEndpoint is on. */ inline RotateIngestEndpointCredentialsRequest& WithId(const Aws::String& value) { SetId(value); return *this;} /** * The ID of the channel the IngestEndpoint is on. */ inline RotateIngestEndpointCredentialsRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** * The ID of the channel the IngestEndpoint is on. */ inline RotateIngestEndpointCredentialsRequest& WithId(const char* value) { SetId(value); return *this;} /** * The id of the IngestEndpoint whose credentials should be rotated */ inline const Aws::String& GetIngestEndpointId() const{ return m_ingestEndpointId; } /** * The id of the IngestEndpoint whose credentials should be rotated */ inline bool IngestEndpointIdHasBeenSet() const { return m_ingestEndpointIdHasBeenSet; } /** * The id of the IngestEndpoint whose credentials should be rotated */ inline void SetIngestEndpointId(const Aws::String& value) { m_ingestEndpointIdHasBeenSet = true; m_ingestEndpointId = value; } /** * The id of the IngestEndpoint whose credentials should be rotated */ inline void SetIngestEndpointId(Aws::String&& value) { m_ingestEndpointIdHasBeenSet = true; m_ingestEndpointId = std::move(value); } /** * The id of the IngestEndpoint whose credentials should be rotated */ inline void SetIngestEndpointId(const char* value) { m_ingestEndpointIdHasBeenSet = true; m_ingestEndpointId.assign(value); } /** * The id of the IngestEndpoint whose credentials should be rotated */ inline RotateIngestEndpointCredentialsRequest& WithIngestEndpointId(const Aws::String& value) { SetIngestEndpointId(value); return *this;} /** * The id of the IngestEndpoint whose credentials should be rotated */ inline RotateIngestEndpointCredentialsRequest& WithIngestEndpointId(Aws::String&& value) { SetIngestEndpointId(std::move(value)); return *this;} /** * The id of the IngestEndpoint whose credentials should be rotated */ inline RotateIngestEndpointCredentialsRequest& WithIngestEndpointId(const char* value) { SetIngestEndpointId(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_ingestEndpointId; bool m_ingestEndpointIdHasBeenSet = false; }; } // namespace Model } // namespace MediaPackage } // namespace Aws