/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for DescribeSpotFleetRequestHistory.See
* Also:
AWS
* API Reference
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation
.
* Otherwise, it is UnauthorizedOperation
.
The type of events to describe. By default, all events are described.
*/ inline const EventType& GetEventType() const{ return m_eventType; } /** *The type of events to describe. By default, all events are described.
*/ inline bool EventTypeHasBeenSet() const { return m_eventTypeHasBeenSet; } /** *The type of events to describe. By default, all events are described.
*/ inline void SetEventType(const EventType& value) { m_eventTypeHasBeenSet = true; m_eventType = value; } /** *The type of events to describe. By default, all events are described.
*/ inline void SetEventType(EventType&& value) { m_eventTypeHasBeenSet = true; m_eventType = std::move(value); } /** *The type of events to describe. By default, all events are described.
*/ inline DescribeSpotFleetRequestHistoryRequest& WithEventType(const EventType& value) { SetEventType(value); return *this;} /** *The type of events to describe. By default, all events are described.
*/ inline DescribeSpotFleetRequestHistoryRequest& WithEventType(EventType&& value) { SetEventType(std::move(value)); return *this;} /** *The maximum number of items to return for this request. To get the next page * of items, make another request with the token returned in the output. For more * information, see Pagination.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *The maximum number of items to return for this request. To get the next page * of items, make another request with the token returned in the output. For more * information, see Pagination.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *The maximum number of items to return for this request. To get the next page * of items, make another request with the token returned in the output. For more * information, see Pagination.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *The maximum number of items to return for this request. To get the next page * of items, make another request with the token returned in the output. For more * information, see Pagination.
*/ inline DescribeSpotFleetRequestHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *The token to include in another request to get the next page of items. This
* value is null
when there are no more items to return.
The token to include in another request to get the next page of items. This
* value is null
when there are no more items to return.
The token to include in another request to get the next page of items. This
* value is null
when there are no more items to return.
The token to include in another request to get the next page of items. This
* value is null
when there are no more items to return.
The token to include in another request to get the next page of items. This
* value is null
when there are no more items to return.
The token to include in another request to get the next page of items. This
* value is null
when there are no more items to return.
The token to include in another request to get the next page of items. This
* value is null
when there are no more items to return.
The token to include in another request to get the next page of items. This
* value is null
when there are no more items to return.
The ID of the Spot Fleet request.
*/ inline const Aws::String& GetSpotFleetRequestId() const{ return m_spotFleetRequestId; } /** *The ID of the Spot Fleet request.
*/ inline bool SpotFleetRequestIdHasBeenSet() const { return m_spotFleetRequestIdHasBeenSet; } /** *The ID of the Spot Fleet request.
*/ inline void SetSpotFleetRequestId(const Aws::String& value) { m_spotFleetRequestIdHasBeenSet = true; m_spotFleetRequestId = value; } /** *The ID of the Spot Fleet request.
*/ inline void SetSpotFleetRequestId(Aws::String&& value) { m_spotFleetRequestIdHasBeenSet = true; m_spotFleetRequestId = std::move(value); } /** *The ID of the Spot Fleet request.
*/ inline void SetSpotFleetRequestId(const char* value) { m_spotFleetRequestIdHasBeenSet = true; m_spotFleetRequestId.assign(value); } /** *The ID of the Spot Fleet request.
*/ inline DescribeSpotFleetRequestHistoryRequest& WithSpotFleetRequestId(const Aws::String& value) { SetSpotFleetRequestId(value); return *this;} /** *The ID of the Spot Fleet request.
*/ inline DescribeSpotFleetRequestHistoryRequest& WithSpotFleetRequestId(Aws::String&& value) { SetSpotFleetRequestId(std::move(value)); return *this;} /** *The ID of the Spot Fleet request.
*/ inline DescribeSpotFleetRequestHistoryRequest& WithSpotFleetRequestId(const char* value) { SetSpotFleetRequestId(value); return *this;} /** *The starting date and time for the events, in UTC format (for example, * YYYY-MM-DDTHH:MM:SSZ).
*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *The starting date and time for the events, in UTC format (for example, * YYYY-MM-DDTHH:MM:SSZ).
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The starting date and time for the events, in UTC format (for example, * YYYY-MM-DDTHH:MM:SSZ).
*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The starting date and time for the events, in UTC format (for example, * YYYY-MM-DDTHH:MM:SSZ).
*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The starting date and time for the events, in UTC format (for example, * YYYY-MM-DDTHH:MM:SSZ).
*/ inline DescribeSpotFleetRequestHistoryRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *The starting date and time for the events, in UTC format (for example, * YYYY-MM-DDTHH:MM:SSZ).
*/ inline DescribeSpotFleetRequestHistoryRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} private: bool m_dryRun; bool m_dryRunHasBeenSet = false; EventType m_eventType; bool m_eventTypeHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_spotFleetRequestId; bool m_spotFleetRequestIdHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws