AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribeExpressionsRequest.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
29 public:
30 AWS_CLOUDSEARCH_API DescribeExpressionsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DescribeExpressions"; }
37
38 AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
42
43 public:
45
48 inline const Aws::String& GetDomainName() const { return m_domainName; }
49 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
50 template <typename DomainNameT = Aws::String>
51 void SetDomainName(DomainNameT&& value) {
52 m_domainNameHasBeenSet = true;
53 m_domainName = std::forward<DomainNameT>(value);
54 }
55 template <typename DomainNameT = Aws::String>
57 SetDomainName(std::forward<DomainNameT>(value));
58 return *this;
59 }
61
63
67 inline const Aws::Vector<Aws::String>& GetExpressionNames() const { return m_expressionNames; }
68 inline bool ExpressionNamesHasBeenSet() const { return m_expressionNamesHasBeenSet; }
69 template <typename ExpressionNamesT = Aws::Vector<Aws::String>>
70 void SetExpressionNames(ExpressionNamesT&& value) {
71 m_expressionNamesHasBeenSet = true;
72 m_expressionNames = std::forward<ExpressionNamesT>(value);
73 }
74 template <typename ExpressionNamesT = Aws::Vector<Aws::String>>
76 SetExpressionNames(std::forward<ExpressionNamesT>(value));
77 return *this;
78 }
79 template <typename ExpressionNamesT = Aws::String>
81 m_expressionNamesHasBeenSet = true;
82 m_expressionNames.emplace_back(std::forward<ExpressionNamesT>(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_expressionNames;
107
108 bool m_deployed{false};
109 bool m_domainNameHasBeenSet = false;
110 bool m_expressionNamesHasBeenSet = false;
111 bool m_deployedHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace CloudSearch
116} // namespace Aws
virtual const char * GetServiceRequestName() const override
DescribeExpressionsRequest & WithDeployed(bool value)
const Aws::Vector< Aws::String > & GetExpressionNames() const
AWS_CLOUDSEARCH_API DescribeExpressionsRequest()=default
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeExpressionsRequest & AddExpressionNames(ExpressionNamesT &&value)
DescribeExpressionsRequest & WithExpressionNames(ExpressionNamesT &&value)
DescribeExpressionsRequest & WithDomainName(DomainNameT &&value)
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector