AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteRemediationExceptionsRequest.h
1
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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/config/model/RemediationExceptionResourceKey.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ConfigService
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONFIGSERVICE_API DeleteRemediationExceptionsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DeleteRemediationExceptions"; }
33
34 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
44 inline const Aws::String& GetConfigRuleName() const{ return m_configRuleName; }
45 inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
46 inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
47 inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::move(value); }
48 inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); }
50 inline DeleteRemediationExceptionsRequest& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(std::move(value)); return *this;}
51 inline DeleteRemediationExceptionsRequest& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
53
55
60 inline const Aws::Vector<RemediationExceptionResourceKey>& GetResourceKeys() const{ return m_resourceKeys; }
61 inline bool ResourceKeysHasBeenSet() const { return m_resourceKeysHasBeenSet; }
62 inline void SetResourceKeys(const Aws::Vector<RemediationExceptionResourceKey>& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys = value; }
63 inline void SetResourceKeys(Aws::Vector<RemediationExceptionResourceKey>&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys = std::move(value); }
66 inline DeleteRemediationExceptionsRequest& AddResourceKeys(const RemediationExceptionResourceKey& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys.push_back(value); return *this; }
67 inline DeleteRemediationExceptionsRequest& AddResourceKeys(RemediationExceptionResourceKey&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_configRuleName;
72 bool m_configRuleNameHasBeenSet = false;
73
75 bool m_resourceKeysHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ConfigService
80} // namespace Aws
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
DeleteRemediationExceptionsRequest & AddResourceKeys(RemediationExceptionResourceKey &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetResourceKeys(const Aws::Vector< RemediationExceptionResourceKey > &value)
DeleteRemediationExceptionsRequest & WithConfigRuleName(const char *value)
DeleteRemediationExceptionsRequest & WithConfigRuleName(const Aws::String &value)
DeleteRemediationExceptionsRequest & AddResourceKeys(const RemediationExceptionResourceKey &value)
DeleteRemediationExceptionsRequest & WithResourceKeys(const Aws::Vector< RemediationExceptionResourceKey > &value)
DeleteRemediationExceptionsRequest & WithConfigRuleName(Aws::String &&value)
const Aws::Vector< RemediationExceptionResourceKey > & GetResourceKeys() const
void SetResourceKeys(Aws::Vector< RemediationExceptionResourceKey > &&value)
DeleteRemediationExceptionsRequest & WithResourceKeys(Aws::Vector< RemediationExceptionResourceKey > &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector