AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
46 inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = std::move(value); }
47 inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); }
49 inline DescribeRemediationExceptionsRequest& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(std::move(value)); return *this;}
50 inline DescribeRemediationExceptionsRequest& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
52
54
59 inline const Aws::Vector<RemediationExceptionResourceKey>& GetResourceKeys() const{ return m_resourceKeys; }
60 inline bool ResourceKeysHasBeenSet() const { return m_resourceKeysHasBeenSet; }
61 inline void SetResourceKeys(const Aws::Vector<RemediationExceptionResourceKey>& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys = value; }
62 inline void SetResourceKeys(Aws::Vector<RemediationExceptionResourceKey>&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys = std::move(value); }
65 inline DescribeRemediationExceptionsRequest& AddResourceKeys(const RemediationExceptionResourceKey& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys.push_back(value); return *this; }
66 inline DescribeRemediationExceptionsRequest& AddResourceKeys(RemediationExceptionResourceKey&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys.push_back(std::move(value)); return *this; }
68
70
74 inline int GetLimit() const{ return m_limit; }
75 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
76 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
77 inline DescribeRemediationExceptionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
79
81
85 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
87 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
88 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
89 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 inline DescribeRemediationExceptionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 inline DescribeRemediationExceptionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
92 inline DescribeRemediationExceptionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
94 private:
95
96 Aws::String m_configRuleName;
97 bool m_configRuleNameHasBeenSet = false;
98
100 bool m_resourceKeysHasBeenSet = false;
101
102 int m_limit;
103 bool m_limitHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace ConfigService
111} // namespace Aws
DescribeRemediationExceptionsRequest & WithNextToken(const char *value)
DescribeRemediationExceptionsRequest & WithConfigRuleName(const Aws::String &value)
const Aws::Vector< RemediationExceptionResourceKey > & GetResourceKeys() const
void SetResourceKeys(const Aws::Vector< RemediationExceptionResourceKey > &value)
DescribeRemediationExceptionsRequest & WithConfigRuleName(Aws::String &&value)
DescribeRemediationExceptionsRequest & WithResourceKeys(const Aws::Vector< RemediationExceptionResourceKey > &value)
DescribeRemediationExceptionsRequest & WithResourceKeys(Aws::Vector< RemediationExceptionResourceKey > &&value)
DescribeRemediationExceptionsRequest & AddResourceKeys(RemediationExceptionResourceKey &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeRemediationExceptionsRequest & WithNextToken(const Aws::String &value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
DescribeRemediationExceptionsRequest & WithConfigRuleName(const char *value)
DescribeRemediationExceptionsRequest & WithNextToken(Aws::String &&value)
DescribeRemediationExceptionsRequest & AddResourceKeys(const RemediationExceptionResourceKey &value)
void SetResourceKeys(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