AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeRemediationExceptionsRequest.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 DescribeRemediationExceptionsRequest() = default;
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 "DescribeRemediationExceptions"; }
33
34 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
35
36 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetConfigRuleName() const { return m_configRuleName; }
44 inline bool ConfigRuleNameHasBeenSet() const { return m_configRuleNameHasBeenSet; }
45 template<typename ConfigRuleNameT = Aws::String>
46 void SetConfigRuleName(ConfigRuleNameT&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::forward<ConfigRuleNameT>(value); }
47 template<typename ConfigRuleNameT = Aws::String>
48 DescribeRemediationExceptionsRequest& WithConfigRuleName(ConfigRuleNameT&& value) { SetConfigRuleName(std::forward<ConfigRuleNameT>(value)); return *this;}
50
52
57 inline const Aws::Vector<RemediationExceptionResourceKey>& GetResourceKeys() const { return m_resourceKeys; }
58 inline bool ResourceKeysHasBeenSet() const { return m_resourceKeysHasBeenSet; }
59 template<typename ResourceKeysT = Aws::Vector<RemediationExceptionResourceKey>>
60 void SetResourceKeys(ResourceKeysT&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys = std::forward<ResourceKeysT>(value); }
61 template<typename ResourceKeysT = Aws::Vector<RemediationExceptionResourceKey>>
62 DescribeRemediationExceptionsRequest& WithResourceKeys(ResourceKeysT&& value) { SetResourceKeys(std::forward<ResourceKeysT>(value)); return *this;}
63 template<typename ResourceKeysT = RemediationExceptionResourceKey>
64 DescribeRemediationExceptionsRequest& AddResourceKeys(ResourceKeysT&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys.emplace_back(std::forward<ResourceKeysT>(value)); return *this; }
66
68
72 inline int GetLimit() const { return m_limit; }
73 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
74 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
75 inline DescribeRemediationExceptionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
77
79
83 inline const Aws::String& GetNextToken() const { return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 template<typename NextTokenT = Aws::String>
86 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
87 template<typename NextTokenT = Aws::String>
88 DescribeRemediationExceptionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
90 private:
91
92 Aws::String m_configRuleName;
93 bool m_configRuleNameHasBeenSet = false;
94
96 bool m_resourceKeysHasBeenSet = false;
97
98 int m_limit{0};
99 bool m_limitHasBeenSet = false;
100
101 Aws::String m_nextToken;
102 bool m_nextTokenHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ConfigService
107} // namespace Aws
AWS_CONFIGSERVICE_API DescribeRemediationExceptionsRequest()=default
const Aws::Vector< RemediationExceptionResourceKey > & GetResourceKeys() const
DescribeRemediationExceptionsRequest & WithConfigRuleName(ConfigRuleNameT &&value)
DescribeRemediationExceptionsRequest & AddResourceKeys(ResourceKeysT &&value)
DescribeRemediationExceptionsRequest & WithResourceKeys(ResourceKeysT &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
DescribeRemediationExceptionsRequest & WithNextToken(NextTokenT &&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