AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
DeleteRemediationExceptionsRequest.h
1
6#pragma once
7#include <aws/config/ConfigServiceRequest.h>
8#include <aws/config/ConfigService_EXPORTS.h>
9#include <aws/config/model/RemediationExceptionResourceKey.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ConfigService {
17namespace Model {
18
22 public:
23 AWS_CONFIGSERVICE_API DeleteRemediationExceptionsRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DeleteRemediationExceptions"; }
30
31 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
32
33 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
40 inline const Aws::String& GetConfigRuleName() const { return m_configRuleName; }
41 inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
42 template <typename ConfigRuleNameT = Aws::String>
43 void SetConfigRuleName(ConfigRuleNameT&& value) {
44 m_configRuleNameHasBeenSet = true;
45 m_configRuleName = std::forward<ConfigRuleNameT>(value);
46 }
47 template <typename ConfigRuleNameT = Aws::String>
49 SetConfigRuleName(std::forward<ConfigRuleNameT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::Vector<RemediationExceptionResourceKey>& GetResourceKeys() const { return m_resourceKeys; }
61 inline bool ResourceKeysHasBeenSet() const { return m_resourceKeysHasBeenSet; }
62 template <typename ResourceKeysT = Aws::Vector<RemediationExceptionResourceKey>>
63 void SetResourceKeys(ResourceKeysT&& value) {
64 m_resourceKeysHasBeenSet = true;
65 m_resourceKeys = std::forward<ResourceKeysT>(value);
66 }
67 template <typename ResourceKeysT = Aws::Vector<RemediationExceptionResourceKey>>
69 SetResourceKeys(std::forward<ResourceKeysT>(value));
70 return *this;
71 }
72 template <typename ResourceKeysT = RemediationExceptionResourceKey>
74 m_resourceKeysHasBeenSet = true;
75 m_resourceKeys.emplace_back(std::forward<ResourceKeysT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_configRuleName;
81
83 bool m_configRuleNameHasBeenSet = false;
84 bool m_resourceKeysHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace ConfigService
89} // namespace Aws
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
DeleteRemediationExceptionsRequest & WithConfigRuleName(ConfigRuleNameT &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteRemediationExceptionsRequest & AddResourceKeys(ResourceKeysT &&value)
const Aws::Vector< RemediationExceptionResourceKey > & GetResourceKeys() const
DeleteRemediationExceptionsRequest & WithResourceKeys(ResourceKeysT &&value)
AWS_CONFIGSERVICE_API DeleteRemediationExceptionsRequest()=default
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