AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Condition.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Xml
16{
17 class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace S3
21{
22namespace Model
23{
24
35 {
36 public:
40
42
43
51 inline const Aws::String& GetHttpErrorCodeReturnedEquals() const{ return m_httpErrorCodeReturnedEquals; }
52
60 inline bool HttpErrorCodeReturnedEqualsHasBeenSet() const { return m_httpErrorCodeReturnedEqualsHasBeenSet; }
61
69 inline void SetHttpErrorCodeReturnedEquals(const Aws::String& value) { m_httpErrorCodeReturnedEqualsHasBeenSet = true; m_httpErrorCodeReturnedEquals = value; }
70
78 inline void SetHttpErrorCodeReturnedEquals(Aws::String&& value) { m_httpErrorCodeReturnedEqualsHasBeenSet = true; m_httpErrorCodeReturnedEquals = std::move(value); }
79
87 inline void SetHttpErrorCodeReturnedEquals(const char* value) { m_httpErrorCodeReturnedEqualsHasBeenSet = true; m_httpErrorCodeReturnedEquals.assign(value); }
88
97
105 inline Condition& WithHttpErrorCodeReturnedEquals(Aws::String&& value) { SetHttpErrorCodeReturnedEquals(std::move(value)); return *this;}
106
114 inline Condition& WithHttpErrorCodeReturnedEquals(const char* value) { SetHttpErrorCodeReturnedEquals(value); return *this;}
115
116
131 inline const Aws::String& GetKeyPrefixEquals() const{ return m_keyPrefixEquals; }
132
147 inline bool KeyPrefixEqualsHasBeenSet() const { return m_keyPrefixEqualsHasBeenSet; }
148
163 inline void SetKeyPrefixEquals(const Aws::String& value) { m_keyPrefixEqualsHasBeenSet = true; m_keyPrefixEquals = value; }
164
179 inline void SetKeyPrefixEquals(Aws::String&& value) { m_keyPrefixEqualsHasBeenSet = true; m_keyPrefixEquals = std::move(value); }
180
195 inline void SetKeyPrefixEquals(const char* value) { m_keyPrefixEqualsHasBeenSet = true; m_keyPrefixEquals.assign(value); }
196
211 inline Condition& WithKeyPrefixEquals(const Aws::String& value) { SetKeyPrefixEquals(value); return *this;}
212
227 inline Condition& WithKeyPrefixEquals(Aws::String&& value) { SetKeyPrefixEquals(std::move(value)); return *this;}
228
243 inline Condition& WithKeyPrefixEquals(const char* value) { SetKeyPrefixEquals(value); return *this;}
244
245 private:
246
247 Aws::String m_httpErrorCodeReturnedEquals;
248 bool m_httpErrorCodeReturnedEqualsHasBeenSet = false;
249
250 Aws::String m_keyPrefixEquals;
251 bool m_keyPrefixEqualsHasBeenSet = false;
252 };
253
254} // namespace Model
255} // namespace S3
256} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
AWS_S3_API Condition & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHttpErrorCodeReturnedEquals(const char *value)
Definition: Condition.h:87
void SetKeyPrefixEquals(const Aws::String &value)
Definition: Condition.h:163
void SetHttpErrorCodeReturnedEquals(const Aws::String &value)
Definition: Condition.h:69
Condition & WithKeyPrefixEquals(Aws::String &&value)
Definition: Condition.h:227
bool KeyPrefixEqualsHasBeenSet() const
Definition: Condition.h:147
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Condition & WithHttpErrorCodeReturnedEquals(const char *value)
Definition: Condition.h:114
void SetHttpErrorCodeReturnedEquals(Aws::String &&value)
Definition: Condition.h:78
AWS_S3_API Condition(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetHttpErrorCodeReturnedEquals() const
Definition: Condition.h:51
Condition & WithHttpErrorCodeReturnedEquals(const Aws::String &value)
Definition: Condition.h:96
void SetKeyPrefixEquals(const char *value)
Definition: Condition.h:195
const Aws::String & GetKeyPrefixEquals() const
Definition: Condition.h:131
void SetKeyPrefixEquals(Aws::String &&value)
Definition: Condition.h:179
bool HttpErrorCodeReturnedEqualsHasBeenSet() const
Definition: Condition.h:60
Condition & WithHttpErrorCodeReturnedEquals(Aws::String &&value)
Definition: Condition.h:105
Condition & WithKeyPrefixEquals(const char *value)
Definition: Condition.h:243
Condition & WithKeyPrefixEquals(const Aws::String &value)
Definition: Condition.h:211
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String