-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1fac80d
commit 29d18c0
Showing
14 changed files
with
1,006 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.1.96 | ||
3.1.97 |
80 changes: 80 additions & 0 deletions
80
kvs/include/huaweicloud/kvs/v1/model/Composed_expression.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
|
||
#ifndef HUAWEICLOUD_SDK_KVS_V1_MODEL_Composed_expression_H_ | ||
#define HUAWEICLOUD_SDK_KVS_V1_MODEL_Composed_expression_H_ | ||
|
||
#include <huaweicloud/core/bson/Defines.h> | ||
#include <huaweicloud/core/bson/Builder.h> | ||
#include <huaweicloud/core/bson/Viewer.h> | ||
|
||
#include <huaweicloud/kvs/v1/KvsExport.h> | ||
|
||
#include <huaweicloud/core/utils/ModelBase.h> | ||
#include <huaweicloud/core/utils/Utils.h> | ||
#include <huaweicloud/core/http/HttpResponse.h> | ||
|
||
#include <string> | ||
#include <huaweicloud/kvs/v1/model/Expression.h> | ||
#include <vector> | ||
|
||
namespace HuaweiCloud { | ||
namespace Sdk { | ||
namespace Kvs { | ||
namespace V1 { | ||
namespace Model { | ||
|
||
using namespace HuaweiCloud::Sdk::Core::Utils; | ||
using namespace HuaweiCloud::Sdk::Core::Http; | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
class HUAWEICLOUD_KVS_V1_EXPORT Composed_expression | ||
: public ModelBase | ||
{ | ||
public: | ||
Composed_expression(); | ||
virtual ~Composed_expression(); | ||
|
||
///////////////////////////////////////////// | ||
/// ModelBase overrides | ||
|
||
void validate() override; | ||
bool fromBson(const Viewer &viewer) override; | ||
bool toBson(Builder &builder) const override; | ||
///////////////////////////////////////////// | ||
/// Composed_expression members | ||
|
||
/// <summary> | ||
/// 逻辑关系,取值如\"$and\", \"$or\", \"$nor\"。 | ||
/// </summary> | ||
|
||
std::string getLogic() const; | ||
bool logicIsSet() const; | ||
void unsetlogic(); | ||
void setLogic(const std::string& value); | ||
|
||
/// <summary> | ||
/// 多个相同优先级且相同逻辑的单字段或多字段条件。 | ||
/// </summary> | ||
|
||
std::vector<Expression>& getExpressions(); | ||
bool expressionsIsSet() const; | ||
void unsetexpressions(); | ||
void setExpressions(const std::vector<Expression>& value); | ||
|
||
|
||
protected: | ||
std::string logic_; | ||
bool logicIsSet_; | ||
std::vector<Expression> expressions_; | ||
bool expressionsIsSet_; | ||
|
||
}; | ||
|
||
|
||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
#endif // HUAWEICLOUD_SDK_KVS_V1_MODEL_Composed_expression_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.