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/discovery/ApplicationDiscoveryService_EXPORTS.h>
8 #include <aws/discovery/ApplicationDiscoveryServiceRequest.h>
9 #include <aws/core/utils/memory/stl/AWSVector.h>
10 #include <aws/core/utils/memory/stl/AWSString.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ApplicationDiscoveryService
16 {
17 namespace Model
18 {
19 
20   /**
21    */
22   class AWS_APPLICATIONDISCOVERYSERVICE_API DeleteApplicationsRequest : public ApplicationDiscoveryServiceRequest
23   {
24   public:
25     DeleteApplicationsRequest();
26 
27     // Service request name is the Operation name which will send this request out,
28     // each operation should has unique request name, so that we can get operation's name from this request.
29     // Note: this is not true for response, multiple operations may have the same response name,
30     // so we can not get operation's name from response.
GetServiceRequestName()31     inline virtual const char* GetServiceRequestName() const override { return "DeleteApplications"; }
32 
33     Aws::String SerializePayload() const override;
34 
35     Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36 
37 
38     /**
39      * <p>Configuration ID of an application to be deleted.</p>
40      */
GetConfigurationIds()41     inline const Aws::Vector<Aws::String>& GetConfigurationIds() const{ return m_configurationIds; }
42 
43     /**
44      * <p>Configuration ID of an application to be deleted.</p>
45      */
ConfigurationIdsHasBeenSet()46     inline bool ConfigurationIdsHasBeenSet() const { return m_configurationIdsHasBeenSet; }
47 
48     /**
49      * <p>Configuration ID of an application to be deleted.</p>
50      */
SetConfigurationIds(const Aws::Vector<Aws::String> & value)51     inline void SetConfigurationIds(const Aws::Vector<Aws::String>& value) { m_configurationIdsHasBeenSet = true; m_configurationIds = value; }
52 
53     /**
54      * <p>Configuration ID of an application to be deleted.</p>
55      */
SetConfigurationIds(Aws::Vector<Aws::String> && value)56     inline void SetConfigurationIds(Aws::Vector<Aws::String>&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds = std::move(value); }
57 
58     /**
59      * <p>Configuration ID of an application to be deleted.</p>
60      */
WithConfigurationIds(const Aws::Vector<Aws::String> & value)61     inline DeleteApplicationsRequest& WithConfigurationIds(const Aws::Vector<Aws::String>& value) { SetConfigurationIds(value); return *this;}
62 
63     /**
64      * <p>Configuration ID of an application to be deleted.</p>
65      */
WithConfigurationIds(Aws::Vector<Aws::String> && value)66     inline DeleteApplicationsRequest& WithConfigurationIds(Aws::Vector<Aws::String>&& value) { SetConfigurationIds(std::move(value)); return *this;}
67 
68     /**
69      * <p>Configuration ID of an application to be deleted.</p>
70      */
AddConfigurationIds(const Aws::String & value)71     inline DeleteApplicationsRequest& AddConfigurationIds(const Aws::String& value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(value); return *this; }
72 
73     /**
74      * <p>Configuration ID of an application to be deleted.</p>
75      */
AddConfigurationIds(Aws::String && value)76     inline DeleteApplicationsRequest& AddConfigurationIds(Aws::String&& value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(std::move(value)); return *this; }
77 
78     /**
79      * <p>Configuration ID of an application to be deleted.</p>
80      */
AddConfigurationIds(const char * value)81     inline DeleteApplicationsRequest& AddConfigurationIds(const char* value) { m_configurationIdsHasBeenSet = true; m_configurationIds.push_back(value); return *this; }
82 
83   private:
84 
85     Aws::Vector<Aws::String> m_configurationIds;
86     bool m_configurationIdsHasBeenSet;
87   };
88 
89 } // namespace Model
90 } // namespace ApplicationDiscoveryService
91 } // namespace Aws
92