AWS SDK for C++  0.12.9
AWS SDK for C++
ListAttachedAssessmentsRequest.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
20 
21 namespace Aws
22 {
23 namespace Inspector
24 {
25 namespace Model
26 {
27 
31  {
32  public:
34  Aws::String SerializePayload() const override;
35 
36  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37 
41  inline const Aws::String& GetRulesPackageArn() const{ return m_rulesPackageArn; }
42 
46  inline void SetRulesPackageArn(const Aws::String& value) { m_rulesPackageArnHasBeenSet = true; m_rulesPackageArn = value; }
47 
51  inline void SetRulesPackageArn(Aws::String&& value) { m_rulesPackageArnHasBeenSet = true; m_rulesPackageArn = value; }
52 
56  inline void SetRulesPackageArn(const char* value) { m_rulesPackageArnHasBeenSet = true; m_rulesPackageArn.assign(value); }
57 
61  inline ListAttachedAssessmentsRequest& WithRulesPackageArn(const Aws::String& value) { SetRulesPackageArn(value); return *this;}
62 
66  inline ListAttachedAssessmentsRequest& WithRulesPackageArn(Aws::String&& value) { SetRulesPackageArn(value); return *this;}
67 
71  inline ListAttachedAssessmentsRequest& WithRulesPackageArn(const char* value) { SetRulesPackageArn(value); return *this;}
72 
79  inline const AssessmentsFilter& GetFilter() const{ return m_filter; }
80 
87  inline void SetFilter(const AssessmentsFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
88 
95  inline void SetFilter(AssessmentsFilter&& value) { m_filterHasBeenSet = true; m_filter = value; }
96 
103  inline ListAttachedAssessmentsRequest& WithFilter(const AssessmentsFilter& value) { SetFilter(value); return *this;}
104 
111  inline ListAttachedAssessmentsRequest& WithFilter(AssessmentsFilter&& value) { SetFilter(value); return *this;}
112 
120  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
121 
129  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
130 
138  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
139 
147  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
148 
156  inline ListAttachedAssessmentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
157 
165  inline ListAttachedAssessmentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
166 
174  inline ListAttachedAssessmentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
175 
180  inline long GetMaxResults() const{ return m_maxResults; }
181 
186  inline void SetMaxResults(long value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
187 
192  inline ListAttachedAssessmentsRequest& WithMaxResults(long value) { SetMaxResults(value); return *this;}
193 
194  private:
195  Aws::String m_rulesPackageArn;
196  bool m_rulesPackageArnHasBeenSet;
197  AssessmentsFilter m_filter;
198  bool m_filterHasBeenSet;
199  Aws::String m_nextToken;
200  bool m_nextTokenHasBeenSet;
201  long m_maxResults;
202  bool m_maxResultsHasBeenSet;
203  };
204 
205 } // namespace Model
206 } // namespace Inspector
207 } // namespace Aws
ListAttachedAssessmentsRequest & WithNextToken(const Aws::String &value)
ListAttachedAssessmentsRequest & WithFilter(const AssessmentsFilter &value)
#define AWS_INSPECTOR_API
ListAttachedAssessmentsRequest & WithNextToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
ListAttachedAssessmentsRequest & WithRulesPackageArn(Aws::String &&value)
ListAttachedAssessmentsRequest & WithRulesPackageArn(const char *value)
ListAttachedAssessmentsRequest & WithMaxResults(long value)
ListAttachedAssessmentsRequest & WithFilter(AssessmentsFilter &&value)
ListAttachedAssessmentsRequest & WithRulesPackageArn(const Aws::String &value)
ListAttachedAssessmentsRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JSON (JavaScript Object Notation).