AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Backup {
20namespace Model {
21
31 public:
32 AWS_BACKUP_API ConditionParameter() = default;
35 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetConditionKey() const { return m_conditionKey; }
43 inline bool ConditionKeyHasBeenSet() const { return m_conditionKeyHasBeenSet; }
44 template <typename ConditionKeyT = Aws::String>
45 void SetConditionKey(ConditionKeyT&& value) {
46 m_conditionKeyHasBeenSet = true;
47 m_conditionKey = std::forward<ConditionKeyT>(value);
48 }
49 template <typename ConditionKeyT = Aws::String>
50 ConditionParameter& WithConditionKey(ConditionKeyT&& value) {
51 SetConditionKey(std::forward<ConditionKeyT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetConditionValue() const { return m_conditionValue; }
62 inline bool ConditionValueHasBeenSet() const { return m_conditionValueHasBeenSet; }
63 template <typename ConditionValueT = Aws::String>
64 void SetConditionValue(ConditionValueT&& value) {
65 m_conditionValueHasBeenSet = true;
66 m_conditionValue = std::forward<ConditionValueT>(value);
67 }
68 template <typename ConditionValueT = Aws::String>
69 ConditionParameter& WithConditionValue(ConditionValueT&& value) {
70 SetConditionValue(std::forward<ConditionValueT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_conditionKey;
76
77 Aws::String m_conditionValue;
78 bool m_conditionKeyHasBeenSet = false;
79 bool m_conditionValueHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace Backup
84} // namespace Aws
AWS_BACKUP_API ConditionParameter(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConditionKey() const
const Aws::String & GetConditionValue() const
void SetConditionValue(ConditionValueT &&value)
ConditionParameter & WithConditionValue(ConditionValueT &&value)
AWS_BACKUP_API ConditionParameter()=default
AWS_BACKUP_API ConditionParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
ConditionParameter & WithConditionKey(ConditionKeyT &&value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConditionKey(ConditionKeyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue