AWS SDK for C++

AWS SDK for C++ Version 1.11.936

Loading...
Searching...
No Matches
StringSearch.h
1
6#pragma once
7#include <aws/billingconductor/BillingConductor_EXPORTS.h>
8#include <aws/billingconductor/model/SearchOption.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 BillingConductor {
21namespace Model {
22
30 public:
31 AWS_BILLINGCONDUCTOR_API StringSearch() = default;
32 AWS_BILLINGCONDUCTOR_API StringSearch(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BILLINGCONDUCTOR_API StringSearch& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline SearchOption GetSearchOption() const { return m_searchOption; }
41 inline bool SearchOptionHasBeenSet() const { return m_searchOptionHasBeenSet; }
42 inline void SetSearchOption(SearchOption value) {
43 m_searchOptionHasBeenSet = true;
44 m_searchOption = value;
45 }
47 SetSearchOption(value);
48 return *this;
49 }
51
53
56 inline const Aws::String& GetSearchValue() const { return m_searchValue; }
57 inline bool SearchValueHasBeenSet() const { return m_searchValueHasBeenSet; }
58 template <typename SearchValueT = Aws::String>
59 void SetSearchValue(SearchValueT&& value) {
60 m_searchValueHasBeenSet = true;
61 m_searchValue = std::forward<SearchValueT>(value);
62 }
63 template <typename SearchValueT = Aws::String>
64 StringSearch& WithSearchValue(SearchValueT&& value) {
65 SetSearchValue(std::forward<SearchValueT>(value));
66 return *this;
67 }
69 private:
70 SearchOption m_searchOption{SearchOption::NOT_SET};
71
72 Aws::String m_searchValue;
73 bool m_searchOptionHasBeenSet = false;
74 bool m_searchValueHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace BillingConductor
79} // namespace Aws
AWS_BILLINGCONDUCTOR_API StringSearch & operator=(Aws::Utils::Json::JsonView jsonValue)
StringSearch & WithSearchOption(SearchOption value)
void SetSearchValue(SearchValueT &&value)
AWS_BILLINGCONDUCTOR_API StringSearch(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSearchValue() const
AWS_BILLINGCONDUCTOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BILLINGCONDUCTOR_API StringSearch()=default
void SetSearchOption(SearchOption value)
StringSearch & WithSearchValue(SearchValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue