1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/robomaker/RoboMaker_EXPORTS.h> 8 #include <aws/robomaker/RoboMakerRequest.h> 9 #include <aws/core/utils/memory/stl/AWSString.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace RoboMaker 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_ROBOMAKER_API DeleteSimulationApplicationRequest : public RoboMakerRequest 22 { 23 public: 24 DeleteSimulationApplicationRequest(); 25 26 // Service request name is the Operation name which will send this request out, 27 // each operation should has unique request name, so that we can get operation's name from this request. 28 // Note: this is not true for response, multiple operations may have the same response name, 29 // so we can not get operation's name from response. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "DeleteSimulationApplication"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * <p>The application information for the simulation application to delete.</p> 37 */ GetApplication()38 inline const Aws::String& GetApplication() const{ return m_application; } 39 40 /** 41 * <p>The application information for the simulation application to delete.</p> 42 */ ApplicationHasBeenSet()43 inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; } 44 45 /** 46 * <p>The application information for the simulation application to delete.</p> 47 */ SetApplication(const Aws::String & value)48 inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; } 49 50 /** 51 * <p>The application information for the simulation application to delete.</p> 52 */ SetApplication(Aws::String && value)53 inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); } 54 55 /** 56 * <p>The application information for the simulation application to delete.</p> 57 */ SetApplication(const char * value)58 inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); } 59 60 /** 61 * <p>The application information for the simulation application to delete.</p> 62 */ WithApplication(const Aws::String & value)63 inline DeleteSimulationApplicationRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;} 64 65 /** 66 * <p>The application information for the simulation application to delete.</p> 67 */ WithApplication(Aws::String && value)68 inline DeleteSimulationApplicationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;} 69 70 /** 71 * <p>The application information for the simulation application to delete.</p> 72 */ WithApplication(const char * value)73 inline DeleteSimulationApplicationRequest& WithApplication(const char* value) { SetApplication(value); return *this;} 74 75 76 /** 77 * <p>The version of the simulation application to delete.</p> 78 */ GetApplicationVersion()79 inline const Aws::String& GetApplicationVersion() const{ return m_applicationVersion; } 80 81 /** 82 * <p>The version of the simulation application to delete.</p> 83 */ ApplicationVersionHasBeenSet()84 inline bool ApplicationVersionHasBeenSet() const { return m_applicationVersionHasBeenSet; } 85 86 /** 87 * <p>The version of the simulation application to delete.</p> 88 */ SetApplicationVersion(const Aws::String & value)89 inline void SetApplicationVersion(const Aws::String& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = value; } 90 91 /** 92 * <p>The version of the simulation application to delete.</p> 93 */ SetApplicationVersion(Aws::String && value)94 inline void SetApplicationVersion(Aws::String&& value) { m_applicationVersionHasBeenSet = true; m_applicationVersion = std::move(value); } 95 96 /** 97 * <p>The version of the simulation application to delete.</p> 98 */ SetApplicationVersion(const char * value)99 inline void SetApplicationVersion(const char* value) { m_applicationVersionHasBeenSet = true; m_applicationVersion.assign(value); } 100 101 /** 102 * <p>The version of the simulation application to delete.</p> 103 */ WithApplicationVersion(const Aws::String & value)104 inline DeleteSimulationApplicationRequest& WithApplicationVersion(const Aws::String& value) { SetApplicationVersion(value); return *this;} 105 106 /** 107 * <p>The version of the simulation application to delete.</p> 108 */ WithApplicationVersion(Aws::String && value)109 inline DeleteSimulationApplicationRequest& WithApplicationVersion(Aws::String&& value) { SetApplicationVersion(std::move(value)); return *this;} 110 111 /** 112 * <p>The version of the simulation application to delete.</p> 113 */ WithApplicationVersion(const char * value)114 inline DeleteSimulationApplicationRequest& WithApplicationVersion(const char* value) { SetApplicationVersion(value); return *this;} 115 116 private: 117 118 Aws::String m_application; 119 bool m_applicationHasBeenSet; 120 121 Aws::String m_applicationVersion; 122 bool m_applicationVersionHasBeenSet; 123 }; 124 125 } // namespace Model 126 } // namespace RoboMaker 127 } // namespace Aws 128