AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const KeywordInputType& GetKeywordInputType() const{ return m_keywordInputType; }
72 inline bool KeywordInputTypeHasBeenSet() const { return m_keywordInputTypeHasBeenSet; }
73 inline void SetKeywordInputType(const KeywordInputType& value) { m_keywordInputTypeHasBeenSet = true; m_keywordInputType = value; }
74 inline void SetKeywordInputType(KeywordInputType&& value) { m_keywordInputTypeHasBeenSet = true; m_keywordInputType = std::move(value); }
75 inline SourceKeyword& WithKeywordInputType(const KeywordInputType& value) { SetKeywordInputType(value); return *this;}
76 inline SourceKeyword& WithKeywordInputType(KeywordInputType&& value) { SetKeywordInputType(std::move(value)); return *this;}
78
80
148 inline const Aws::String& GetKeywordValue() const{ return m_keywordValue; }
149 inline bool KeywordValueHasBeenSet() const { return m_keywordValueHasBeenSet; }
150 inline void SetKeywordValue(const Aws::String& value) { m_keywordValueHasBeenSet = true; m_keywordValue = value; }
151 inline void SetKeywordValue(Aws::String&& value) { m_keywordValueHasBeenSet = true; m_keywordValue = std::move(value); }
152 inline void SetKeywordValue(const char* value) { m_keywordValueHasBeenSet = true; m_keywordValue.assign(value); }
153 inline SourceKeyword& WithKeywordValue(const Aws::String& value) { SetKeywordValue(value); return *this;}
154 inline SourceKeyword& WithKeywordValue(Aws::String&& value) { SetKeywordValue(std::move(value)); return *this;}
155 inline SourceKeyword& WithKeywordValue(const char* value) { SetKeywordValue(value); return *this;}
157 private:
158
159 KeywordInputType m_keywordInputType;
160 bool m_keywordInputTypeHasBeenSet = false;
161
162 Aws::String m_keywordValue;
163 bool m_keywordValueHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace AuditManager
168} // namespace Aws
void SetKeywordValue(const Aws::String &value)
SourceKeyword & WithKeywordInputType(KeywordInputType &&value)
const Aws::String & GetKeywordValue() const
void SetKeywordValue(Aws::String &&value)
AWS_AUDITMANAGER_API SourceKeyword(Aws::Utils::Json::JsonView jsonValue)
const KeywordInputType & GetKeywordInputType() const
AWS_AUDITMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUDITMANAGER_API SourceKeyword()
void SetKeywordInputType(KeywordInputType &&value)
SourceKeyword & WithKeywordValue(const Aws::String &value)
SourceKeyword & WithKeywordValue(const char *value)
SourceKeyword & WithKeywordValue(Aws::String &&value)
void SetKeywordInputType(const KeywordInputType &value)
AWS_AUDITMANAGER_API SourceKeyword & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeywordValue(const char *value)
SourceKeyword & WithKeywordInputType(const KeywordInputType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue