/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A key group configuration. A key group contains a list of public keys
* that you can use with CloudFront
* signed URLs and signed cookies.See Also:
AWS
* API Reference
A name to identify the key group.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *A name to identify the key group.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *A name to identify the key group.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *A name to identify the key group.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *A name to identify the key group.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *A name to identify the key group.
*/ inline KeyGroupConfig& WithName(const Aws::String& value) { SetName(value); return *this;} /** *A name to identify the key group.
*/ inline KeyGroupConfig& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *A name to identify the key group.
*/ inline KeyGroupConfig& WithName(const char* value) { SetName(value); return *this;} /** *A list of the identifiers of the public keys in the key group.
*/ inline const Aws::VectorA list of the identifiers of the public keys in the key group.
*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *A list of the identifiers of the public keys in the key group.
*/ inline void SetItems(const Aws::VectorA list of the identifiers of the public keys in the key group.
*/ inline void SetItems(Aws::VectorA list of the identifiers of the public keys in the key group.
*/ inline KeyGroupConfig& WithItems(const Aws::VectorA list of the identifiers of the public keys in the key group.
*/ inline KeyGroupConfig& WithItems(Aws::VectorA list of the identifiers of the public keys in the key group.
*/ inline KeyGroupConfig& AddItems(const Aws::String& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *A list of the identifiers of the public keys in the key group.
*/ inline KeyGroupConfig& AddItems(Aws::String&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; } /** *A list of the identifiers of the public keys in the key group.
*/ inline KeyGroupConfig& AddItems(const char* value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *A comment to describe the key group. The comment cannot be longer than 128 * characters.
*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *A comment to describe the key group. The comment cannot be longer than 128 * characters.
*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *A comment to describe the key group. The comment cannot be longer than 128 * characters.
*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *A comment to describe the key group. The comment cannot be longer than 128 * characters.
*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *A comment to describe the key group. The comment cannot be longer than 128 * characters.
*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *A comment to describe the key group. The comment cannot be longer than 128 * characters.
*/ inline KeyGroupConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *A comment to describe the key group. The comment cannot be longer than 128 * characters.
*/ inline KeyGroupConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *A comment to describe the key group. The comment cannot be longer than 128 * characters.
*/ inline KeyGroupConfig& WithComment(const char* value) { SetComment(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector