AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRemediationExecutionStatusRequest.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/ResourceKey.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ConfigService
17{
18namespace Model
19{
20
24 {
25 public:
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 "DescribeRemediationExecutionStatus"; }
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); }
50 inline DescribeRemediationExecutionStatusRequest& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
52
54
58 inline const Aws::Vector<ResourceKey>& GetResourceKeys() const{ return m_resourceKeys; }
59 inline bool ResourceKeysHasBeenSet() const { return m_resourceKeysHasBeenSet; }
60 inline void SetResourceKeys(const Aws::Vector<ResourceKey>& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys = value; }
61 inline void SetResourceKeys(Aws::Vector<ResourceKey>&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys = std::move(value); }
64 inline DescribeRemediationExecutionStatusRequest& AddResourceKeys(const ResourceKey& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys.push_back(value); return *this; }
65 inline DescribeRemediationExecutionStatusRequest& AddResourceKeys(ResourceKey&& value) { m_resourceKeysHasBeenSet = true; m_resourceKeys.push_back(std::move(value)); return *this; }
67
69
73 inline int GetLimit() const{ return m_limit; }
74 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
75 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
76 inline DescribeRemediationExecutionStatusRequest& WithLimit(int value) { SetLimit(value); return *this;}
78
80
84 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
86 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
87 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
88 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
90 inline DescribeRemediationExecutionStatusRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
91 inline DescribeRemediationExecutionStatusRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
93 private:
94
95 Aws::String m_configRuleName;
96 bool m_configRuleNameHasBeenSet = false;
97
98 Aws::Vector<ResourceKey> m_resourceKeys;
99 bool m_resourceKeysHasBeenSet = false;
100
101 int m_limit;
102 bool m_limitHasBeenSet = false;
103
104 Aws::String m_nextToken;
105 bool m_nextTokenHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace ConfigService
110} // namespace Aws
DescribeRemediationExecutionStatusRequest & WithResourceKeys(const Aws::Vector< ResourceKey > &value)
DescribeRemediationExecutionStatusRequest & AddResourceKeys(const ResourceKey &value)
DescribeRemediationExecutionStatusRequest & WithConfigRuleName(const Aws::String &value)
DescribeRemediationExecutionStatusRequest & WithConfigRuleName(const char *value)
DescribeRemediationExecutionStatusRequest & WithNextToken(const char *value)
DescribeRemediationExecutionStatusRequest & WithNextToken(Aws::String &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeRemediationExecutionStatusRequest & WithConfigRuleName(Aws::String &&value)
DescribeRemediationExecutionStatusRequest & WithResourceKeys(Aws::Vector< ResourceKey > &&value)
DescribeRemediationExecutionStatusRequest & WithNextToken(const Aws::String &value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
DescribeRemediationExecutionStatusRequest & AddResourceKeys(ResourceKey &&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