AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCondition.h
1
6#pragma once
7#include <aws/sdb/SimpleDB_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 SimpleDB
22{
23namespace Model
24{
25
36 {
37 public:
38 AWS_SIMPLEDB_API UpdateCondition();
39 AWS_SIMPLEDB_API UpdateCondition(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_SIMPLEDB_API UpdateCondition& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_SIMPLEDB_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_SIMPLEDB_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline UpdateCondition& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline UpdateCondition& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline UpdateCondition& WithName(const char* value) { SetName(value); return *this;}
59
61
65 inline const Aws::String& GetValue() const{ return m_value; }
66 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
67 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
68 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
69 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
70 inline UpdateCondition& WithValue(const Aws::String& value) { SetValue(value); return *this;}
71 inline UpdateCondition& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
72 inline UpdateCondition& WithValue(const char* value) { SetValue(value); return *this;}
74
76
83 inline bool GetExists() const{ return m_exists; }
84 inline bool ExistsHasBeenSet() const { return m_existsHasBeenSet; }
85 inline void SetExists(bool value) { m_existsHasBeenSet = true; m_exists = value; }
86 inline UpdateCondition& WithExists(bool value) { SetExists(value); return *this;}
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::String m_value;
94 bool m_valueHasBeenSet = false;
95
96 bool m_exists;
97 bool m_existsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace SimpleDB
102} // namespace Aws
AWS_SIMPLEDB_API UpdateCondition(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetName(const Aws::String &value)
const Aws::String & GetName() const
UpdateCondition & WithName(const Aws::String &value)
AWS_SIMPLEDB_API UpdateCondition & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetValue(const Aws::String &value)
UpdateCondition & WithValue(Aws::String &&value)
UpdateCondition & WithValue(const char *value)
void SetName(Aws::String &&value)
const Aws::String & GetValue() const
UpdateCondition & WithName(Aws::String &&value)
AWS_SIMPLEDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
UpdateCondition & WithName(const char *value)
AWS_SIMPLEDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetValue(Aws::String &&value)
UpdateCondition & WithValue(const Aws::String &value)
UpdateCondition & WithExists(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream