AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExpressionName(const Aws::String& value) { m_expressionNameHasBeenSet = true; m_expressionName = value; }
49 inline void SetExpressionName(Aws::String&& value) { m_expressionNameHasBeenSet = true; m_expressionName = std::move(value); }
50 inline void SetExpressionName(const char* value) { m_expressionNameHasBeenSet = true; m_expressionName.assign(value); }
51 inline Expression& WithExpressionName(const Aws::String& value) { SetExpressionName(value); return *this;}
52 inline Expression& WithExpressionName(Aws::String&& value) { SetExpressionName(std::move(value)); return *this;}
53 inline Expression& WithExpressionName(const char* value) { SetExpressionName(value); return *this;}
55
57
58 inline const Aws::String& GetExpressionValue() const{ return m_expressionValue; }
59 inline bool ExpressionValueHasBeenSet() const { return m_expressionValueHasBeenSet; }
60 inline void SetExpressionValue(const Aws::String& value) { m_expressionValueHasBeenSet = true; m_expressionValue = value; }
61 inline void SetExpressionValue(Aws::String&& value) { m_expressionValueHasBeenSet = true; m_expressionValue = std::move(value); }
62 inline void SetExpressionValue(const char* value) { m_expressionValueHasBeenSet = true; m_expressionValue.assign(value); }
63 inline Expression& WithExpressionValue(const Aws::String& value) { SetExpressionValue(value); return *this;}
64 inline Expression& WithExpressionValue(Aws::String&& value) { SetExpressionValue(std::move(value)); return *this;}
65 inline Expression& WithExpressionValue(const char* value) { SetExpressionValue(value); return *this;}
67 private:
68
69 Aws::String m_expressionName;
70 bool m_expressionNameHasBeenSet = false;
71
72 Aws::String m_expressionValue;
73 bool m_expressionValueHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CloudSearch
78} // namespace Aws
void SetExpressionName(const char *value)
Definition Expression.h:50
void SetExpressionValue(Aws::String &&value)
Definition Expression.h:61
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Expression & WithExpressionName(Aws::String &&value)
Definition Expression.h:52
Expression & WithExpressionValue(const Aws::String &value)
Definition Expression.h:63
void SetExpressionValue(const Aws::String &value)
Definition Expression.h:60
Expression & WithExpressionName(const Aws::String &value)
Definition Expression.h:51
void SetExpressionName(Aws::String &&value)
Definition Expression.h:49
AWS_CLOUDSEARCH_API Expression(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API Expression & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetExpressionValue(const char *value)
Definition Expression.h:62
const Aws::String & GetExpressionName() const
Definition Expression.h:46
const Aws::String & GetExpressionValue() const
Definition Expression.h:58
AWS_CLOUDSEARCH_API Expression()
Expression & WithExpressionValue(Aws::String &&value)
Definition Expression.h:64
Expression & WithExpressionName(const char *value)
Definition Expression.h:53
Expression & WithExpressionValue(const char *value)
Definition Expression.h:65
void SetExpressionName(const Aws::String &value)
Definition Expression.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream