/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of one of the following operations:
*
*
*
AuthorizeCacheSecurityGroupIngress
CreateCacheSecurityGroup
RevokeCacheSecurityGroupIngress
See
* Also:
AWS
* API Reference
The Amazon account ID of the cache security group owner.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The Amazon account ID of the cache security group owner.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The Amazon account ID of the cache security group owner.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The Amazon account ID of the cache security group owner.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The Amazon account ID of the cache security group owner.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The Amazon account ID of the cache security group owner.
*/ inline CacheSecurityGroup& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The Amazon account ID of the cache security group owner.
*/ inline CacheSecurityGroup& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The Amazon account ID of the cache security group owner.
*/ inline CacheSecurityGroup& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *The name of the cache security group.
*/ inline const Aws::String& GetCacheSecurityGroupName() const{ return m_cacheSecurityGroupName; } /** *The name of the cache security group.
*/ inline bool CacheSecurityGroupNameHasBeenSet() const { return m_cacheSecurityGroupNameHasBeenSet; } /** *The name of the cache security group.
*/ inline void SetCacheSecurityGroupName(const Aws::String& value) { m_cacheSecurityGroupNameHasBeenSet = true; m_cacheSecurityGroupName = value; } /** *The name of the cache security group.
*/ inline void SetCacheSecurityGroupName(Aws::String&& value) { m_cacheSecurityGroupNameHasBeenSet = true; m_cacheSecurityGroupName = std::move(value); } /** *The name of the cache security group.
*/ inline void SetCacheSecurityGroupName(const char* value) { m_cacheSecurityGroupNameHasBeenSet = true; m_cacheSecurityGroupName.assign(value); } /** *The name of the cache security group.
*/ inline CacheSecurityGroup& WithCacheSecurityGroupName(const Aws::String& value) { SetCacheSecurityGroupName(value); return *this;} /** *The name of the cache security group.
*/ inline CacheSecurityGroup& WithCacheSecurityGroupName(Aws::String&& value) { SetCacheSecurityGroupName(std::move(value)); return *this;} /** *The name of the cache security group.
*/ inline CacheSecurityGroup& WithCacheSecurityGroupName(const char* value) { SetCacheSecurityGroupName(value); return *this;} /** *The description of the cache security group.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the cache security group.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the cache security group.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the cache security group.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the cache security group.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the cache security group.
*/ inline CacheSecurityGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the cache security group.
*/ inline CacheSecurityGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the cache security group.
*/ inline CacheSecurityGroup& WithDescription(const char* value) { SetDescription(value); return *this;} /** *A list of Amazon EC2 security groups that are associated with this cache * security group.
*/ inline const Aws::VectorA list of Amazon EC2 security groups that are associated with this cache * security group.
*/ inline bool EC2SecurityGroupsHasBeenSet() const { return m_eC2SecurityGroupsHasBeenSet; } /** *A list of Amazon EC2 security groups that are associated with this cache * security group.
*/ inline void SetEC2SecurityGroups(const Aws::VectorA list of Amazon EC2 security groups that are associated with this cache * security group.
*/ inline void SetEC2SecurityGroups(Aws::VectorA list of Amazon EC2 security groups that are associated with this cache * security group.
*/ inline CacheSecurityGroup& WithEC2SecurityGroups(const Aws::VectorA list of Amazon EC2 security groups that are associated with this cache * security group.
*/ inline CacheSecurityGroup& WithEC2SecurityGroups(Aws::VectorA list of Amazon EC2 security groups that are associated with this cache * security group.
*/ inline CacheSecurityGroup& AddEC2SecurityGroups(const EC2SecurityGroup& value) { m_eC2SecurityGroupsHasBeenSet = true; m_eC2SecurityGroups.push_back(value); return *this; } /** *A list of Amazon EC2 security groups that are associated with this cache * security group.
*/ inline CacheSecurityGroup& AddEC2SecurityGroups(EC2SecurityGroup&& value) { m_eC2SecurityGroupsHasBeenSet = true; m_eC2SecurityGroups.push_back(std::move(value)); return *this; } /** *The ARN of the cache security group,
*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *The ARN of the cache security group,
*/ inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; } /** *The ARN of the cache security group,
*/ inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; } /** *The ARN of the cache security group,
*/ inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); } /** *The ARN of the cache security group,
*/ inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); } /** *The ARN of the cache security group,
*/ inline CacheSecurityGroup& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *The ARN of the cache security group,
*/ inline CacheSecurityGroup& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *The ARN of the cache security group,
*/ inline CacheSecurityGroup& WithARN(const char* value) { SetARN(value); return *this;} private: Aws::String m_ownerId; bool m_ownerIdHasBeenSet = false; Aws::String m_cacheSecurityGroupName; bool m_cacheSecurityGroupNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector