7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
9#include <aws/opensearch/model/DiffFieldPolicy.h>
20namespace OpenSearchService {
42 template <
typename PathT = Aws::String>
44 m_pathHasBeenSet =
true;
45 m_path = std::forward<PathT>(value);
47 template <
typename PathT = Aws::String>
49 SetPath(std::forward<PathT>(value));
60 template <
typename SourceValueT = Aws::String>
62 m_sourceValueHasBeenSet =
true;
63 m_sourceValue = std::forward<SourceValueT>(value);
65 template <
typename SourceValueT = Aws::String>
78 template <
typename TargetValueT = Aws::String>
80 m_targetValueHasBeenSet =
true;
81 m_targetValue = std::forward<TargetValueT>(value);
83 template <
typename TargetValueT = Aws::String>
97 m_policyHasBeenSet =
true;
113 bool m_pathHasBeenSet =
false;
114 bool m_sourceValueHasBeenSet =
false;
115 bool m_targetValueHasBeenSet =
false;
116 bool m_policyHasBeenSet =
false;
bool TargetValueHasBeenSet() const
void SetPolicy(DiffFieldPolicy value)
AWS_OPENSEARCHSERVICE_API DivergentField(Aws::Utils::Json::JsonView jsonValue)
void SetTargetValue(TargetValueT &&value)
DiffFieldPolicy GetPolicy() const
AWS_OPENSEARCHSERVICE_API DivergentField & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SourceValueHasBeenSet() const
DivergentField & WithTargetValue(TargetValueT &&value)
bool PathHasBeenSet() const
DivergentField & WithPolicy(DiffFieldPolicy value)
const Aws::String & GetTargetValue() const
DivergentField & WithPath(PathT &&value)
bool PolicyHasBeenSet() const
AWS_OPENSEARCHSERVICE_API DivergentField()=default
const Aws::String & GetSourceValue() const
void SetPath(PathT &&value)
void SetSourceValue(SourceValueT &&value)
DivergentField & WithSourceValue(SourceValueT &&value)
const Aws::String & GetPath() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue