/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The ID of the command you want to cancel.
*/ inline const Aws::String& GetCommandId() const{ return m_commandId; } /** *The ID of the command you want to cancel.
*/ inline bool CommandIdHasBeenSet() const { return m_commandIdHasBeenSet; } /** *The ID of the command you want to cancel.
*/ inline void SetCommandId(const Aws::String& value) { m_commandIdHasBeenSet = true; m_commandId = value; } /** *The ID of the command you want to cancel.
*/ inline void SetCommandId(Aws::String&& value) { m_commandIdHasBeenSet = true; m_commandId = std::move(value); } /** *The ID of the command you want to cancel.
*/ inline void SetCommandId(const char* value) { m_commandIdHasBeenSet = true; m_commandId.assign(value); } /** *The ID of the command you want to cancel.
*/ inline CancelCommandRequest& WithCommandId(const Aws::String& value) { SetCommandId(value); return *this;} /** *The ID of the command you want to cancel.
*/ inline CancelCommandRequest& WithCommandId(Aws::String&& value) { SetCommandId(std::move(value)); return *this;} /** *The ID of the command you want to cancel.
*/ inline CancelCommandRequest& WithCommandId(const char* value) { SetCommandId(value); return *this;} /** *(Optional) A list of managed node IDs on which you want to cancel the * command. If not provided, the command is canceled on every node on which it was * requested.
*/ inline const Aws::Vector(Optional) A list of managed node IDs on which you want to cancel the * command. If not provided, the command is canceled on every node on which it was * requested.
*/ inline bool InstanceIdsHasBeenSet() const { return m_instanceIdsHasBeenSet; } /** *(Optional) A list of managed node IDs on which you want to cancel the * command. If not provided, the command is canceled on every node on which it was * requested.
*/ inline void SetInstanceIds(const Aws::Vector(Optional) A list of managed node IDs on which you want to cancel the * command. If not provided, the command is canceled on every node on which it was * requested.
*/ inline void SetInstanceIds(Aws::Vector(Optional) A list of managed node IDs on which you want to cancel the * command. If not provided, the command is canceled on every node on which it was * requested.
*/ inline CancelCommandRequest& WithInstanceIds(const Aws::Vector(Optional) A list of managed node IDs on which you want to cancel the * command. If not provided, the command is canceled on every node on which it was * requested.
*/ inline CancelCommandRequest& WithInstanceIds(Aws::Vector(Optional) A list of managed node IDs on which you want to cancel the * command. If not provided, the command is canceled on every node on which it was * requested.
*/ inline CancelCommandRequest& AddInstanceIds(const Aws::String& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; } /** *(Optional) A list of managed node IDs on which you want to cancel the * command. If not provided, the command is canceled on every node on which it was * requested.
*/ inline CancelCommandRequest& AddInstanceIds(Aws::String&& value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(std::move(value)); return *this; } /** *(Optional) A list of managed node IDs on which you want to cancel the * command. If not provided, the command is canceled on every node on which it was * requested.
*/ inline CancelCommandRequest& AddInstanceIds(const char* value) { m_instanceIdsHasBeenSet = true; m_instanceIds.push_back(value); return *this; } private: Aws::String m_commandId; bool m_commandIdHasBeenSet = false; Aws::Vector