AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConditionParameter.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Backup
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_BACKUP_API ConditionParameter();
40 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetConditionKey() const{ return m_conditionKey; }
49 inline bool ConditionKeyHasBeenSet() const { return m_conditionKeyHasBeenSet; }
50 inline void SetConditionKey(const Aws::String& value) { m_conditionKeyHasBeenSet = true; m_conditionKey = value; }
51 inline void SetConditionKey(Aws::String&& value) { m_conditionKeyHasBeenSet = true; m_conditionKey = std::move(value); }
52 inline void SetConditionKey(const char* value) { m_conditionKeyHasBeenSet = true; m_conditionKey.assign(value); }
53 inline ConditionParameter& WithConditionKey(const Aws::String& value) { SetConditionKey(value); return *this;}
54 inline ConditionParameter& WithConditionKey(Aws::String&& value) { SetConditionKey(std::move(value)); return *this;}
55 inline ConditionParameter& WithConditionKey(const char* value) { SetConditionKey(value); return *this;}
57
59
63 inline const Aws::String& GetConditionValue() const{ return m_conditionValue; }
64 inline bool ConditionValueHasBeenSet() const { return m_conditionValueHasBeenSet; }
65 inline void SetConditionValue(const Aws::String& value) { m_conditionValueHasBeenSet = true; m_conditionValue = value; }
66 inline void SetConditionValue(Aws::String&& value) { m_conditionValueHasBeenSet = true; m_conditionValue = std::move(value); }
67 inline void SetConditionValue(const char* value) { m_conditionValueHasBeenSet = true; m_conditionValue.assign(value); }
68 inline ConditionParameter& WithConditionValue(const Aws::String& value) { SetConditionValue(value); return *this;}
69 inline ConditionParameter& WithConditionValue(Aws::String&& value) { SetConditionValue(std::move(value)); return *this;}
70 inline ConditionParameter& WithConditionValue(const char* value) { SetConditionValue(value); return *this;}
72 private:
73
74 Aws::String m_conditionKey;
75 bool m_conditionKeyHasBeenSet = false;
76
77 Aws::String m_conditionValue;
78 bool m_conditionValueHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Backup
83} // namespace Aws
AWS_BACKUP_API ConditionParameter(Aws::Utils::Json::JsonView jsonValue)
ConditionParameter & WithConditionValue(const char *value)
ConditionParameter & WithConditionValue(Aws::String &&value)
void SetConditionKey(const Aws::String &value)
const Aws::String & GetConditionKey() const
ConditionParameter & WithConditionKey(const char *value)
const Aws::String & GetConditionValue() const
ConditionParameter & WithConditionKey(Aws::String &&value)
void SetConditionValue(const Aws::String &value)
AWS_BACKUP_API ConditionParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
ConditionParameter & WithConditionValue(const Aws::String &value)
void SetConditionKey(Aws::String &&value)
void SetConditionValue(Aws::String &&value)
ConditionParameter & WithConditionKey(const Aws::String &value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue