AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace AuditManager {
21namespace Model {
22
44 public:
45 AWS_AUDITMANAGER_API SourceKeyword() = default;
46 AWS_AUDITMANAGER_API SourceKeyword(Aws::Utils::Json::JsonView jsonValue);
47 AWS_AUDITMANAGER_API SourceKeyword& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
49
51
65 inline KeywordInputType GetKeywordInputType() const { return m_keywordInputType; }
66 inline bool KeywordInputTypeHasBeenSet() const { return m_keywordInputTypeHasBeenSet; }
68 m_keywordInputTypeHasBeenSet = true;
69 m_keywordInputType = value;
70 }
73 return *this;
74 }
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) {
151 m_keywordValueHasBeenSet = true;
152 m_keywordValue = std::forward<KeywordValueT>(value);
153 }
154 template <typename KeywordValueT = Aws::String>
155 SourceKeyword& WithKeywordValue(KeywordValueT&& value) {
156 SetKeywordValue(std::forward<KeywordValueT>(value));
157 return *this;
158 }
160 private:
162
163 Aws::String m_keywordValue;
164 bool m_keywordInputTypeHasBeenSet = false;
165 bool m_keywordValueHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace AuditManager
170} // 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