AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
Expression.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace CloudSearch
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDSEARCH_API Expression() = default;
37 AWS_CLOUDSEARCH_API Expression(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDSEARCH_API Expression& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
46 inline const Aws::String& GetExpressionName() const { return m_expressionName; }
47 inline bool ExpressionNameHasBeenSet() const { return m_expressionNameHasBeenSet; }
48 template<typename ExpressionNameT = Aws::String>
49 void SetExpressionName(ExpressionNameT&& value) { m_expressionNameHasBeenSet = true; m_expressionName = std::forward<ExpressionNameT>(value); }
50 template<typename ExpressionNameT = Aws::String>
51 Expression& WithExpressionName(ExpressionNameT&& value) { SetExpressionName(std::forward<ExpressionNameT>(value)); return *this;}
53
55
56 inline const Aws::String& GetExpressionValue() const { return m_expressionValue; }
57 inline bool ExpressionValueHasBeenSet() const { return m_expressionValueHasBeenSet; }
58 template<typename ExpressionValueT = Aws::String>
59 void SetExpressionValue(ExpressionValueT&& value) { m_expressionValueHasBeenSet = true; m_expressionValue = std::forward<ExpressionValueT>(value); }
60 template<typename ExpressionValueT = Aws::String>
61 Expression& WithExpressionValue(ExpressionValueT&& value) { SetExpressionValue(std::forward<ExpressionValueT>(value)); return *this;}
63 private:
64
65 Aws::String m_expressionName;
66 bool m_expressionNameHasBeenSet = false;
67
68 Aws::String m_expressionValue;
69 bool m_expressionValueHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CloudSearch
74} // namespace Aws
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetExpressionValue(ExpressionValueT &&value)
Definition Expression.h:59
AWS_CLOUDSEARCH_API Expression(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API Expression & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetExpressionName(ExpressionNameT &&value)
Definition Expression.h:49
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetExpressionName() const
Definition Expression.h:46
Expression & WithExpressionName(ExpressionNameT &&value)
Definition Expression.h:51
const Aws::String & GetExpressionValue() const
Definition Expression.h:56
AWS_CLOUDSEARCH_API Expression()=default
Expression & WithExpressionValue(ExpressionValueT &&value)
Definition Expression.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream