/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the reaction values provided by users on a
* comment.See Also:
AWS
* API Reference
The reaction for a specified comment.
*/ inline const ReactionValueFormats& GetReaction() const{ return m_reaction; } /** *The reaction for a specified comment.
*/ inline bool ReactionHasBeenSet() const { return m_reactionHasBeenSet; } /** *The reaction for a specified comment.
*/ inline void SetReaction(const ReactionValueFormats& value) { m_reactionHasBeenSet = true; m_reaction = value; } /** *The reaction for a specified comment.
*/ inline void SetReaction(ReactionValueFormats&& value) { m_reactionHasBeenSet = true; m_reaction = std::move(value); } /** *The reaction for a specified comment.
*/ inline ReactionForComment& WithReaction(const ReactionValueFormats& value) { SetReaction(value); return *this;} /** *The reaction for a specified comment.
*/ inline ReactionForComment& WithReaction(ReactionValueFormats&& value) { SetReaction(std::move(value)); return *this;} /** *The Amazon Resource Names (ARNs) of users who have provided reactions to the * comment.
*/ inline const Aws::VectorThe Amazon Resource Names (ARNs) of users who have provided reactions to the * comment.
*/ inline bool ReactionUsersHasBeenSet() const { return m_reactionUsersHasBeenSet; } /** *The Amazon Resource Names (ARNs) of users who have provided reactions to the * comment.
*/ inline void SetReactionUsers(const Aws::VectorThe Amazon Resource Names (ARNs) of users who have provided reactions to the * comment.
*/ inline void SetReactionUsers(Aws::VectorThe Amazon Resource Names (ARNs) of users who have provided reactions to the * comment.
*/ inline ReactionForComment& WithReactionUsers(const Aws::VectorThe Amazon Resource Names (ARNs) of users who have provided reactions to the * comment.
*/ inline ReactionForComment& WithReactionUsers(Aws::VectorThe Amazon Resource Names (ARNs) of users who have provided reactions to the * comment.
*/ inline ReactionForComment& AddReactionUsers(const Aws::String& value) { m_reactionUsersHasBeenSet = true; m_reactionUsers.push_back(value); return *this; } /** *The Amazon Resource Names (ARNs) of users who have provided reactions to the * comment.
*/ inline ReactionForComment& AddReactionUsers(Aws::String&& value) { m_reactionUsersHasBeenSet = true; m_reactionUsers.push_back(std::move(value)); return *this; } /** *The Amazon Resource Names (ARNs) of users who have provided reactions to the * comment.
*/ inline ReactionForComment& AddReactionUsers(const char* value) { m_reactionUsersHasBeenSet = true; m_reactionUsers.push_back(value); return *this; } /** *A numerical count of users who reacted with the specified emoji whose * identities have been subsequently deleted from IAM. While these IAM users or * roles no longer exist, the reactions might still appear in total reaction * counts.
*/ inline int GetReactionsFromDeletedUsersCount() const{ return m_reactionsFromDeletedUsersCount; } /** *A numerical count of users who reacted with the specified emoji whose * identities have been subsequently deleted from IAM. While these IAM users or * roles no longer exist, the reactions might still appear in total reaction * counts.
*/ inline bool ReactionsFromDeletedUsersCountHasBeenSet() const { return m_reactionsFromDeletedUsersCountHasBeenSet; } /** *A numerical count of users who reacted with the specified emoji whose * identities have been subsequently deleted from IAM. While these IAM users or * roles no longer exist, the reactions might still appear in total reaction * counts.
*/ inline void SetReactionsFromDeletedUsersCount(int value) { m_reactionsFromDeletedUsersCountHasBeenSet = true; m_reactionsFromDeletedUsersCount = value; } /** *A numerical count of users who reacted with the specified emoji whose * identities have been subsequently deleted from IAM. While these IAM users or * roles no longer exist, the reactions might still appear in total reaction * counts.
*/ inline ReactionForComment& WithReactionsFromDeletedUsersCount(int value) { SetReactionsFromDeletedUsersCount(value); return *this;} private: ReactionValueFormats m_reaction; bool m_reactionHasBeenSet = false; Aws::Vector