/** * 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 Http { class URI; } //namespace Http namespace SSMIncidents { namespace Model { /** */ class GetReplicationSetRequest : public SSMIncidentsRequest { public: AWS_SSMINCIDENTS_API GetReplicationSetRequest(); // 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 "GetReplicationSet"; } AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override; AWS_SSMINCIDENTS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The Amazon Resource Name (ARN) of the replication set you want to * retrieve.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the replication set you want to * retrieve.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the replication set you want to * retrieve.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The Amazon Resource Name (ARN) of the replication set you want to * retrieve.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the replication set you want to * retrieve.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the replication set you want to * retrieve.

*/ inline GetReplicationSetRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the replication set you want to * retrieve.

*/ inline GetReplicationSetRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the replication set you want to * retrieve.

*/ inline GetReplicationSetRequest& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws