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/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ConfigService
15 {
16 namespace Model
17 {
18 
19   /**
20    * <p/><p><h3>See Also:</h3>   <a
21    * href="http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DeleteEvaluationResultsRequest">AWS
22    * API Reference</a></p>
23    */
24   class AWS_CONFIGSERVICE_API DeleteEvaluationResultsRequest : public ConfigServiceRequest
25   {
26   public:
27     DeleteEvaluationResultsRequest();
28 
29     // Service request name is the Operation name which will send this request out,
30     // each operation should has unique request name, so that we can get operation's name from this request.
31     // Note: this is not true for response, multiple operations may have the same response name,
32     // so we can not get operation's name from response.
GetServiceRequestName()33     inline virtual const char* GetServiceRequestName() const override { return "DeleteEvaluationResults"; }
34 
35     Aws::String SerializePayload() const override;
36 
37     Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
40     /**
41      * <p>The name of the Config rule for which you want to delete the evaluation
42      * results.</p>
43      */
GetConfigRuleName()44     inline const Aws::String& GetConfigRuleName() const{ return m_configRuleName; }
45 
46     /**
47      * <p>The name of the Config rule for which you want to delete the evaluation
48      * results.</p>
49      */
ConfigRuleNameHasBeenSet()50     inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
51 
52     /**
53      * <p>The name of the Config rule for which you want to delete the evaluation
54      * results.</p>
55      */
SetConfigRuleName(const Aws::String & value)56     inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
57 
58     /**
59      * <p>The name of the Config rule for which you want to delete the evaluation
60      * results.</p>
61      */
SetConfigRuleName(Aws::String && value)62     inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::move(value); }
63 
64     /**
65      * <p>The name of the Config rule for which you want to delete the evaluation
66      * results.</p>
67      */
SetConfigRuleName(const char * value)68     inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); }
69 
70     /**
71      * <p>The name of the Config rule for which you want to delete the evaluation
72      * results.</p>
73      */
WithConfigRuleName(const Aws::String & value)74     inline DeleteEvaluationResultsRequest& WithConfigRuleName(const Aws::String& value) { SetConfigRuleName(value); return *this;}
75 
76     /**
77      * <p>The name of the Config rule for which you want to delete the evaluation
78      * results.</p>
79      */
WithConfigRuleName(Aws::String && value)80     inline DeleteEvaluationResultsRequest& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(std::move(value)); return *this;}
81 
82     /**
83      * <p>The name of the Config rule for which you want to delete the evaluation
84      * results.</p>
85      */
WithConfigRuleName(const char * value)86     inline DeleteEvaluationResultsRequest& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
87 
88   private:
89 
90     Aws::String m_configRuleName;
91     bool m_configRuleNameHasBeenSet;
92   };
93 
94 } // namespace Model
95 } // namespace ConfigService
96 } // namespace Aws
97