/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The five most recent communications associated with the case.See
* Also:
AWS
* API Reference
The five most recent communications associated with the case.
*/ inline const Aws::VectorThe five most recent communications associated with the case.
*/ inline bool CommunicationsHasBeenSet() const { return m_communicationsHasBeenSet; } /** *The five most recent communications associated with the case.
*/ inline void SetCommunications(const Aws::VectorThe five most recent communications associated with the case.
*/ inline void SetCommunications(Aws::VectorThe five most recent communications associated with the case.
*/ inline RecentCaseCommunications& WithCommunications(const Aws::VectorThe five most recent communications associated with the case.
*/ inline RecentCaseCommunications& WithCommunications(Aws::VectorThe five most recent communications associated with the case.
*/ inline RecentCaseCommunications& AddCommunications(const Communication& value) { m_communicationsHasBeenSet = true; m_communications.push_back(value); return *this; } /** *The five most recent communications associated with the case.
*/ inline RecentCaseCommunications& AddCommunications(Communication&& value) { m_communicationsHasBeenSet = true; m_communications.push_back(std::move(value)); return *this; } /** *A resumption point for pagination.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *A resumption point for pagination.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *A resumption point for pagination.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *A resumption point for pagination.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *A resumption point for pagination.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *A resumption point for pagination.
*/ inline RecentCaseCommunications& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *A resumption point for pagination.
*/ inline RecentCaseCommunications& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *A resumption point for pagination.
*/ inline RecentCaseCommunications& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector