AWS SDK for C++  0.12.9
AWS SDK for C++
ListAssessmentAgentsRequest.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& GetAssessmentArn() const{ return m_assessmentArn; }
42 
46  inline void SetAssessmentArn(const Aws::String& value) { m_assessmentArnHasBeenSet = true; m_assessmentArn = value; }
47 
51  inline void SetAssessmentArn(Aws::String&& value) { m_assessmentArnHasBeenSet = true; m_assessmentArn = value; }
52 
56  inline void SetAssessmentArn(const char* value) { m_assessmentArnHasBeenSet = true; m_assessmentArn.assign(value); }
57 
61  inline ListAssessmentAgentsRequest& WithAssessmentArn(const Aws::String& value) { SetAssessmentArn(value); return *this;}
62 
66  inline ListAssessmentAgentsRequest& WithAssessmentArn(Aws::String&& value) { SetAssessmentArn(value); return *this;}
67 
71  inline ListAssessmentAgentsRequest& WithAssessmentArn(const char* value) { SetAssessmentArn(value); return *this;}
72 
79  inline const AgentsFilter& GetFilter() const{ return m_filter; }
80 
87  inline void SetFilter(const AgentsFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
88 
95  inline void SetFilter(AgentsFilter&& value) { m_filterHasBeenSet = true; m_filter = value; }
96 
103  inline ListAssessmentAgentsRequest& WithFilter(const AgentsFilter& value) { SetFilter(value); return *this;}
104 
111  inline ListAssessmentAgentsRequest& WithFilter(AgentsFilter&& 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 ListAssessmentAgentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
157 
165  inline ListAssessmentAgentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
166 
174  inline ListAssessmentAgentsRequest& 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 ListAssessmentAgentsRequest& WithMaxResults(long value) { SetMaxResults(value); return *this;}
193 
194  private:
195  Aws::String m_assessmentArn;
196  bool m_assessmentArnHasBeenSet;
197  AgentsFilter 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
ListAssessmentAgentsRequest & WithFilter(AgentsFilter &&value)
#define AWS_INSPECTOR_API
ListAssessmentAgentsRequest & WithMaxResults(long value)
ListAssessmentAgentsRequest & WithNextToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:63
ListAssessmentAgentsRequest & WithAssessmentArn(const char *value)
ListAssessmentAgentsRequest & WithAssessmentArn(const Aws::String &value)
ListAssessmentAgentsRequest & WithFilter(const AgentsFilter &value)
ListAssessmentAgentsRequest & WithAssessmentArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListAssessmentAgentsRequest & WithNextToken(const Aws::String &value)
ListAssessmentAgentsRequest & WithNextToken(const char *value)
JSON (JavaScript Object Notation).