AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Condition.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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:
37 AWS_S3_API Condition();
38 AWS_S3_API Condition(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_S3_API Condition& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
42
43
45
52 inline const Aws::String& GetHttpErrorCodeReturnedEquals() const{ return m_httpErrorCodeReturnedEquals; }
53 inline bool HttpErrorCodeReturnedEqualsHasBeenSet() const { return m_httpErrorCodeReturnedEqualsHasBeenSet; }
54 inline void SetHttpErrorCodeReturnedEquals(const Aws::String& value) { m_httpErrorCodeReturnedEqualsHasBeenSet = true; m_httpErrorCodeReturnedEquals = value; }
55 inline void SetHttpErrorCodeReturnedEquals(Aws::String&& value) { m_httpErrorCodeReturnedEqualsHasBeenSet = true; m_httpErrorCodeReturnedEquals = std::move(value); }
56 inline void SetHttpErrorCodeReturnedEquals(const char* value) { m_httpErrorCodeReturnedEqualsHasBeenSet = true; m_httpErrorCodeReturnedEquals.assign(value); }
58 inline Condition& WithHttpErrorCodeReturnedEquals(Aws::String&& value) { SetHttpErrorCodeReturnedEquals(std::move(value)); return *this;}
59 inline Condition& WithHttpErrorCodeReturnedEquals(const char* value) { SetHttpErrorCodeReturnedEquals(value); return *this;}
61
63
77 inline const Aws::String& GetKeyPrefixEquals() const{ return m_keyPrefixEquals; }
78 inline bool KeyPrefixEqualsHasBeenSet() const { return m_keyPrefixEqualsHasBeenSet; }
79 inline void SetKeyPrefixEquals(const Aws::String& value) { m_keyPrefixEqualsHasBeenSet = true; m_keyPrefixEquals = value; }
80 inline void SetKeyPrefixEquals(Aws::String&& value) { m_keyPrefixEqualsHasBeenSet = true; m_keyPrefixEquals = std::move(value); }
81 inline void SetKeyPrefixEquals(const char* value) { m_keyPrefixEqualsHasBeenSet = true; m_keyPrefixEquals.assign(value); }
82 inline Condition& WithKeyPrefixEquals(const Aws::String& value) { SetKeyPrefixEquals(value); return *this;}
83 inline Condition& WithKeyPrefixEquals(Aws::String&& value) { SetKeyPrefixEquals(std::move(value)); return *this;}
84 inline Condition& WithKeyPrefixEquals(const char* value) { SetKeyPrefixEquals(value); return *this;}
86 private:
87
88 Aws::String m_httpErrorCodeReturnedEquals;
89 bool m_httpErrorCodeReturnedEqualsHasBeenSet = false;
90
91 Aws::String m_keyPrefixEquals;
92 bool m_keyPrefixEqualsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace S3
97} // namespace Aws
AWS_S3_API Condition & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHttpErrorCodeReturnedEquals(const char *value)
Definition Condition.h:56
void SetKeyPrefixEquals(const Aws::String &value)
Definition Condition.h:79
void SetHttpErrorCodeReturnedEquals(const Aws::String &value)
Definition Condition.h:54
Condition & WithKeyPrefixEquals(Aws::String &&value)
Definition Condition.h:83
bool KeyPrefixEqualsHasBeenSet() const
Definition Condition.h:78
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Condition & WithHttpErrorCodeReturnedEquals(const char *value)
Definition Condition.h:59
void SetHttpErrorCodeReturnedEquals(Aws::String &&value)
Definition Condition.h:55
AWS_S3_API Condition(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetHttpErrorCodeReturnedEquals() const
Definition Condition.h:52
Condition & WithHttpErrorCodeReturnedEquals(const Aws::String &value)
Definition Condition.h:57
void SetKeyPrefixEquals(const char *value)
Definition Condition.h:81
const Aws::String & GetKeyPrefixEquals() const
Definition Condition.h:77
void SetKeyPrefixEquals(Aws::String &&value)
Definition Condition.h:80
bool HttpErrorCodeReturnedEqualsHasBeenSet() const
Definition Condition.h:53
Condition & WithHttpErrorCodeReturnedEquals(Aws::String &&value)
Definition Condition.h:58
Condition & WithKeyPrefixEquals(const char *value)
Definition Condition.h:84
Condition & WithKeyPrefixEquals(const Aws::String &value)
Definition Condition.h:82
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String