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-crt/S3Crt_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 S3Crt
21{
22namespace Model
23{
24
35 {
36 public:
37 AWS_S3CRT_API Condition();
38 AWS_S3CRT_API Condition(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_S3CRT_API Condition& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_S3CRT_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 S3Crt
97} // namespace Aws
AWS_S3CRT_API Condition & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHttpErrorCodeReturnedEquals(const char *value)
Definition Condition.h:56
const Aws::String & GetKeyPrefixEquals() const
Definition Condition.h:77
void SetHttpErrorCodeReturnedEquals(const Aws::String &value)
Definition Condition.h:54
Condition & WithKeyPrefixEquals(const char *value)
Definition Condition.h:84
Condition & WithKeyPrefixEquals(Aws::String &&value)
Definition Condition.h:83
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Condition & WithHttpErrorCodeReturnedEquals(Aws::String &&value)
Definition Condition.h:58
Condition & WithKeyPrefixEquals(const Aws::String &value)
Definition Condition.h:82
Condition & WithHttpErrorCodeReturnedEquals(const Aws::String &value)
Definition Condition.h:57
bool KeyPrefixEqualsHasBeenSet() const
Definition Condition.h:78
void SetKeyPrefixEquals(Aws::String &&value)
Definition Condition.h:80
AWS_S3CRT_API Condition(const Aws::Utils::Xml::XmlNode &xmlNode)
Condition & WithHttpErrorCodeReturnedEquals(const char *value)
Definition Condition.h:59
bool HttpErrorCodeReturnedEqualsHasBeenSet() const
Definition Condition.h:53
const Aws::String & GetHttpErrorCodeReturnedEquals() const
Definition Condition.h:52
void SetKeyPrefixEquals(const char *value)
Definition Condition.h:81
void SetKeyPrefixEquals(const Aws::String &value)
Definition Condition.h:79
void SetHttpErrorCodeReturnedEquals(Aws::String &&value)
Definition Condition.h:55
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String