AWS SDK for C++  0.12.9
AWS SDK for C++
CreateByteMatchSetResult.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>
19 
20 namespace Aws
21 {
22 template<typename RESULT_TYPE>
23 class AmazonWebServiceResult;
24 
25 namespace Utils
26 {
27 namespace Json
28 {
29  class JsonValue;
30 } // namespace Json
31 } // namespace Utils
32 namespace WAF
33 {
34 namespace Model
35 {
37  {
38  public:
42 
47  inline const ByteMatchSet& GetByteMatchSet() const{ return m_byteMatchSet; }
48 
53  inline void SetByteMatchSet(const ByteMatchSet& value) { m_byteMatchSet = value; }
54 
59  inline void SetByteMatchSet(ByteMatchSet&& value) { m_byteMatchSet = value; }
60 
65  inline CreateByteMatchSetResult& WithByteMatchSet(const ByteMatchSet& value) { SetByteMatchSet(value); return *this;}
66 
71  inline CreateByteMatchSetResult& WithByteMatchSet(ByteMatchSet&& value) { SetByteMatchSet(value); return *this;}
72 
79  inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
80 
87  inline void SetChangeToken(const Aws::String& value) { m_changeToken = value; }
88 
95  inline void SetChangeToken(Aws::String&& value) { m_changeToken = value; }
96 
103  inline void SetChangeToken(const char* value) { m_changeToken.assign(value); }
104 
111  inline CreateByteMatchSetResult& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
112 
119  inline CreateByteMatchSetResult& WithChangeToken(Aws::String&& value) { SetChangeToken(value); return *this;}
120 
127  inline CreateByteMatchSetResult& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
128 
129  private:
130  ByteMatchSet m_byteMatchSet;
131  Aws::String m_changeToken;
132  };
133 
134 } // namespace Model
135 } // namespace WAF
136 } // namespace Aws
CreateByteMatchSetResult & WithByteMatchSet(const ByteMatchSet &value)
void SetByteMatchSet(const ByteMatchSet &value)
CreateByteMatchSetResult & WithByteMatchSet(ByteMatchSet &&value)
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:34
CreateByteMatchSetResult & WithChangeToken(Aws::String &&value)
CreateByteMatchSetResult & WithChangeToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateByteMatchSetResult & WithChangeToken(const char *value)
JSON (JavaScript Object Notation).