AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeConfigRulesRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/config/model/DescribeConfigRulesFilters.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ConfigService
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_CONFIGSERVICE_API DescribeConfigRulesRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DescribeConfigRules"; }
36
37 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
47 inline const Aws::Vector<Aws::String>& GetConfigRuleNames() const{ return m_configRuleNames; }
48 inline bool ConfigRuleNamesHasBeenSet() const { return m_configRuleNamesHasBeenSet; }
49 inline void SetConfigRuleNames(const Aws::Vector<Aws::String>& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = value; }
50 inline void SetConfigRuleNames(Aws::Vector<Aws::String>&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = std::move(value); }
53 inline DescribeConfigRulesRequest& AddConfigRuleNames(const Aws::String& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(value); return *this; }
54 inline DescribeConfigRulesRequest& AddConfigRuleNames(Aws::String&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(std::move(value)); return *this; }
55 inline DescribeConfigRulesRequest& AddConfigRuleNames(const char* value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(value); return *this; }
57
59
63 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
64 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
65 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
66 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
67 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
68 inline DescribeConfigRulesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
69 inline DescribeConfigRulesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
70 inline DescribeConfigRulesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
72
74
81 inline const DescribeConfigRulesFilters& GetFilters() const{ return m_filters; }
82 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
83 inline void SetFilters(const DescribeConfigRulesFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
84 inline void SetFilters(DescribeConfigRulesFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
85 inline DescribeConfigRulesRequest& WithFilters(const DescribeConfigRulesFilters& value) { SetFilters(value); return *this;}
86 inline DescribeConfigRulesRequest& WithFilters(DescribeConfigRulesFilters&& value) { SetFilters(std::move(value)); return *this;}
88 private:
89
90 Aws::Vector<Aws::String> m_configRuleNames;
91 bool m_configRuleNamesHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
97 bool m_filtersHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace ConfigService
102} // namespace Aws
DescribeConfigRulesRequest & AddConfigRuleNames(const char *value)
DescribeConfigRulesRequest & WithConfigRuleNames(const Aws::Vector< Aws::String > &value)
DescribeConfigRulesRequest & WithNextToken(const Aws::String &value)
DescribeConfigRulesRequest & WithConfigRuleNames(Aws::Vector< Aws::String > &&value)
const DescribeConfigRulesFilters & GetFilters() const
DescribeConfigRulesRequest & WithFilters(DescribeConfigRulesFilters &&value)
DescribeConfigRulesRequest & WithNextToken(const char *value)
DescribeConfigRulesRequest & AddConfigRuleNames(const Aws::String &value)
void SetConfigRuleNames(Aws::Vector< Aws::String > &&value)
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetConfigRuleNames() const
DescribeConfigRulesRequest & WithFilters(const DescribeConfigRulesFilters &value)
void SetFilters(const DescribeConfigRulesFilters &value)
void SetConfigRuleNames(const Aws::Vector< Aws::String > &value)
DescribeConfigRulesRequest & AddConfigRuleNames(Aws::String &&value)
DescribeConfigRulesRequest & WithNextToken(Aws::String &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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