/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace SSMContacts { namespace Model { /** */ class GetRotationOverrideRequest : public SSMContactsRequest { public: AWS_SSMCONTACTS_API GetRotationOverrideRequest(); // 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 "GetRotationOverride"; } AWS_SSMCONTACTS_API Aws::String SerializePayload() const override; AWS_SSMCONTACTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

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

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

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

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

The Amazon Resource Name (ARN) of the overridden 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 overridden 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 overridden 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 overridden rotation to retrieve * information about.

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

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

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

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

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

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

*/ inline const Aws::String& GetRotationOverrideId() const{ return m_rotationOverrideId; } /** *

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

*/ inline bool RotationOverrideIdHasBeenSet() const { return m_rotationOverrideIdHasBeenSet; } /** *

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

*/ inline void SetRotationOverrideId(const Aws::String& value) { m_rotationOverrideIdHasBeenSet = true; m_rotationOverrideId = value; } /** *

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

*/ inline void SetRotationOverrideId(Aws::String&& value) { m_rotationOverrideIdHasBeenSet = true; m_rotationOverrideId = std::move(value); } /** *

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

*/ inline void SetRotationOverrideId(const char* value) { m_rotationOverrideIdHasBeenSet = true; m_rotationOverrideId.assign(value); } /** *

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

*/ inline GetRotationOverrideRequest& WithRotationOverrideId(const Aws::String& value) { SetRotationOverrideId(value); return *this;} /** *

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

*/ inline GetRotationOverrideRequest& WithRotationOverrideId(Aws::String&& value) { SetRotationOverrideId(std::move(value)); return *this;} /** *

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

*/ inline GetRotationOverrideRequest& WithRotationOverrideId(const char* value) { SetRotationOverrideId(value); return *this;} private: Aws::String m_rotationId; bool m_rotationIdHasBeenSet = false; Aws::String m_rotationOverrideId; bool m_rotationOverrideIdHasBeenSet = false; }; } // namespace Model } // namespace SSMContacts } // namespace Aws