/** * 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 mgn { namespace Model { /** */ class RetryDataReplicationRequest : public MgnRequest { public: AWS_MGN_API RetryDataReplicationRequest(); // 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 "RetryDataReplication"; } AWS_MGN_API Aws::String SerializePayload() const override; /** *

Retry data replication for Account ID.

*/ inline const Aws::String& GetAccountID() const{ return m_accountID; } /** *

Retry data replication for Account ID.

*/ inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; } /** *

Retry data replication for Account ID.

*/ inline void SetAccountID(const Aws::String& value) { m_accountIDHasBeenSet = true; m_accountID = value; } /** *

Retry data replication for Account ID.

*/ inline void SetAccountID(Aws::String&& value) { m_accountIDHasBeenSet = true; m_accountID = std::move(value); } /** *

Retry data replication for Account ID.

*/ inline void SetAccountID(const char* value) { m_accountIDHasBeenSet = true; m_accountID.assign(value); } /** *

Retry data replication for Account ID.

*/ inline RetryDataReplicationRequest& WithAccountID(const Aws::String& value) { SetAccountID(value); return *this;} /** *

Retry data replication for Account ID.

*/ inline RetryDataReplicationRequest& WithAccountID(Aws::String&& value) { SetAccountID(std::move(value)); return *this;} /** *

Retry data replication for Account ID.

*/ inline RetryDataReplicationRequest& WithAccountID(const char* value) { SetAccountID(value); return *this;} /** *

Retry data replication for Source Server ID.

*/ inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; } /** *

Retry data replication for Source Server ID.

*/ inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; } /** *

Retry data replication for Source Server ID.

*/ inline void SetSourceServerID(const Aws::String& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = value; } /** *

Retry data replication for Source Server ID.

*/ inline void SetSourceServerID(Aws::String&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::move(value); } /** *

Retry data replication for Source Server ID.

*/ inline void SetSourceServerID(const char* value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID.assign(value); } /** *

Retry data replication for Source Server ID.

*/ inline RetryDataReplicationRequest& WithSourceServerID(const Aws::String& value) { SetSourceServerID(value); return *this;} /** *

Retry data replication for Source Server ID.

*/ inline RetryDataReplicationRequest& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;} /** *

Retry data replication for Source Server ID.

*/ inline RetryDataReplicationRequest& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;} private: Aws::String m_accountID; bool m_accountIDHasBeenSet = false; Aws::String m_sourceServerID; bool m_sourceServerIDHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws