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

Playback-key-pair name. The value does not need to be unique.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

Playback-key-pair name. The value does not need to be unique.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

Playback-key-pair name. The value does not need to be unique.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

Playback-key-pair name. The value does not need to be unique.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

Playback-key-pair name. The value does not need to be unique.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

Playback-key-pair name. The value does not need to be unique.

*/ inline ImportPlaybackKeyPairRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

Playback-key-pair name. The value does not need to be unique.

*/ inline ImportPlaybackKeyPairRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

Playback-key-pair name. The value does not need to be unique.

*/ inline ImportPlaybackKeyPairRequest& WithName(const char* value) { SetName(value); return *this;} /** *

The public portion of a customer-generated key pair.

*/ inline const Aws::String& GetPublicKeyMaterial() const{ return m_publicKeyMaterial; } /** *

The public portion of a customer-generated key pair.

*/ inline bool PublicKeyMaterialHasBeenSet() const { return m_publicKeyMaterialHasBeenSet; } /** *

The public portion of a customer-generated key pair.

*/ inline void SetPublicKeyMaterial(const Aws::String& value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial = value; } /** *

The public portion of a customer-generated key pair.

*/ inline void SetPublicKeyMaterial(Aws::String&& value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial = std::move(value); } /** *

The public portion of a customer-generated key pair.

*/ inline void SetPublicKeyMaterial(const char* value) { m_publicKeyMaterialHasBeenSet = true; m_publicKeyMaterial.assign(value); } /** *

The public portion of a customer-generated key pair.

*/ inline ImportPlaybackKeyPairRequest& WithPublicKeyMaterial(const Aws::String& value) { SetPublicKeyMaterial(value); return *this;} /** *

The public portion of a customer-generated key pair.

*/ inline ImportPlaybackKeyPairRequest& WithPublicKeyMaterial(Aws::String&& value) { SetPublicKeyMaterial(std::move(value)); return *this;} /** *

The public portion of a customer-generated key pair.

*/ inline ImportPlaybackKeyPairRequest& WithPublicKeyMaterial(const char* value) { SetPublicKeyMaterial(value); return *this;} /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline ImportPlaybackKeyPairRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline ImportPlaybackKeyPairRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline ImportPlaybackKeyPairRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline ImportPlaybackKeyPairRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline ImportPlaybackKeyPairRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline ImportPlaybackKeyPairRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline ImportPlaybackKeyPairRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline ImportPlaybackKeyPairRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Any tags provided with the request are added to the playback key pair tags. * See Tagging * Amazon Web Services Resources for more information, including restrictions * that apply to tags and "Tag naming limits and requirements"; Amazon IVS has no * service-specific constraints beyond what is documented there.

*/ inline ImportPlaybackKeyPairRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_publicKeyMaterial; bool m_publicKeyMaterialHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace IVS } // namespace Aws