118 lines
3.6 KiB
C++
118 lines
3.6 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/dax/DAX_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/dax/model/Event.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace DAX
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_DAX_API DescribeEventsResult
|
|
{
|
|
public:
|
|
DescribeEventsResult();
|
|
DescribeEventsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
DescribeEventsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>Provides an identifier to allow retrieval of paginated results.</p>
|
|
*/
|
|
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
|
|
|
|
/**
|
|
* <p>Provides an identifier to allow retrieval of paginated results.</p>
|
|
*/
|
|
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
|
|
|
|
/**
|
|
* <p>Provides an identifier to allow retrieval of paginated results.</p>
|
|
*/
|
|
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
|
|
|
|
/**
|
|
* <p>Provides an identifier to allow retrieval of paginated results.</p>
|
|
*/
|
|
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
|
|
|
|
/**
|
|
* <p>Provides an identifier to allow retrieval of paginated results.</p>
|
|
*/
|
|
inline DescribeEventsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
|
|
|
|
/**
|
|
* <p>Provides an identifier to allow retrieval of paginated results.</p>
|
|
*/
|
|
inline DescribeEventsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Provides an identifier to allow retrieval of paginated results.</p>
|
|
*/
|
|
inline DescribeEventsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>An array of events. Each element in the array represents one event.</p>
|
|
*/
|
|
inline const Aws::Vector<Event>& GetEvents() const{ return m_events; }
|
|
|
|
/**
|
|
* <p>An array of events. Each element in the array represents one event.</p>
|
|
*/
|
|
inline void SetEvents(const Aws::Vector<Event>& value) { m_events = value; }
|
|
|
|
/**
|
|
* <p>An array of events. Each element in the array represents one event.</p>
|
|
*/
|
|
inline void SetEvents(Aws::Vector<Event>&& value) { m_events = std::move(value); }
|
|
|
|
/**
|
|
* <p>An array of events. Each element in the array represents one event.</p>
|
|
*/
|
|
inline DescribeEventsResult& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;}
|
|
|
|
/**
|
|
* <p>An array of events. Each element in the array represents one event.</p>
|
|
*/
|
|
inline DescribeEventsResult& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>An array of events. Each element in the array represents one event.</p>
|
|
*/
|
|
inline DescribeEventsResult& AddEvents(const Event& value) { m_events.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>An array of events. Each element in the array represents one event.</p>
|
|
*/
|
|
inline DescribeEventsResult& AddEvents(Event&& value) { m_events.push_back(std::move(value)); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::String m_nextToken;
|
|
|
|
Aws::Vector<Event> m_events;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace DAX
|
|
} // namespace Aws
|