AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeComplianceByConfigRuleRequest.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/ComplianceType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ConfigService
17{
18namespace Model
19{
20
27 {
28 public:
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 "DescribeComplianceByConfigRule"; }
36
37 AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetConfigRuleNames() const{ return m_configRuleNames; }
47 inline bool ConfigRuleNamesHasBeenSet() const { return m_configRuleNamesHasBeenSet; }
48 inline void SetConfigRuleNames(const Aws::Vector<Aws::String>& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = value; }
49 inline void SetConfigRuleNames(Aws::Vector<Aws::String>&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames = std::move(value); }
52 inline DescribeComplianceByConfigRuleRequest& AddConfigRuleNames(const Aws::String& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(value); return *this; }
53 inline DescribeComplianceByConfigRuleRequest& AddConfigRuleNames(Aws::String&& value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(std::move(value)); return *this; }
54 inline DescribeComplianceByConfigRuleRequest& AddConfigRuleNames(const char* value) { m_configRuleNamesHasBeenSet = true; m_configRuleNames.push_back(value); return *this; }
56
58
61 inline const Aws::Vector<ComplianceType>& GetComplianceTypes() const{ return m_complianceTypes; }
62 inline bool ComplianceTypesHasBeenSet() const { return m_complianceTypesHasBeenSet; }
63 inline void SetComplianceTypes(const Aws::Vector<ComplianceType>& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes = value; }
64 inline void SetComplianceTypes(Aws::Vector<ComplianceType>&& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes = std::move(value); }
67 inline DescribeComplianceByConfigRuleRequest& AddComplianceTypes(const ComplianceType& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes.push_back(value); return *this; }
68 inline DescribeComplianceByConfigRuleRequest& AddComplianceTypes(ComplianceType&& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes.push_back(std::move(value)); return *this; }
70
72
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
79 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
81 inline DescribeComplianceByConfigRuleRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
82 inline DescribeComplianceByConfigRuleRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
83 inline DescribeComplianceByConfigRuleRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
85 private:
86
87 Aws::Vector<Aws::String> m_configRuleNames;
88 bool m_configRuleNamesHasBeenSet = false;
89
90 Aws::Vector<ComplianceType> m_complianceTypes;
91 bool m_complianceTypesHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace ConfigService
99} // namespace Aws
DescribeComplianceByConfigRuleRequest & AddConfigRuleNames(Aws::String &&value)
DescribeComplianceByConfigRuleRequest & WithNextToken(Aws::String &&value)
AWS_CONFIGSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_CONFIGSERVICE_API Aws::String SerializePayload() const override
DescribeComplianceByConfigRuleRequest & WithNextToken(const Aws::String &value)
DescribeComplianceByConfigRuleRequest & WithNextToken(const char *value)
DescribeComplianceByConfigRuleRequest & AddComplianceTypes(const ComplianceType &value)
DescribeComplianceByConfigRuleRequest & AddComplianceTypes(ComplianceType &&value)
DescribeComplianceByConfigRuleRequest & WithComplianceTypes(const Aws::Vector< ComplianceType > &value)
DescribeComplianceByConfigRuleRequest & AddConfigRuleNames(const char *value)
DescribeComplianceByConfigRuleRequest & AddConfigRuleNames(const Aws::String &value)
DescribeComplianceByConfigRuleRequest & WithConfigRuleNames(Aws::Vector< Aws::String > &&value)
DescribeComplianceByConfigRuleRequest & WithComplianceTypes(Aws::Vector< ComplianceType > &&value)
DescribeComplianceByConfigRuleRequest & WithConfigRuleNames(const Aws::Vector< Aws::String > &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