AWS SDK for C++  0.14.3
AWS SDK for C++
ListByteMatchSetsResult.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 {
38  {
39  public:
43 
52  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
53 
62  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
63 
72  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = value; }
73 
82  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
83 
92  inline ListByteMatchSetsResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
93 
102  inline ListByteMatchSetsResult& WithNextMarker(Aws::String&& value) { SetNextMarker(value); return *this;}
103 
112  inline ListByteMatchSetsResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
113 
117  inline const Aws::Vector<ByteMatchSetSummary>& GetByteMatchSets() const{ return m_byteMatchSets; }
118 
122  inline void SetByteMatchSets(const Aws::Vector<ByteMatchSetSummary>& value) { m_byteMatchSets = value; }
123 
127  inline void SetByteMatchSets(Aws::Vector<ByteMatchSetSummary>&& value) { m_byteMatchSets = value; }
128 
132  inline ListByteMatchSetsResult& WithByteMatchSets(const Aws::Vector<ByteMatchSetSummary>& value) { SetByteMatchSets(value); return *this;}
133 
137  inline ListByteMatchSetsResult& WithByteMatchSets(Aws::Vector<ByteMatchSetSummary>&& value) { SetByteMatchSets(value); return *this;}
138 
142  inline ListByteMatchSetsResult& AddByteMatchSets(const ByteMatchSetSummary& value) { m_byteMatchSets.push_back(value); return *this; }
143 
147  inline ListByteMatchSetsResult& AddByteMatchSets(ByteMatchSetSummary&& value) { m_byteMatchSets.push_back(value); return *this; }
148 
149  private:
150  Aws::String m_nextMarker;
151  Aws::Vector<ByteMatchSetSummary> m_byteMatchSets;
152  };
153 
154 } // namespace Model
155 } // namespace WAF
156 } // namespace Aws
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
ListByteMatchSetsResult & WithNextMarker(const char *value)
void SetByteMatchSets(Aws::Vector< ByteMatchSetSummary > &&value)
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:37
void SetByteMatchSets(const Aws::Vector< ByteMatchSetSummary > &value)
ListByteMatchSetsResult & WithNextMarker(const Aws::String &value)
ListByteMatchSetsResult & WithByteMatchSets(Aws::Vector< ByteMatchSetSummary > &&value)
ListByteMatchSetsResult & WithNextMarker(Aws::String &&value)
ListByteMatchSetsResult & AddByteMatchSets(const ByteMatchSetSummary &value)
const Aws::Vector< ByteMatchSetSummary > & GetByteMatchSets() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListByteMatchSetsResult & AddByteMatchSets(ByteMatchSetSummary &&value)
void SetNextMarker(const Aws::String &value)
JSON (JavaScript Object Notation).
ListByteMatchSetsResult & WithByteMatchSets(const Aws::Vector< ByteMatchSetSummary > &value)