/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace drs { namespace Model { /** */ class StartFailbackLaunchRequest : public DrsRequest { public: AWS_DRS_API StartFailbackLaunchRequest(); // 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 "StartFailbackLaunch"; } AWS_DRS_API Aws::String SerializePayload() const override; /** *

The IDs of the Recovery Instance whose failback launch we want to * request.

*/ inline const Aws::Vector& GetRecoveryInstanceIDs() const{ return m_recoveryInstanceIDs; } /** *

The IDs of the Recovery Instance whose failback launch we want to * request.

*/ inline bool RecoveryInstanceIDsHasBeenSet() const { return m_recoveryInstanceIDsHasBeenSet; } /** *

The IDs of the Recovery Instance whose failback launch we want to * request.

*/ inline void SetRecoveryInstanceIDs(const Aws::Vector& value) { m_recoveryInstanceIDsHasBeenSet = true; m_recoveryInstanceIDs = value; } /** *

The IDs of the Recovery Instance whose failback launch we want to * request.

*/ inline void SetRecoveryInstanceIDs(Aws::Vector&& value) { m_recoveryInstanceIDsHasBeenSet = true; m_recoveryInstanceIDs = std::move(value); } /** *

The IDs of the Recovery Instance whose failback launch we want to * request.

*/ inline StartFailbackLaunchRequest& WithRecoveryInstanceIDs(const Aws::Vector& value) { SetRecoveryInstanceIDs(value); return *this;} /** *

The IDs of the Recovery Instance whose failback launch we want to * request.

*/ inline StartFailbackLaunchRequest& WithRecoveryInstanceIDs(Aws::Vector&& value) { SetRecoveryInstanceIDs(std::move(value)); return *this;} /** *

The IDs of the Recovery Instance whose failback launch we want to * request.

*/ inline StartFailbackLaunchRequest& AddRecoveryInstanceIDs(const Aws::String& value) { m_recoveryInstanceIDsHasBeenSet = true; m_recoveryInstanceIDs.push_back(value); return *this; } /** *

The IDs of the Recovery Instance whose failback launch we want to * request.

*/ inline StartFailbackLaunchRequest& AddRecoveryInstanceIDs(Aws::String&& value) { m_recoveryInstanceIDsHasBeenSet = true; m_recoveryInstanceIDs.push_back(std::move(value)); return *this; } /** *

The IDs of the Recovery Instance whose failback launch we want to * request.

*/ inline StartFailbackLaunchRequest& AddRecoveryInstanceIDs(const char* value) { m_recoveryInstanceIDsHasBeenSet = true; m_recoveryInstanceIDs.push_back(value); return *this; } /** *

The tags to be associated with the failback launch Job.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags to be associated with the failback launch Job.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags to be associated with the failback launch Job.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags to be associated with the failback launch Job.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags to be associated with the failback launch Job.

*/ inline StartFailbackLaunchRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags to be associated with the failback launch Job.

*/ inline StartFailbackLaunchRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags to be associated with the failback launch Job.

*/ inline StartFailbackLaunchRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags to be associated with the failback launch Job.

*/ inline StartFailbackLaunchRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to be associated with the failback launch Job.

*/ inline StartFailbackLaunchRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to be associated with the failback launch Job.

*/ inline StartFailbackLaunchRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags to be associated with the failback launch Job.

*/ inline StartFailbackLaunchRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to be associated with the failback launch Job.

*/ inline StartFailbackLaunchRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to be associated with the failback launch Job.

*/ inline StartFailbackLaunchRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::Vector m_recoveryInstanceIDs; bool m_recoveryInstanceIDsHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace drs } // namespace Aws