/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for DescribeScheduledInstances.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 filters.
availability-zone
- The
* Availability Zone (for example, us-west-2a
).
* instance-type
- The instance type (for example,
* c4.large
).
platform
- The platform
* (Linux/UNIX
or Windows
).
The filters.
availability-zone
- The
* Availability Zone (for example, us-west-2a
).
* instance-type
- The instance type (for example,
* c4.large
).
platform
- The platform
* (Linux/UNIX
or Windows
).
The filters.
availability-zone
- The
* Availability Zone (for example, us-west-2a
).
* instance-type
- The instance type (for example,
* c4.large
).
platform
- The platform
* (Linux/UNIX
or Windows
).
The filters.
availability-zone
- The
* Availability Zone (for example, us-west-2a
).
* instance-type
- The instance type (for example,
* c4.large
).
platform
- The platform
* (Linux/UNIX
or Windows
).
The filters.
availability-zone
- The
* Availability Zone (for example, us-west-2a
).
* instance-type
- The instance type (for example,
* c4.large
).
platform
- The platform
* (Linux/UNIX
or Windows
).
The filters.
availability-zone
- The
* Availability Zone (for example, us-west-2a
).
* instance-type
- The instance type (for example,
* c4.large
).
platform
- The platform
* (Linux/UNIX
or Windows
).
The filters.
availability-zone
- The
* Availability Zone (for example, us-west-2a
).
* instance-type
- The instance type (for example,
* c4.large
).
platform
- The platform
* (Linux/UNIX
or Windows
).
The filters.
availability-zone
- The
* Availability Zone (for example, us-west-2a
).
* instance-type
- The instance type (for example,
* c4.large
).
platform
- The platform
* (Linux/UNIX
or Windows
).
The maximum number of results to return in a single call. This value can be
* between 5 and 300. The default value is 100. To retrieve the remaining results,
* make another call with the returned NextToken
value.
The maximum number of results to return in a single call. This value can be
* between 5 and 300. The default value is 100. To retrieve the remaining results,
* make another call with the returned NextToken
value.
The maximum number of results to return in a single call. This value can be
* between 5 and 300. The default value is 100. To retrieve the remaining results,
* make another call with the returned NextToken
value.
The maximum number of results to return in a single call. This value can be
* between 5 and 300. The default value is 100. To retrieve the remaining results,
* make another call with the returned NextToken
value.
The token for the next set of results.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *The token for the next set of results.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *The token for the next set of results.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *The token for the next set of results.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *The token for the next set of results.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *The token for the next set of results.
*/ inline DescribeScheduledInstancesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *The token for the next set of results.
*/ inline DescribeScheduledInstancesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *The token for the next set of results.
*/ inline DescribeScheduledInstancesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The Scheduled Instance IDs.
*/ inline const Aws::VectorThe Scheduled Instance IDs.
*/ inline bool ScheduledInstanceIdsHasBeenSet() const { return m_scheduledInstanceIdsHasBeenSet; } /** *The Scheduled Instance IDs.
*/ inline void SetScheduledInstanceIds(const Aws::VectorThe Scheduled Instance IDs.
*/ inline void SetScheduledInstanceIds(Aws::VectorThe Scheduled Instance IDs.
*/ inline DescribeScheduledInstancesRequest& WithScheduledInstanceIds(const Aws::VectorThe Scheduled Instance IDs.
*/ inline DescribeScheduledInstancesRequest& WithScheduledInstanceIds(Aws::VectorThe Scheduled Instance IDs.
*/ inline DescribeScheduledInstancesRequest& AddScheduledInstanceIds(const Aws::String& value) { m_scheduledInstanceIdsHasBeenSet = true; m_scheduledInstanceIds.push_back(value); return *this; } /** *The Scheduled Instance IDs.
*/ inline DescribeScheduledInstancesRequest& AddScheduledInstanceIds(Aws::String&& value) { m_scheduledInstanceIdsHasBeenSet = true; m_scheduledInstanceIds.push_back(std::move(value)); return *this; } /** *The Scheduled Instance IDs.
*/ inline DescribeScheduledInstancesRequest& AddScheduledInstanceIds(const char* value) { m_scheduledInstanceIdsHasBeenSet = true; m_scheduledInstanceIds.push_back(value); return *this; } /** *The time period for the first schedule to start.
*/ inline const SlotStartTimeRangeRequest& GetSlotStartTimeRange() const{ return m_slotStartTimeRange; } /** *The time period for the first schedule to start.
*/ inline bool SlotStartTimeRangeHasBeenSet() const { return m_slotStartTimeRangeHasBeenSet; } /** *The time period for the first schedule to start.
*/ inline void SetSlotStartTimeRange(const SlotStartTimeRangeRequest& value) { m_slotStartTimeRangeHasBeenSet = true; m_slotStartTimeRange = value; } /** *The time period for the first schedule to start.
*/ inline void SetSlotStartTimeRange(SlotStartTimeRangeRequest&& value) { m_slotStartTimeRangeHasBeenSet = true; m_slotStartTimeRange = std::move(value); } /** *The time period for the first schedule to start.
*/ inline DescribeScheduledInstancesRequest& WithSlotStartTimeRange(const SlotStartTimeRangeRequest& value) { SetSlotStartTimeRange(value); return *this;} /** *The time period for the first schedule to start.
*/ inline DescribeScheduledInstancesRequest& WithSlotStartTimeRange(SlotStartTimeRangeRequest&& value) { SetSlotStartTimeRange(std::move(value)); return *this;} private: bool m_dryRun; bool m_dryRunHasBeenSet = false; Aws::Vector