7#include <aws/license-manager/LicenseManager_EXPORTS.h>
8#include <aws/license-manager/model/AndRuleStatement.h>
9#include <aws/license-manager/model/MatchingRuleStatement.h>
10#include <aws/license-manager/model/OrRuleStatement.h>
11#include <aws/license-manager/model/ScriptRuleStatement.h>
22namespace LicenseManager {
43 template <
typename AndRuleStatementT = AndRuleStatement>
45 m_andRuleStatementHasBeenSet =
true;
46 m_andRuleStatement = std::forward<AndRuleStatementT>(value);
48 template <
typename AndRuleStatementT = AndRuleStatement>
61 template <
typename OrRuleStatementT = OrRuleStatement>
63 m_orRuleStatementHasBeenSet =
true;
64 m_orRuleStatement = std::forward<OrRuleStatementT>(value);
66 template <
typename OrRuleStatementT = OrRuleStatement>
79 template <
typename MatchingRuleStatementT = MatchingRuleStatement>
81 m_matchingRuleStatementHasBeenSet =
true;
82 m_matchingRuleStatement = std::forward<MatchingRuleStatementT>(value);
84 template <
typename MatchingRuleStatementT = MatchingRuleStatement>
97 template <
typename ScriptRuleStatementT = ScriptRuleStatement>
99 m_scriptRuleStatementHasBeenSet =
true;
100 m_scriptRuleStatement = std::forward<ScriptRuleStatementT>(value);
102 template <
typename ScriptRuleStatementT = ScriptRuleStatement>
116 bool m_andRuleStatementHasBeenSet =
false;
117 bool m_orRuleStatementHasBeenSet =
false;
118 bool m_matchingRuleStatementHasBeenSet =
false;
119 bool m_scriptRuleStatementHasBeenSet =
false;
bool OrRuleStatementHasBeenSet() const
bool ScriptRuleStatementHasBeenSet() const
const OrRuleStatement & GetOrRuleStatement() const
void SetAndRuleStatement(AndRuleStatementT &&value)
InstanceRuleStatement & WithAndRuleStatement(AndRuleStatementT &&value)
const MatchingRuleStatement & GetMatchingRuleStatement() const
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
bool MatchingRuleStatementHasBeenSet() const
InstanceRuleStatement & WithScriptRuleStatement(ScriptRuleStatementT &&value)
const ScriptRuleStatement & GetScriptRuleStatement() const
void SetMatchingRuleStatement(MatchingRuleStatementT &&value)
AWS_LICENSEMANAGER_API InstanceRuleStatement()=default
InstanceRuleStatement & WithMatchingRuleStatement(MatchingRuleStatementT &&value)
const AndRuleStatement & GetAndRuleStatement() const
AWS_LICENSEMANAGER_API InstanceRuleStatement(Aws::Utils::Json::JsonView jsonValue)
void SetScriptRuleStatement(ScriptRuleStatementT &&value)
InstanceRuleStatement & WithOrRuleStatement(OrRuleStatementT &&value)
void SetOrRuleStatement(OrRuleStatementT &&value)
AWS_LICENSEMANAGER_API InstanceRuleStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AndRuleStatementHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue