AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SourceKeyword.h
1
6#pragma once
7#include <aws/auditmanager/AuditManager_EXPORTS.h>
8#include <aws/auditmanager/model/KeywordInputType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AuditManager
23{
24namespace Model
25{
26
48 {
49 public:
50 AWS_AUDITMANAGER_API SourceKeyword() = default;
51 AWS_AUDITMANAGER_API SourceKeyword(Aws::Utils::Json::JsonView jsonValue);
52 AWS_AUDITMANAGER_API SourceKeyword& operator=(Aws::Utils::Json::JsonView jsonValue);
53 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
71 inline KeywordInputType GetKeywordInputType() const { return m_keywordInputType; }
72 inline bool KeywordInputTypeHasBeenSet() const { return m_keywordInputTypeHasBeenSet; }
73 inline void SetKeywordInputType(KeywordInputType value) { m_keywordInputTypeHasBeenSet = true; m_keywordInputType = value; }
76
78
147 inline const Aws::String& GetKeywordValue() const { return m_keywordValue; }
148 inline bool KeywordValueHasBeenSet() const { return m_keywordValueHasBeenSet; }
149 template<typename KeywordValueT = Aws::String>
150 void SetKeywordValue(KeywordValueT&& value) { m_keywordValueHasBeenSet = true; m_keywordValue = std::forward<KeywordValueT>(value); }
151 template<typename KeywordValueT = Aws::String>
152 SourceKeyword& WithKeywordValue(KeywordValueT&& value) { SetKeywordValue(std::forward<KeywordValueT>(value)); return *this;}
154 private:
155
157 bool m_keywordInputTypeHasBeenSet = false;
158
159 Aws::String m_keywordValue;
160 bool m_keywordValueHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace AuditManager
165} // namespace Aws
void SetKeywordValue(KeywordValueT &&value)
AWS_AUDITMANAGER_API SourceKeyword()=default
const Aws::String & GetKeywordValue() const
AWS_AUDITMANAGER_API SourceKeyword(Aws::Utils::Json::JsonView jsonValue)
SourceKeyword & WithKeywordValue(KeywordValueT &&value)
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
KeywordInputType GetKeywordInputType() const
SourceKeyword & WithKeywordInputType(KeywordInputType value)
void SetKeywordInputType(KeywordInputType value)
AWS_AUDITMANAGER_API SourceKeyword & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue