1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
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/config/model/AggregateConformancePackComplianceFilters.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ConfigService
16 {
17 namespace Model
18 {
19 
20   /**
21    */
22   class AWS_CONFIGSERVICE_API DescribeAggregateComplianceByConformancePacksRequest : public ConfigServiceRequest
23   {
24   public:
25     DescribeAggregateComplianceByConformancePacksRequest();
26 
27     // Service request name is the Operation name which will send this request out,
28     // each operation should has unique request name, so that we can get operation's name from this request.
29     // Note: this is not true for response, multiple operations may have the same response name,
30     // so we can not get operation's name from response.
GetServiceRequestName()31     inline virtual const char* GetServiceRequestName() const override { return "DescribeAggregateComplianceByConformancePacks"; }
32 
33     Aws::String SerializePayload() const override;
34 
35     Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36 
37 
38     /**
39      * <p>The name of the configuration aggregator.</p>
40      */
GetConfigurationAggregatorName()41     inline const Aws::String& GetConfigurationAggregatorName() const{ return m_configurationAggregatorName; }
42 
43     /**
44      * <p>The name of the configuration aggregator.</p>
45      */
ConfigurationAggregatorNameHasBeenSet()46     inline bool ConfigurationAggregatorNameHasBeenSet() const { return m_configurationAggregatorNameHasBeenSet; }
47 
48     /**
49      * <p>The name of the configuration aggregator.</p>
50      */
SetConfigurationAggregatorName(const Aws::String & value)51     inline void SetConfigurationAggregatorName(const Aws::String& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = value; }
52 
53     /**
54      * <p>The name of the configuration aggregator.</p>
55      */
SetConfigurationAggregatorName(Aws::String && value)56     inline void SetConfigurationAggregatorName(Aws::String&& value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName = std::move(value); }
57 
58     /**
59      * <p>The name of the configuration aggregator.</p>
60      */
SetConfigurationAggregatorName(const char * value)61     inline void SetConfigurationAggregatorName(const char* value) { m_configurationAggregatorNameHasBeenSet = true; m_configurationAggregatorName.assign(value); }
62 
63     /**
64      * <p>The name of the configuration aggregator.</p>
65      */
WithConfigurationAggregatorName(const Aws::String & value)66     inline DescribeAggregateComplianceByConformancePacksRequest& WithConfigurationAggregatorName(const Aws::String& value) { SetConfigurationAggregatorName(value); return *this;}
67 
68     /**
69      * <p>The name of the configuration aggregator.</p>
70      */
WithConfigurationAggregatorName(Aws::String && value)71     inline DescribeAggregateComplianceByConformancePacksRequest& WithConfigurationAggregatorName(Aws::String&& value) { SetConfigurationAggregatorName(std::move(value)); return *this;}
72 
73     /**
74      * <p>The name of the configuration aggregator.</p>
75      */
WithConfigurationAggregatorName(const char * value)76     inline DescribeAggregateComplianceByConformancePacksRequest& WithConfigurationAggregatorName(const char* value) { SetConfigurationAggregatorName(value); return *this;}
77 
78 
79     /**
80      * <p>Filters the result by <code>AggregateConformancePackComplianceFilters</code>
81      * object.</p>
82      */
GetFilters()83     inline const AggregateConformancePackComplianceFilters& GetFilters() const{ return m_filters; }
84 
85     /**
86      * <p>Filters the result by <code>AggregateConformancePackComplianceFilters</code>
87      * object.</p>
88      */
FiltersHasBeenSet()89     inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
90 
91     /**
92      * <p>Filters the result by <code>AggregateConformancePackComplianceFilters</code>
93      * object.</p>
94      */
SetFilters(const AggregateConformancePackComplianceFilters & value)95     inline void SetFilters(const AggregateConformancePackComplianceFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
96 
97     /**
98      * <p>Filters the result by <code>AggregateConformancePackComplianceFilters</code>
99      * object.</p>
100      */
SetFilters(AggregateConformancePackComplianceFilters && value)101     inline void SetFilters(AggregateConformancePackComplianceFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
102 
103     /**
104      * <p>Filters the result by <code>AggregateConformancePackComplianceFilters</code>
105      * object.</p>
106      */
WithFilters(const AggregateConformancePackComplianceFilters & value)107     inline DescribeAggregateComplianceByConformancePacksRequest& WithFilters(const AggregateConformancePackComplianceFilters& value) { SetFilters(value); return *this;}
108 
109     /**
110      * <p>Filters the result by <code>AggregateConformancePackComplianceFilters</code>
111      * object.</p>
112      */
WithFilters(AggregateConformancePackComplianceFilters && value)113     inline DescribeAggregateComplianceByConformancePacksRequest& WithFilters(AggregateConformancePackComplianceFilters&& value) { SetFilters(std::move(value)); return *this;}
114 
115 
116     /**
117      * <p>The maximum number of conformance packs compliance details returned on each
118      * page. The default is maximum. If you specify 0, Config uses the default. </p>
119      */
GetLimit()120     inline int GetLimit() const{ return m_limit; }
121 
122     /**
123      * <p>The maximum number of conformance packs compliance details returned on each
124      * page. The default is maximum. If you specify 0, Config uses the default. </p>
125      */
LimitHasBeenSet()126     inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
127 
128     /**
129      * <p>The maximum number of conformance packs compliance details returned on each
130      * page. The default is maximum. If you specify 0, Config uses the default. </p>
131      */
SetLimit(int value)132     inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
133 
134     /**
135      * <p>The maximum number of conformance packs compliance details returned on each
136      * page. The default is maximum. If you specify 0, Config uses the default. </p>
137      */
WithLimit(int value)138     inline DescribeAggregateComplianceByConformancePacksRequest& WithLimit(int value) { SetLimit(value); return *this;}
139 
140 
141     /**
142      * <p>The <code>nextToken</code> string returned on a previous page that you use to
143      * get the next page of results in a paginated response.</p>
144      */
GetNextToken()145     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
146 
147     /**
148      * <p>The <code>nextToken</code> string returned on a previous page that you use to
149      * get the next page of results in a paginated response.</p>
150      */
NextTokenHasBeenSet()151     inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
152 
153     /**
154      * <p>The <code>nextToken</code> string returned on a previous page that you use to
155      * get the next page of results in a paginated response.</p>
156      */
SetNextToken(const Aws::String & value)157     inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
158 
159     /**
160      * <p>The <code>nextToken</code> string returned on a previous page that you use to
161      * get the next page of results in a paginated response.</p>
162      */
SetNextToken(Aws::String && value)163     inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
164 
165     /**
166      * <p>The <code>nextToken</code> string returned on a previous page that you use to
167      * get the next page of results in a paginated response.</p>
168      */
SetNextToken(const char * value)169     inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
170 
171     /**
172      * <p>The <code>nextToken</code> string returned on a previous page that you use to
173      * get the next page of results in a paginated response.</p>
174      */
WithNextToken(const Aws::String & value)175     inline DescribeAggregateComplianceByConformancePacksRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
176 
177     /**
178      * <p>The <code>nextToken</code> string returned on a previous page that you use to
179      * get the next page of results in a paginated response.</p>
180      */
WithNextToken(Aws::String && value)181     inline DescribeAggregateComplianceByConformancePacksRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
182 
183     /**
184      * <p>The <code>nextToken</code> string returned on a previous page that you use to
185      * get the next page of results in a paginated response.</p>
186      */
WithNextToken(const char * value)187     inline DescribeAggregateComplianceByConformancePacksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
188 
189   private:
190 
191     Aws::String m_configurationAggregatorName;
192     bool m_configurationAggregatorNameHasBeenSet;
193 
194     AggregateConformancePackComplianceFilters m_filters;
195     bool m_filtersHasBeenSet;
196 
197     int m_limit;
198     bool m_limitHasBeenSet;
199 
200     Aws::String m_nextToken;
201     bool m_nextTokenHasBeenSet;
202   };
203 
204 } // namespace Model
205 } // namespace ConfigService
206 } // namespace Aws
207