AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisScheme.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cloudsearch/model/AnalysisSchemeLanguage.h>
11#include <aws/cloudsearch/model/AnalysisOptions.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace CloudSearch
24{
25namespace Model
26{
27
39 {
40 public:
41 AWS_CLOUDSEARCH_API AnalysisScheme();
42 AWS_CLOUDSEARCH_API AnalysisScheme(const Aws::Utils::Xml::XmlNode& xmlNode);
43 AWS_CLOUDSEARCH_API AnalysisScheme& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
51 inline const Aws::String& GetAnalysisSchemeName() const{ return m_analysisSchemeName; }
52 inline bool AnalysisSchemeNameHasBeenSet() const { return m_analysisSchemeNameHasBeenSet; }
53 inline void SetAnalysisSchemeName(const Aws::String& value) { m_analysisSchemeNameHasBeenSet = true; m_analysisSchemeName = value; }
54 inline void SetAnalysisSchemeName(Aws::String&& value) { m_analysisSchemeNameHasBeenSet = true; m_analysisSchemeName = std::move(value); }
55 inline void SetAnalysisSchemeName(const char* value) { m_analysisSchemeNameHasBeenSet = true; m_analysisSchemeName.assign(value); }
56 inline AnalysisScheme& WithAnalysisSchemeName(const Aws::String& value) { SetAnalysisSchemeName(value); return *this;}
57 inline AnalysisScheme& WithAnalysisSchemeName(Aws::String&& value) { SetAnalysisSchemeName(std::move(value)); return *this;}
58 inline AnalysisScheme& WithAnalysisSchemeName(const char* value) { SetAnalysisSchemeName(value); return *this;}
60
62
63 inline const AnalysisSchemeLanguage& GetAnalysisSchemeLanguage() const{ return m_analysisSchemeLanguage; }
64 inline bool AnalysisSchemeLanguageHasBeenSet() const { return m_analysisSchemeLanguageHasBeenSet; }
65 inline void SetAnalysisSchemeLanguage(const AnalysisSchemeLanguage& value) { m_analysisSchemeLanguageHasBeenSet = true; m_analysisSchemeLanguage = value; }
66 inline void SetAnalysisSchemeLanguage(AnalysisSchemeLanguage&& value) { m_analysisSchemeLanguageHasBeenSet = true; m_analysisSchemeLanguage = std::move(value); }
70
72
73 inline const AnalysisOptions& GetAnalysisOptions() const{ return m_analysisOptions; }
74 inline bool AnalysisOptionsHasBeenSet() const { return m_analysisOptionsHasBeenSet; }
75 inline void SetAnalysisOptions(const AnalysisOptions& value) { m_analysisOptionsHasBeenSet = true; m_analysisOptions = value; }
76 inline void SetAnalysisOptions(AnalysisOptions&& value) { m_analysisOptionsHasBeenSet = true; m_analysisOptions = std::move(value); }
77 inline AnalysisScheme& WithAnalysisOptions(const AnalysisOptions& value) { SetAnalysisOptions(value); return *this;}
78 inline AnalysisScheme& WithAnalysisOptions(AnalysisOptions&& value) { SetAnalysisOptions(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_analysisSchemeName;
83 bool m_analysisSchemeNameHasBeenSet = false;
84
85 AnalysisSchemeLanguage m_analysisSchemeLanguage;
86 bool m_analysisSchemeLanguageHasBeenSet = false;
87
88 AnalysisOptions m_analysisOptions;
89 bool m_analysisOptionsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CloudSearch
94} // namespace Aws
AWS_CLOUDSEARCH_API AnalysisScheme & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalysisScheme & WithAnalysisSchemeName(Aws::String &&value)
void SetAnalysisOptions(const AnalysisOptions &value)
const AnalysisSchemeLanguage & GetAnalysisSchemeLanguage() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetAnalysisSchemeName(const char *value)
AnalysisScheme & WithAnalysisOptions(const AnalysisOptions &value)
void SetAnalysisSchemeLanguage(AnalysisSchemeLanguage &&value)
AnalysisScheme & WithAnalysisSchemeLanguage(AnalysisSchemeLanguage &&value)
void SetAnalysisSchemeLanguage(const AnalysisSchemeLanguage &value)
void SetAnalysisSchemeName(Aws::String &&value)
void SetAnalysisSchemeName(const Aws::String &value)
AnalysisScheme & WithAnalysisSchemeName(const Aws::String &value)
AWS_CLOUDSEARCH_API AnalysisScheme(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalysisScheme & WithAnalysisSchemeName(const char *value)
void SetAnalysisOptions(AnalysisOptions &&value)
const AnalysisOptions & GetAnalysisOptions() const
AnalysisScheme & WithAnalysisOptions(AnalysisOptions &&value)
AnalysisScheme & WithAnalysisSchemeLanguage(const AnalysisSchemeLanguage &value)
const Aws::String & GetAnalysisSchemeName() const
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream