AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribeAnalysisSchemesRequest.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearchRequest.h>
8#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CloudSearch {
16namespace Model {
17
30 public:
31 AWS_CLOUDSEARCH_API DescribeAnalysisSchemesRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "DescribeAnalysisSchemes"; }
38
39 AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override;
40
41 protected:
42 AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
43
44 public:
46
49 inline const Aws::String& GetDomainName() const { return m_domainName; }
50 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
51 template <typename DomainNameT = Aws::String>
52 void SetDomainName(DomainNameT&& value) {
53 m_domainNameHasBeenSet = true;
54 m_domainName = std::forward<DomainNameT>(value);
55 }
56 template <typename DomainNameT = Aws::String>
58 SetDomainName(std::forward<DomainNameT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::Vector<Aws::String>& GetAnalysisSchemeNames() const { return m_analysisSchemeNames; }
68 inline bool AnalysisSchemeNamesHasBeenSet() const { return m_analysisSchemeNamesHasBeenSet; }
69 template <typename AnalysisSchemeNamesT = Aws::Vector<Aws::String>>
70 void SetAnalysisSchemeNames(AnalysisSchemeNamesT&& value) {
71 m_analysisSchemeNamesHasBeenSet = true;
72 m_analysisSchemeNames = std::forward<AnalysisSchemeNamesT>(value);
73 }
74 template <typename AnalysisSchemeNamesT = Aws::Vector<Aws::String>>
76 SetAnalysisSchemeNames(std::forward<AnalysisSchemeNamesT>(value));
77 return *this;
78 }
79 template <typename AnalysisSchemeNamesT = Aws::String>
81 m_analysisSchemeNamesHasBeenSet = true;
82 m_analysisSchemeNames.emplace_back(std::forward<AnalysisSchemeNamesT>(value));
83 return *this;
84 }
86
88
92 inline bool GetDeployed() const { return m_deployed; }
93 inline bool DeployedHasBeenSet() const { return m_deployedHasBeenSet; }
94 inline void SetDeployed(bool value) {
95 m_deployedHasBeenSet = true;
96 m_deployed = value;
97 }
99 SetDeployed(value);
100 return *this;
101 }
103 private:
104 Aws::String m_domainName;
105
106 Aws::Vector<Aws::String> m_analysisSchemeNames;
107
108 bool m_deployed{false};
109 bool m_domainNameHasBeenSet = false;
110 bool m_analysisSchemeNamesHasBeenSet = false;
111 bool m_deployedHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace CloudSearch
116} // namespace Aws
DescribeAnalysisSchemesRequest & WithDomainName(DomainNameT &&value)
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetAnalysisSchemeNames() const
DescribeAnalysisSchemesRequest & AddAnalysisSchemeNames(AnalysisSchemeNamesT &&value)
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
AWS_CLOUDSEARCH_API DescribeAnalysisSchemesRequest()=default
DescribeAnalysisSchemesRequest & WithAnalysisSchemeNames(AnalysisSchemeNamesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector