AWS SDK for C++  1.9.72
AWS SDK for C++
DeleteConfigRuleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ConfigService
15 {
16 namespace Model
17 {
18 
25  {
26  public:
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.
33  inline virtual const char* GetServiceRequestName() const override { return "DeleteConfigRule"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetConfigRuleName() const{ return m_configRuleName; }
44 
48  inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
49 
53  inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
54 
58  inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::move(value); }
59 
63  inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); }
64 
68  inline DeleteConfigRuleRequest& WithConfigRuleName(const Aws::String& value) { SetConfigRuleName(value); return *this;}
69 
73  inline DeleteConfigRuleRequest& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(std::move(value)); return *this;}
74 
78  inline DeleteConfigRuleRequest& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
79 
80  private:
81 
82  Aws::String m_configRuleName;
83  bool m_configRuleNameHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace ConfigService
88 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ConfigService::Model::DeleteConfigRuleRequest::SetConfigRuleName
void SetConfigRuleName(const Aws::String &value)
Definition: DeleteConfigRuleRequest.h:53
Aws::ConfigService::Model::DeleteConfigRuleRequest::SetConfigRuleName
void SetConfigRuleName(const char *value)
Definition: DeleteConfigRuleRequest.h:63
Aws::ConfigService::Model::DeleteConfigRuleRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ConfigService::Model::DeleteConfigRuleRequest::ConfigRuleNameHasBeenSet
bool ConfigRuleNameHasBeenSet() const
Definition: DeleteConfigRuleRequest.h:48
Aws::ConfigService::Model::DeleteConfigRuleRequest::SetConfigRuleName
void SetConfigRuleName(Aws::String &&value)
Definition: DeleteConfigRuleRequest.h:58
ConfigService_EXPORTS.h
Aws::ConfigService::Model::DeleteConfigRuleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteConfigRuleRequest.h:33
Aws::ConfigService::ConfigServiceRequest
Definition: ConfigServiceRequest.h:17
AWSString.h
Aws::ConfigService::Model::DeleteConfigRuleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ConfigService::Model::DeleteConfigRuleRequest
Definition: DeleteConfigRuleRequest.h:25
Aws::ConfigService::Model::DeleteConfigRuleRequest::DeleteConfigRuleRequest
DeleteConfigRuleRequest()
Aws::ConfigService::Model::DeleteConfigRuleRequest::GetConfigRuleName
const Aws::String & GetConfigRuleName() const
Definition: DeleteConfigRuleRequest.h:43
Aws::ConfigService::Model::DeleteConfigRuleRequest::WithConfigRuleName
DeleteConfigRuleRequest & WithConfigRuleName(Aws::String &&value)
Definition: DeleteConfigRuleRequest.h:73
Aws
Definition: AccessManagementClient.h:15
Aws::ConfigService::Model::DeleteConfigRuleRequest::WithConfigRuleName
DeleteConfigRuleRequest & WithConfigRuleName(const Aws::String &value)
Definition: DeleteConfigRuleRequest.h:68
ConfigServiceRequest.h
Aws::ConfigService::Model::DeleteConfigRuleRequest::WithConfigRuleName
DeleteConfigRuleRequest & WithConfigRuleName(const char *value)
Definition: DeleteConfigRuleRequest.h:78
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONFIGSERVICE_API
#define AWS_CONFIGSERVICE_API
Definition: ConfigService_EXPORTS.h:28