/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace SSMContacts { namespace Model { /** */ class ListRotationOverridesRequest : public SSMContactsRequest { public: AWS_SSMCONTACTS_API ListRotationOverridesRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListRotationOverrides"; } AWS_SSMCONTACTS_API Aws::String SerializePayload() const override; AWS_SSMCONTACTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the rotation to retrieve information * about.

*/ inline const Aws::String& GetRotationId() const{ return m_rotationId; } /** *

The Amazon Resource Name (ARN) of the rotation to retrieve information * about.

*/ inline bool RotationIdHasBeenSet() const { return m_rotationIdHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the rotation to retrieve information * about.

*/ inline void SetRotationId(const Aws::String& value) { m_rotationIdHasBeenSet = true; m_rotationId = value; } /** *

The Amazon Resource Name (ARN) of the rotation to retrieve information * about.

*/ inline void SetRotationId(Aws::String&& value) { m_rotationIdHasBeenSet = true; m_rotationId = std::move(value); } /** *

The Amazon Resource Name (ARN) of the rotation to retrieve information * about.

*/ inline void SetRotationId(const char* value) { m_rotationIdHasBeenSet = true; m_rotationId.assign(value); } /** *

The Amazon Resource Name (ARN) of the rotation to retrieve information * about.

*/ inline ListRotationOverridesRequest& WithRotationId(const Aws::String& value) { SetRotationId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the rotation to retrieve information * about.

*/ inline ListRotationOverridesRequest& WithRotationId(Aws::String&& value) { SetRotationId(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the rotation to retrieve information * about.

*/ inline ListRotationOverridesRequest& WithRotationId(const char* value) { SetRotationId(value); return *this;} /** *

The date and time for the beginning of a time range for listing * overrides.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The date and time for the beginning of a time range for listing * overrides.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The date and time for the beginning of a time range for listing * overrides.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The date and time for the beginning of a time range for listing * overrides.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The date and time for the beginning of a time range for listing * overrides.

*/ inline ListRotationOverridesRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The date and time for the beginning of a time range for listing * overrides.

*/ inline ListRotationOverridesRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The date and time for the end of a time range for listing overrides.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

The date and time for the end of a time range for listing overrides.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

The date and time for the end of a time range for listing overrides.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

The date and time for the end of a time range for listing overrides.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

The date and time for the end of a time range for listing overrides.

*/ inline ListRotationOverridesRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

The date and time for the end of a time range for listing overrides.

*/ inline ListRotationOverridesRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

A token to start the list. Use this token to get the next set of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A token to start the list. Use this token to get the next set of results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

A token to start the list. Use this token to get the next set of results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

A token to start the list. Use this token to get the next set of results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

A token to start the list. Use this token to get the next set of results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

A token to start the list. Use this token to get the next set of results.

*/ inline ListRotationOverridesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A token to start the list. Use this token to get the next set of results.

*/ inline ListRotationOverridesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A token to start the list. Use this token to get the next set of results.

*/ inline ListRotationOverridesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of items to return for this call. The call also returns a * token that you can specify in a subsequent call to get the next set of * results.

*/ inline ListRotationOverridesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_rotationId; bool m_rotationIdHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace SSMContacts } // namespace Aws