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/ConformancePackComplianceFilters.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 DescribeConformancePackComplianceRequest : public ConfigServiceRequest
23   {
24   public:
25     DescribeConformancePackComplianceRequest();
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 "DescribeConformancePackCompliance"; }
32 
33     Aws::String SerializePayload() const override;
34 
35     Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36 
37 
38     /**
39      * <p>Name of the conformance pack.</p>
40      */
GetConformancePackName()41     inline const Aws::String& GetConformancePackName() const{ return m_conformancePackName; }
42 
43     /**
44      * <p>Name of the conformance pack.</p>
45      */
ConformancePackNameHasBeenSet()46     inline bool ConformancePackNameHasBeenSet() const { return m_conformancePackNameHasBeenSet; }
47 
48     /**
49      * <p>Name of the conformance pack.</p>
50      */
SetConformancePackName(const Aws::String & value)51     inline void SetConformancePackName(const Aws::String& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = value; }
52 
53     /**
54      * <p>Name of the conformance pack.</p>
55      */
SetConformancePackName(Aws::String && value)56     inline void SetConformancePackName(Aws::String&& value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName = std::move(value); }
57 
58     /**
59      * <p>Name of the conformance pack.</p>
60      */
SetConformancePackName(const char * value)61     inline void SetConformancePackName(const char* value) { m_conformancePackNameHasBeenSet = true; m_conformancePackName.assign(value); }
62 
63     /**
64      * <p>Name of the conformance pack.</p>
65      */
WithConformancePackName(const Aws::String & value)66     inline DescribeConformancePackComplianceRequest& WithConformancePackName(const Aws::String& value) { SetConformancePackName(value); return *this;}
67 
68     /**
69      * <p>Name of the conformance pack.</p>
70      */
WithConformancePackName(Aws::String && value)71     inline DescribeConformancePackComplianceRequest& WithConformancePackName(Aws::String&& value) { SetConformancePackName(std::move(value)); return *this;}
72 
73     /**
74      * <p>Name of the conformance pack.</p>
75      */
WithConformancePackName(const char * value)76     inline DescribeConformancePackComplianceRequest& WithConformancePackName(const char* value) { SetConformancePackName(value); return *this;}
77 
78 
79     /**
80      * <p>A <code>ConformancePackComplianceFilters</code> object.</p>
81      */
GetFilters()82     inline const ConformancePackComplianceFilters& GetFilters() const{ return m_filters; }
83 
84     /**
85      * <p>A <code>ConformancePackComplianceFilters</code> object.</p>
86      */
FiltersHasBeenSet()87     inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
88 
89     /**
90      * <p>A <code>ConformancePackComplianceFilters</code> object.</p>
91      */
SetFilters(const ConformancePackComplianceFilters & value)92     inline void SetFilters(const ConformancePackComplianceFilters& value) { m_filtersHasBeenSet = true; m_filters = value; }
93 
94     /**
95      * <p>A <code>ConformancePackComplianceFilters</code> object.</p>
96      */
SetFilters(ConformancePackComplianceFilters && value)97     inline void SetFilters(ConformancePackComplianceFilters&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
98 
99     /**
100      * <p>A <code>ConformancePackComplianceFilters</code> object.</p>
101      */
WithFilters(const ConformancePackComplianceFilters & value)102     inline DescribeConformancePackComplianceRequest& WithFilters(const ConformancePackComplianceFilters& value) { SetFilters(value); return *this;}
103 
104     /**
105      * <p>A <code>ConformancePackComplianceFilters</code> object.</p>
106      */
WithFilters(ConformancePackComplianceFilters && value)107     inline DescribeConformancePackComplianceRequest& WithFilters(ConformancePackComplianceFilters&& value) { SetFilters(std::move(value)); return *this;}
108 
109 
110     /**
111      * <p>The maximum number of Config rules within a conformance pack are returned on
112      * each page.</p>
113      */
GetLimit()114     inline int GetLimit() const{ return m_limit; }
115 
116     /**
117      * <p>The maximum number of Config rules within a conformance pack are returned on
118      * each page.</p>
119      */
LimitHasBeenSet()120     inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
121 
122     /**
123      * <p>The maximum number of Config rules within a conformance pack are returned on
124      * each page.</p>
125      */
SetLimit(int value)126     inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
127 
128     /**
129      * <p>The maximum number of Config rules within a conformance pack are returned on
130      * each page.</p>
131      */
WithLimit(int value)132     inline DescribeConformancePackComplianceRequest& WithLimit(int value) { SetLimit(value); return *this;}
133 
134 
135     /**
136      * <p>The <code>nextToken</code> string returned in a previous request that you use
137      * to request the next page of results in a paginated response.</p>
138      */
GetNextToken()139     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
140 
141     /**
142      * <p>The <code>nextToken</code> string returned in a previous request that you use
143      * to request the next page of results in a paginated response.</p>
144      */
NextTokenHasBeenSet()145     inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
146 
147     /**
148      * <p>The <code>nextToken</code> string returned in a previous request that you use
149      * to request the next page of results in a paginated response.</p>
150      */
SetNextToken(const Aws::String & value)151     inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
152 
153     /**
154      * <p>The <code>nextToken</code> string returned in a previous request that you use
155      * to request the next page of results in a paginated response.</p>
156      */
SetNextToken(Aws::String && value)157     inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
158 
159     /**
160      * <p>The <code>nextToken</code> string returned in a previous request that you use
161      * to request the next page of results in a paginated response.</p>
162      */
SetNextToken(const char * value)163     inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
164 
165     /**
166      * <p>The <code>nextToken</code> string returned in a previous request that you use
167      * to request the next page of results in a paginated response.</p>
168      */
WithNextToken(const Aws::String & value)169     inline DescribeConformancePackComplianceRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
170 
171     /**
172      * <p>The <code>nextToken</code> string returned in a previous request that you use
173      * to request the next page of results in a paginated response.</p>
174      */
WithNextToken(Aws::String && value)175     inline DescribeConformancePackComplianceRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
176 
177     /**
178      * <p>The <code>nextToken</code> string returned in a previous request that you use
179      * to request the next page of results in a paginated response.</p>
180      */
WithNextToken(const char * value)181     inline DescribeConformancePackComplianceRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
182 
183   private:
184 
185     Aws::String m_conformancePackName;
186     bool m_conformancePackNameHasBeenSet;
187 
188     ConformancePackComplianceFilters m_filters;
189     bool m_filtersHasBeenSet;
190 
191     int m_limit;
192     bool m_limitHasBeenSet;
193 
194     Aws::String m_nextToken;
195     bool m_nextTokenHasBeenSet;
196   };
197 
198 } // namespace Model
199 } // namespace ConfigService
200 } // namespace Aws
201