AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DefineExpressionResult.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/cloudsearch/model/ExpressionStatus.h>
9#include <aws/cloudsearch/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace CloudSearch
25{
26namespace Model
27{
35 {
36 public:
37 AWS_CLOUDSEARCH_API DefineExpressionResult();
40
41
43
44 inline const ExpressionStatus& GetExpression() const{ return m_expression; }
45 inline void SetExpression(const ExpressionStatus& value) { m_expression = value; }
46 inline void SetExpression(ExpressionStatus&& value) { m_expression = std::move(value); }
47 inline DefineExpressionResult& WithExpression(const ExpressionStatus& value) { SetExpression(value); return *this;}
48 inline DefineExpressionResult& WithExpression(ExpressionStatus&& value) { SetExpression(std::move(value)); return *this;}
50
52
53 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
54 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
55 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
57 inline DefineExpressionResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
59 private:
60
61 ExpressionStatus m_expression;
62
63 ResponseMetadata m_responseMetadata;
64 };
65
66} // namespace Model
67} // namespace CloudSearch
68} // namespace Aws
AWS_CLOUDSEARCH_API DefineExpressionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DefineExpressionResult & WithExpression(ExpressionStatus &&value)
AWS_CLOUDSEARCH_API DefineExpressionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DefineExpressionResult & WithResponseMetadata(ResponseMetadata &&value)
DefineExpressionResult & WithResponseMetadata(const ResponseMetadata &value)
DefineExpressionResult & WithExpression(const ExpressionStatus &value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetExpression(const ExpressionStatus &value)
Aws::Utils::Xml::XmlDocument XmlDocument