AWS SDK for C++  0.14.3
AWS SDK for C++
ByteMatchSetSummary.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>
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace WAF
29 {
30 namespace Model
31 {
32 
39  {
40  public:
43  ByteMatchSetSummary& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
54  inline const Aws::String& GetByteMatchSetId() const{ return m_byteMatchSetId; }
55 
64  inline void SetByteMatchSetId(const Aws::String& value) { m_byteMatchSetIdHasBeenSet = true; m_byteMatchSetId = value; }
65 
74  inline void SetByteMatchSetId(Aws::String&& value) { m_byteMatchSetIdHasBeenSet = true; m_byteMatchSetId = value; }
75 
84  inline void SetByteMatchSetId(const char* value) { m_byteMatchSetIdHasBeenSet = true; m_byteMatchSetId.assign(value); }
85 
94  inline ByteMatchSetSummary& WithByteMatchSetId(const Aws::String& value) { SetByteMatchSetId(value); return *this;}
95 
104  inline ByteMatchSetSummary& WithByteMatchSetId(Aws::String&& value) { SetByteMatchSetId(value); return *this;}
105 
114  inline ByteMatchSetSummary& WithByteMatchSetId(const char* value) { SetByteMatchSetId(value); return *this;}
115 
120  inline const Aws::String& GetName() const{ return m_name; }
121 
126  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
127 
132  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = value; }
133 
138  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
139 
144  inline ByteMatchSetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
145 
150  inline ByteMatchSetSummary& WithName(Aws::String&& value) { SetName(value); return *this;}
151 
156  inline ByteMatchSetSummary& WithName(const char* value) { SetName(value); return *this;}
157 
158  private:
159  Aws::String m_byteMatchSetId;
160  bool m_byteMatchSetIdHasBeenSet;
161  Aws::String m_name;
162  bool m_nameHasBeenSet;
163  };
164 
165 } // namespace Model
166 } // namespace WAF
167 } // namespace Aws
void SetByteMatchSetId(Aws::String &&value)
ByteMatchSetSummary & WithByteMatchSetId(Aws::String &&value)
void SetByteMatchSetId(const char *value)
const Aws::String & GetName() const
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:37
void SetByteMatchSetId(const Aws::String &value)
void SetName(const Aws::String &value)
const Aws::String & GetByteMatchSetId() const
ByteMatchSetSummary & WithName(const Aws::String &value)
ByteMatchSetSummary & WithByteMatchSetId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ByteMatchSetSummary & WithByteMatchSetId(const Aws::String &value)
ByteMatchSetSummary & WithName(Aws::String &&value)
ByteMatchSetSummary & WithName(const char *value)
JSON (JavaScript Object Notation).