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/config/ConfigService_EXPORTS.h>
8 #include <aws/config/ConfigServiceRequest.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 ConfigService
16 {
17 namespace Model
18 {
19 
20   /**
21    */
22   class AWS_CONFIGSERVICE_API DescribeRemediationConfigurationsRequest : public ConfigServiceRequest
23   {
24   public:
25     DescribeRemediationConfigurationsRequest();
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 "DescribeRemediationConfigurations"; }
32 
33     Aws::String SerializePayload() const override;
34 
35     Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36 
37 
38     /**
39      * <p>A list of Config rule names of remediation configurations for which you want
40      * details. </p>
41      */
GetConfigRuleNames()42     inline const Aws::Vector<Aws::String>& GetConfigRuleNames() const{ return m_configRuleNames; }
43 
44     /**
45      * <p>A list of Config rule names of remediation configurations for which you want
46      * details. </p>
47      */
ConfigRuleNamesHasBeenSet()48     inline bool ConfigRuleNamesHasBeenSet() const { return m_configRuleNamesHasBeenSet; }
49 
50     /**
51      * <p>A list of Config rule names of remediation configurations for which you want
52      * details. </p>
53      */
SetConfigRuleNames(const Aws::Vector<Aws::String> & value)54     inline void SetConfigRuleNames(const Aws::Vector<Aws::String>& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = value; }
55 
56     /**
57      * <p>A list of Config rule names of remediation configurations for which you want
58      * details. </p>
59      */
SetConfigRuleNames(Aws::Vector<Aws::String> && value)60     inline void SetConfigRuleNames(Aws::Vector<Aws::String>&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = std::move(value); }
61 
62     /**
63      * <p>A list of Config rule names of remediation configurations for which you want
64      * details. </p>
65      */
WithConfigRuleNames(const Aws::Vector<Aws::String> & value)66     inline DescribeRemediationConfigurationsRequest& WithConfigRuleNames(const Aws::Vector<Aws::String>& value) { SetConfigRuleNames(value); return *this;}
67 
68     /**
69      * <p>A list of Config rule names of remediation configurations for which you want
70      * details. </p>
71      */
WithConfigRuleNames(Aws::Vector<Aws::String> && value)72     inline DescribeRemediationConfigurationsRequest& WithConfigRuleNames(Aws::Vector<Aws::String>&& value) { SetConfigRuleNames(std::move(value)); return *this;}
73 
74     /**
75      * <p>A list of Config rule names of remediation configurations for which you want
76      * details. </p>
77      */
AddConfigRuleNames(const Aws::String & value)78     inline DescribeRemediationConfigurationsRequest& AddConfigRuleNames(const Aws::String& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(value); return *this; }
79 
80     /**
81      * <p>A list of Config rule names of remediation configurations for which you want
82      * details. </p>
83      */
AddConfigRuleNames(Aws::String && value)84     inline DescribeRemediationConfigurationsRequest& AddConfigRuleNames(Aws::String&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(std::move(value)); return *this; }
85 
86     /**
87      * <p>A list of Config rule names of remediation configurations for which you want
88      * details. </p>
89      */
AddConfigRuleNames(const char * value)90     inline DescribeRemediationConfigurationsRequest& AddConfigRuleNames(const char* value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(value); return *this; }
91 
92   private:
93 
94     Aws::Vector<Aws::String> m_configRuleNames;
95     bool m_configRuleNamesHasBeenSet;
96   };
97 
98 } // namespace Model
99 } // namespace ConfigService
100 } // namespace Aws
101