AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StreamNameCondition.h
1
6#pragma once
7#include <aws/kinesisvideo/KinesisVideo_EXPORTS.h>
8#include <aws/kinesisvideo/model/ComparisonOperator.h>
9#include <aws/core/utils/memory/stl/AWSString.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 KinesisVideo
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_KINESISVIDEO_API StreamNameCondition();
40 AWS_KINESISVIDEO_API StreamNameCondition(Aws::Utils::Json::JsonView jsonValue);
42 AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
51 inline const ComparisonOperator& GetComparisonOperator() const{ return m_comparisonOperator; }
52 inline bool ComparisonOperatorHasBeenSet() const { return m_comparisonOperatorHasBeenSet; }
53 inline void SetComparisonOperator(const ComparisonOperator& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = value; }
54 inline void SetComparisonOperator(ComparisonOperator&& value) { m_comparisonOperatorHasBeenSet = true; m_comparisonOperator = std::move(value); }
56 inline StreamNameCondition& WithComparisonOperator(ComparisonOperator&& value) { SetComparisonOperator(std::move(value)); return *this;}
58
60
63 inline const Aws::String& GetComparisonValue() const{ return m_comparisonValue; }
64 inline bool ComparisonValueHasBeenSet() const { return m_comparisonValueHasBeenSet; }
65 inline void SetComparisonValue(const Aws::String& value) { m_comparisonValueHasBeenSet = true; m_comparisonValue = value; }
66 inline void SetComparisonValue(Aws::String&& value) { m_comparisonValueHasBeenSet = true; m_comparisonValue = std::move(value); }
67 inline void SetComparisonValue(const char* value) { m_comparisonValueHasBeenSet = true; m_comparisonValue.assign(value); }
68 inline StreamNameCondition& WithComparisonValue(const Aws::String& value) { SetComparisonValue(value); return *this;}
69 inline StreamNameCondition& WithComparisonValue(Aws::String&& value) { SetComparisonValue(std::move(value)); return *this;}
70 inline StreamNameCondition& WithComparisonValue(const char* value) { SetComparisonValue(value); return *this;}
72 private:
73
74 ComparisonOperator m_comparisonOperator;
75 bool m_comparisonOperatorHasBeenSet = false;
76
77 Aws::String m_comparisonValue;
78 bool m_comparisonValueHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace KinesisVideo
83} // namespace Aws
StreamNameCondition & WithComparisonValue(const char *value)
AWS_KINESISVIDEO_API Aws::Utils::Json::JsonValue Jsonize() const
void SetComparisonOperator(ComparisonOperator &&value)
StreamNameCondition & WithComparisonOperator(const ComparisonOperator &value)
void SetComparisonValue(const Aws::String &value)
AWS_KINESISVIDEO_API StreamNameCondition(Aws::Utils::Json::JsonView jsonValue)
StreamNameCondition & WithComparisonValue(const Aws::String &value)
StreamNameCondition & WithComparisonOperator(ComparisonOperator &&value)
const ComparisonOperator & GetComparisonOperator() const
AWS_KINESISVIDEO_API StreamNameCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetComparisonOperator(const ComparisonOperator &value)
StreamNameCondition & WithComparisonValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue