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/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/ssm-incidents/model/AttributeValueList.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SSMIncidents
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_SSMINCIDENTS_API Condition();
40 AWS_SSMINCIDENTS_API Condition(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SSMINCIDENTS_API Condition& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Utils::DateTime& GetAfter() const{ return m_after; }
50 inline bool AfterHasBeenSet() const { return m_afterHasBeenSet; }
51 inline void SetAfter(const Aws::Utils::DateTime& value) { m_afterHasBeenSet = true; m_after = value; }
52 inline void SetAfter(Aws::Utils::DateTime&& value) { m_afterHasBeenSet = true; m_after = std::move(value); }
53 inline Condition& WithAfter(const Aws::Utils::DateTime& value) { SetAfter(value); return *this;}
54 inline Condition& WithAfter(Aws::Utils::DateTime&& value) { SetAfter(std::move(value)); return *this;}
56
58
61 inline const Aws::Utils::DateTime& GetBefore() const{ return m_before; }
62 inline bool BeforeHasBeenSet() const { return m_beforeHasBeenSet; }
63 inline void SetBefore(const Aws::Utils::DateTime& value) { m_beforeHasBeenSet = true; m_before = value; }
64 inline void SetBefore(Aws::Utils::DateTime&& value) { m_beforeHasBeenSet = true; m_before = std::move(value); }
65 inline Condition& WithBefore(const Aws::Utils::DateTime& value) { SetBefore(value); return *this;}
66 inline Condition& WithBefore(Aws::Utils::DateTime&& value) { SetBefore(std::move(value)); return *this;}
68
70
73 inline const AttributeValueList& GetEquals() const{ return m_equals; }
74 inline bool EqualsHasBeenSet() const { return m_equalsHasBeenSet; }
75 inline void SetEquals(const AttributeValueList& value) { m_equalsHasBeenSet = true; m_equals = value; }
76 inline void SetEquals(AttributeValueList&& value) { m_equalsHasBeenSet = true; m_equals = std::move(value); }
77 inline Condition& WithEquals(const AttributeValueList& value) { SetEquals(value); return *this;}
78 inline Condition& WithEquals(AttributeValueList&& value) { SetEquals(std::move(value)); return *this;}
80 private:
81
83 bool m_afterHasBeenSet = false;
84
85 Aws::Utils::DateTime m_before;
86 bool m_beforeHasBeenSet = false;
87
88 AttributeValueList m_equals;
89 bool m_equalsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SSMIncidents
94} // namespace Aws
void SetEquals(AttributeValueList &&value)
Definition Condition.h:76
AWS_SSMINCIDENTS_API Condition(Aws::Utils::Json::JsonView jsonValue)
void SetBefore(Aws::Utils::DateTime &&value)
Definition Condition.h:64
AWS_SSMINCIDENTS_API Condition()
const Aws::Utils::DateTime & GetAfter() const
Definition Condition.h:49
Condition & WithEquals(const AttributeValueList &value)
Definition Condition.h:77
Condition & WithBefore(const Aws::Utils::DateTime &value)
Definition Condition.h:65
Condition & WithBefore(Aws::Utils::DateTime &&value)
Definition Condition.h:66
const AttributeValueList & GetEquals() const
Definition Condition.h:73
AWS_SSMINCIDENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAfter(Aws::Utils::DateTime &&value)
Definition Condition.h:52
void SetAfter(const Aws::Utils::DateTime &value)
Definition Condition.h:51
Condition & WithEquals(AttributeValueList &&value)
Definition Condition.h:78
AWS_SSMINCIDENTS_API Condition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBefore(const Aws::Utils::DateTime &value)
Definition Condition.h:63
Condition & WithAfter(Aws::Utils::DateTime &&value)
Definition Condition.h:54
void SetEquals(const AttributeValueList &value)
Definition Condition.h:75
const Aws::Utils::DateTime & GetBefore() const
Definition Condition.h:61
Condition & WithAfter(const Aws::Utils::DateTime &value)
Definition Condition.h:53
Aws::Utils::Json::JsonValue JsonValue