/** * 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 Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace CloudFront { namespace Model { /** *

A list of identifiers for the public keys that CloudFront can use to verify * the signatures of signed URLs and signed cookies.

See Also:

AWS * API Reference

*/ class KGKeyPairIds { public: AWS_CLOUDFRONT_API KGKeyPairIds(); AWS_CLOUDFRONT_API KGKeyPairIds(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFRONT_API KGKeyPairIds& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

The identifier of the key group that contains the public keys.

*/ inline const Aws::String& GetKeyGroupId() const{ return m_keyGroupId; } /** *

The identifier of the key group that contains the public keys.

*/ inline bool KeyGroupIdHasBeenSet() const { return m_keyGroupIdHasBeenSet; } /** *

The identifier of the key group that contains the public keys.

*/ inline void SetKeyGroupId(const Aws::String& value) { m_keyGroupIdHasBeenSet = true; m_keyGroupId = value; } /** *

The identifier of the key group that contains the public keys.

*/ inline void SetKeyGroupId(Aws::String&& value) { m_keyGroupIdHasBeenSet = true; m_keyGroupId = std::move(value); } /** *

The identifier of the key group that contains the public keys.

*/ inline void SetKeyGroupId(const char* value) { m_keyGroupIdHasBeenSet = true; m_keyGroupId.assign(value); } /** *

The identifier of the key group that contains the public keys.

*/ inline KGKeyPairIds& WithKeyGroupId(const Aws::String& value) { SetKeyGroupId(value); return *this;} /** *

The identifier of the key group that contains the public keys.

*/ inline KGKeyPairIds& WithKeyGroupId(Aws::String&& value) { SetKeyGroupId(std::move(value)); return *this;} /** *

The identifier of the key group that contains the public keys.

*/ inline KGKeyPairIds& WithKeyGroupId(const char* value) { SetKeyGroupId(value); return *this;} inline const KeyPairIds& GetKeyPairIds() const{ return m_keyPairIds; } inline bool KeyPairIdsHasBeenSet() const { return m_keyPairIdsHasBeenSet; } inline void SetKeyPairIds(const KeyPairIds& value) { m_keyPairIdsHasBeenSet = true; m_keyPairIds = value; } inline void SetKeyPairIds(KeyPairIds&& value) { m_keyPairIdsHasBeenSet = true; m_keyPairIds = std::move(value); } inline KGKeyPairIds& WithKeyPairIds(const KeyPairIds& value) { SetKeyPairIds(value); return *this;} inline KGKeyPairIds& WithKeyPairIds(KeyPairIds&& value) { SetKeyPairIds(std::move(value)); return *this;} private: Aws::String m_keyGroupId; bool m_keyGroupIdHasBeenSet = false; KeyPairIds m_keyPairIds; bool m_keyPairIdsHasBeenSet = false; }; } // namespace Model } // namespace CloudFront } // namespace Aws