AWS SDK for C++  1.9.104
AWS SDK for C++
KeywordFilter.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SecurityHub
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetValue() const{ return m_value; }
44 
48  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
49 
53  inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
54 
58  inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
59 
63  inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
64 
68  inline KeywordFilter& WithValue(const Aws::String& value) { SetValue(value); return *this;}
69 
73  inline KeywordFilter& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
74 
78  inline KeywordFilter& WithValue(const char* value) { SetValue(value); return *this;}
79 
80  private:
81 
82  Aws::String m_value;
83  bool m_valueHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace SecurityHub
88 } // namespace Aws
Aws::SecurityHub::Model::KeywordFilter::SetValue
void SetValue(const char *value)
Definition: KeywordFilter.h:63
Aws::SecurityHub::Model::KeywordFilter::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::KeywordFilter::KeywordFilter
KeywordFilter()
Aws::SecurityHub::Model::KeywordFilter::WithValue
KeywordFilter & WithValue(Aws::String &&value)
Definition: KeywordFilter.h:73
Aws::SecurityHub::Model::KeywordFilter::operator=
KeywordFilter & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::KeywordFilter::GetValue
const Aws::String & GetValue() const
Definition: KeywordFilter.h:43
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::KeywordFilter
Definition: KeywordFilter.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::KeywordFilter::WithValue
KeywordFilter & WithValue(const Aws::String &value)
Definition: KeywordFilter.h:68
Aws::SecurityHub::Model::KeywordFilter::KeywordFilter
KeywordFilter(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h
Aws::SecurityHub::Model::KeywordFilter::SetValue
void SetValue(const Aws::String &value)
Definition: KeywordFilter.h:53
Aws::SecurityHub::Model::KeywordFilter::SetValue
void SetValue(Aws::String &&value)
Definition: KeywordFilter.h:58
Aws::SecurityHub::Model::KeywordFilter::WithValue
KeywordFilter & WithValue(const char *value)
Definition: KeywordFilter.h:78
Aws::SecurityHub::Model::KeywordFilter::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: KeywordFilter.h:48