AWS SDK for C++  0.14.3
AWS SDK for C++
ListSqlInjectionMatchSetsResult.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
16 #include <aws/waf/WAF_EXPORTS.h>
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Json
29 {
30  class JsonValue;
31 } // namespace Json
32 } // namespace Utils
33 namespace WAF
34 {
35 namespace Model
36 {
41  {
42  public:
46 
55  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
56 
65  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
66 
75  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = value; }
76 
85  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
86 
95  inline ListSqlInjectionMatchSetsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
96 
105  inline ListSqlInjectionMatchSetsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(value); return *this;}
106 
115  inline ListSqlInjectionMatchSetsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
116 
120  inline const Aws::Vector<SqlInjectionMatchSetSummary>& GetSqlInjectionMatchSets() const{ return m_sqlInjectionMatchSets; }
121 
125  inline void SetSqlInjectionMatchSets(const Aws::Vector<SqlInjectionMatchSetSummary>& value) { m_sqlInjectionMatchSets = value; }
126 
130  inline void SetSqlInjectionMatchSets(Aws::Vector<SqlInjectionMatchSetSummary>&& value) { m_sqlInjectionMatchSets = value; }
131 
135  inline ListSqlInjectionMatchSetsResult& WithSqlInjectionMatchSets(const Aws::Vector<SqlInjectionMatchSetSummary>& value) { SetSqlInjectionMatchSets(value); return *this;}
136 
140  inline ListSqlInjectionMatchSetsResult& WithSqlInjectionMatchSets(Aws::Vector<SqlInjectionMatchSetSummary>&& value) { SetSqlInjectionMatchSets(value); return *this;}
141 
145  inline ListSqlInjectionMatchSetsResult& AddSqlInjectionMatchSets(const SqlInjectionMatchSetSummary& value) { m_sqlInjectionMatchSets.push_back(value); return *this; }
146 
150  inline ListSqlInjectionMatchSetsResult& AddSqlInjectionMatchSets(SqlInjectionMatchSetSummary&& value) { m_sqlInjectionMatchSets.push_back(value); return *this; }
151 
152  private:
153  Aws::String m_nextMarker;
154  Aws::Vector<SqlInjectionMatchSetSummary> m_sqlInjectionMatchSets;
155  };
156 
157 } // namespace Model
158 } // namespace WAF
159 } // namespace Aws
void SetSqlInjectionMatchSets(const Aws::Vector< SqlInjectionMatchSetSummary > &value)
ListSqlInjectionMatchSetsResult & AddSqlInjectionMatchSets(SqlInjectionMatchSetSummary &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
ListSqlInjectionMatchSetsResult & AddSqlInjectionMatchSets(const SqlInjectionMatchSetSummary &value)
ListSqlInjectionMatchSetsResult & WithSqlInjectionMatchSets(Aws::Vector< SqlInjectionMatchSetSummary > &&value)
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:37
ListSqlInjectionMatchSetsResult & WithNextMarker(const Aws::String &value)
ListSqlInjectionMatchSetsResult & WithSqlInjectionMatchSets(const Aws::Vector< SqlInjectionMatchSetSummary > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListSqlInjectionMatchSetsResult & WithNextMarker(Aws::String &&value)
const Aws::Vector< SqlInjectionMatchSetSummary > & GetSqlInjectionMatchSets() const
void SetSqlInjectionMatchSets(Aws::Vector< SqlInjectionMatchSetSummary > &&value)
JSON (JavaScript Object Notation).
ListSqlInjectionMatchSetsResult & WithNextMarker(const char *value)