AWS SDK for C++  0.14.3
AWS SDK for C++
GetComplianceDetailsByConfigRuleRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
21 
22 namespace Aws
23 {
24 namespace ConfigService
25 {
26 namespace Model
27 {
28 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
43  inline const Aws::String& GetConfigRuleName() const{ return m_configRuleName; }
44 
49  inline void SetConfigRuleName(const Aws::String& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
50 
55  inline void SetConfigRuleName(Aws::String&& value) { m_configRuleNameHasBeenSet = true; m_configRuleName = value; }
56 
61  inline void SetConfigRuleName(const char* value) { m_configRuleNameHasBeenSet = true; m_configRuleName.assign(value); }
62 
67  inline GetComplianceDetailsByConfigRuleRequest& WithConfigRuleName(const Aws::String& value) { SetConfigRuleName(value); return *this;}
68 
73  inline GetComplianceDetailsByConfigRuleRequest& WithConfigRuleName(Aws::String&& value) { SetConfigRuleName(value); return *this;}
74 
79  inline GetComplianceDetailsByConfigRuleRequest& WithConfigRuleName(const char* value) { SetConfigRuleName(value); return *this;}
80 
86  inline const Aws::Vector<ComplianceType>& GetComplianceTypes() const{ return m_complianceTypes; }
87 
93  inline void SetComplianceTypes(const Aws::Vector<ComplianceType>& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes = value; }
94 
100  inline void SetComplianceTypes(Aws::Vector<ComplianceType>&& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes = value; }
101 
107  inline GetComplianceDetailsByConfigRuleRequest& WithComplianceTypes(const Aws::Vector<ComplianceType>& value) { SetComplianceTypes(value); return *this;}
108 
114  inline GetComplianceDetailsByConfigRuleRequest& WithComplianceTypes(Aws::Vector<ComplianceType>&& value) { SetComplianceTypes(value); return *this;}
115 
121  inline GetComplianceDetailsByConfigRuleRequest& AddComplianceTypes(const ComplianceType& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes.push_back(value); return *this; }
122 
128  inline GetComplianceDetailsByConfigRuleRequest& AddComplianceTypes(ComplianceType&& value) { m_complianceTypesHasBeenSet = true; m_complianceTypes.push_back(value); return *this; }
129 
135  inline int GetLimit() const{ return m_limit; }
136 
142  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
143 
149  inline GetComplianceDetailsByConfigRuleRequest& WithLimit(int value) { SetLimit(value); return *this;}
150 
155  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
156 
161  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
162 
167  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
168 
173  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
174 
179  inline GetComplianceDetailsByConfigRuleRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
180 
185  inline GetComplianceDetailsByConfigRuleRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
186 
191  inline GetComplianceDetailsByConfigRuleRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
192 
193  private:
194  Aws::String m_configRuleName;
195  bool m_configRuleNameHasBeenSet;
196  Aws::Vector<ComplianceType> m_complianceTypes;
197  bool m_complianceTypesHasBeenSet;
198  int m_limit;
199  bool m_limitHasBeenSet;
200  Aws::String m_nextToken;
201  bool m_nextTokenHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace ConfigService
206 } // namespace Aws
GetComplianceDetailsByConfigRuleRequest & WithConfigRuleName(const Aws::String &value)
GetComplianceDetailsByConfigRuleRequest & WithConfigRuleName(Aws::String &&value)
GetComplianceDetailsByConfigRuleRequest & AddComplianceTypes(ComplianceType &&value)
GetComplianceDetailsByConfigRuleRequest & AddComplianceTypes(const ComplianceType &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
GetComplianceDetailsByConfigRuleRequest & WithNextToken(const Aws::String &value)
GetComplianceDetailsByConfigRuleRequest & WithConfigRuleName(const char *value)
GetComplianceDetailsByConfigRuleRequest & WithNextToken(Aws::String &&value)
GetComplianceDetailsByConfigRuleRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_CONFIGSERVICE_API
GetComplianceDetailsByConfigRuleRequest & WithComplianceTypes(const Aws::Vector< ComplianceType > &value)
GetComplianceDetailsByConfigRuleRequest & WithComplianceTypes(Aws::Vector< ComplianceType > &&value)
JSON (JavaScript Object Notation).