/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Result message wrapping a list of event descriptions.See
* Also:
AWS
* API Reference
A list of EventDescription.
*/ inline const Aws::VectorA list of EventDescription.
*/ inline void SetEvents(const Aws::VectorA list of EventDescription.
*/ inline void SetEvents(Aws::VectorA list of EventDescription.
*/ inline DescribeEventsResult& WithEvents(const Aws::VectorA list of EventDescription.
*/ inline DescribeEventsResult& WithEvents(Aws::VectorA list of EventDescription.
*/ inline DescribeEventsResult& AddEvents(const EventDescription& value) { m_events.push_back(value); return *this; } /** *A list of EventDescription.
*/ inline DescribeEventsResult& AddEvents(EventDescription&& value) { m_events.push_back(std::move(value)); return *this; } /** *If returned, this indicates that there are more results to obtain. Use this * token in the next DescribeEvents call to get the next batch of events. *
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *If returned, this indicates that there are more results to obtain. Use this * token in the next DescribeEvents call to get the next batch of events. *
*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *If returned, this indicates that there are more results to obtain. Use this * token in the next DescribeEvents call to get the next batch of events. *
*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *If returned, this indicates that there are more results to obtain. Use this * token in the next DescribeEvents call to get the next batch of events. *
*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *If returned, this indicates that there are more results to obtain. Use this * token in the next DescribeEvents call to get the next batch of events. *
*/ inline DescribeEventsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *If returned, this indicates that there are more results to obtain. Use this * token in the next DescribeEvents call to get the next batch of events. *
*/ inline DescribeEventsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *If returned, this indicates that there are more results to obtain. Use this * token in the next DescribeEvents call to get the next batch of events. *
*/ inline DescribeEventsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline DescribeEventsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DescribeEventsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector