/** * 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 SMS { namespace Model { /** */ class StartOnDemandReplicationRunRequest : public SMSRequest { public: AWS_SMS_API StartOnDemandReplicationRunRequest(); // 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 "StartOnDemandReplicationRun"; } AWS_SMS_API Aws::String SerializePayload() const override; AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the replication job.

*/ inline const Aws::String& GetReplicationJobId() const{ return m_replicationJobId; } /** *

The ID of the replication job.

*/ inline bool ReplicationJobIdHasBeenSet() const { return m_replicationJobIdHasBeenSet; } /** *

The ID of the replication job.

*/ inline void SetReplicationJobId(const Aws::String& value) { m_replicationJobIdHasBeenSet = true; m_replicationJobId = value; } /** *

The ID of the replication job.

*/ inline void SetReplicationJobId(Aws::String&& value) { m_replicationJobIdHasBeenSet = true; m_replicationJobId = std::move(value); } /** *

The ID of the replication job.

*/ inline void SetReplicationJobId(const char* value) { m_replicationJobIdHasBeenSet = true; m_replicationJobId.assign(value); } /** *

The ID of the replication job.

*/ inline StartOnDemandReplicationRunRequest& WithReplicationJobId(const Aws::String& value) { SetReplicationJobId(value); return *this;} /** *

The ID of the replication job.

*/ inline StartOnDemandReplicationRunRequest& WithReplicationJobId(Aws::String&& value) { SetReplicationJobId(std::move(value)); return *this;} /** *

The ID of the replication job.

*/ inline StartOnDemandReplicationRunRequest& WithReplicationJobId(const char* value) { SetReplicationJobId(value); return *this;} /** *

The description of the replication run.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the replication run.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the replication run.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the replication run.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the replication run.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the replication run.

*/ inline StartOnDemandReplicationRunRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the replication run.

*/ inline StartOnDemandReplicationRunRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the replication run.

*/ inline StartOnDemandReplicationRunRequest& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_replicationJobId; bool m_replicationJobIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace SMS } // namespace Aws