/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for
* DescribeScheduledInstanceAvailability.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 time period for the first schedule to start.
*/ inline const SlotDateTimeRangeRequest& GetFirstSlotStartTimeRange() const{ return m_firstSlotStartTimeRange; } /** *The time period for the first schedule to start.
*/ inline bool FirstSlotStartTimeRangeHasBeenSet() const { return m_firstSlotStartTimeRangeHasBeenSet; } /** *The time period for the first schedule to start.
*/ inline void SetFirstSlotStartTimeRange(const SlotDateTimeRangeRequest& value) { m_firstSlotStartTimeRangeHasBeenSet = true; m_firstSlotStartTimeRange = value; } /** *The time period for the first schedule to start.
*/ inline void SetFirstSlotStartTimeRange(SlotDateTimeRangeRequest&& value) { m_firstSlotStartTimeRangeHasBeenSet = true; m_firstSlotStartTimeRange = std::move(value); } /** *The time period for the first schedule to start.
*/ inline DescribeScheduledInstanceAvailabilityRequest& WithFirstSlotStartTimeRange(const SlotDateTimeRangeRequest& value) { SetFirstSlotStartTimeRange(value); return *this;} /** *The time period for the first schedule to start.
*/ inline DescribeScheduledInstanceAvailabilityRequest& WithFirstSlotStartTimeRange(SlotDateTimeRangeRequest&& value) { SetFirstSlotStartTimeRange(std::move(value)); return *this;} /** *The maximum number of results to return in a single call. This value can be
* between 5 and 300. The default value is 300. 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 300. 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 300. 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 300. To retrieve the remaining results,
* make another call with the returned NextToken
value.
The maximum available duration, in hours. This value must be greater than
* MinSlotDurationInHours
and less than 1,720.
The maximum available duration, in hours. This value must be greater than
* MinSlotDurationInHours
and less than 1,720.
The maximum available duration, in hours. This value must be greater than
* MinSlotDurationInHours
and less than 1,720.
The maximum available duration, in hours. This value must be greater than
* MinSlotDurationInHours
and less than 1,720.
The minimum available duration, in hours. The minimum required duration is * 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the * minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 * hours.
*/ inline int GetMinSlotDurationInHours() const{ return m_minSlotDurationInHours; } /** *The minimum available duration, in hours. The minimum required duration is * 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the * minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 * hours.
*/ inline bool MinSlotDurationInHoursHasBeenSet() const { return m_minSlotDurationInHoursHasBeenSet; } /** *The minimum available duration, in hours. The minimum required duration is * 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the * minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 * hours.
*/ inline void SetMinSlotDurationInHours(int value) { m_minSlotDurationInHoursHasBeenSet = true; m_minSlotDurationInHours = value; } /** *The minimum available duration, in hours. The minimum required duration is * 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the * minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 * hours.
*/ inline DescribeScheduledInstanceAvailabilityRequest& WithMinSlotDurationInHours(int value) { SetMinSlotDurationInHours(value); return *this;} /** *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 DescribeScheduledInstanceAvailabilityRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *The token for the next set of results.
*/ inline DescribeScheduledInstanceAvailabilityRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *The token for the next set of results.
*/ inline DescribeScheduledInstanceAvailabilityRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The schedule recurrence.
*/ inline const ScheduledInstanceRecurrenceRequest& GetRecurrence() const{ return m_recurrence; } /** *The schedule recurrence.
*/ inline bool RecurrenceHasBeenSet() const { return m_recurrenceHasBeenSet; } /** *The schedule recurrence.
*/ inline void SetRecurrence(const ScheduledInstanceRecurrenceRequest& value) { m_recurrenceHasBeenSet = true; m_recurrence = value; } /** *The schedule recurrence.
*/ inline void SetRecurrence(ScheduledInstanceRecurrenceRequest&& value) { m_recurrenceHasBeenSet = true; m_recurrence = std::move(value); } /** *The schedule recurrence.
*/ inline DescribeScheduledInstanceAvailabilityRequest& WithRecurrence(const ScheduledInstanceRecurrenceRequest& value) { SetRecurrence(value); return *this;} /** *The schedule recurrence.
*/ inline DescribeScheduledInstanceAvailabilityRequest& WithRecurrence(ScheduledInstanceRecurrenceRequest&& value) { SetRecurrence(std::move(value)); return *this;} private: bool m_dryRun; bool m_dryRunHasBeenSet = false; Aws::Vector