7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/license-manager/LicenseManager_EXPORTS.h>
9#include <aws/license-manager/model/MatchingRuleStatement.h>
10#include <aws/license-manager/model/ScriptRuleStatement.h>
21namespace LicenseManager {
42 template <
typename MatchingRuleStatementsT = Aws::Vector<MatchingRuleStatement>>
44 m_matchingRuleStatementsHasBeenSet =
true;
45 m_matchingRuleStatements = std::forward<MatchingRuleStatementsT>(value);
47 template <
typename MatchingRuleStatementsT = Aws::Vector<MatchingRuleStatement>>
52 template <
typename MatchingRuleStatementsT = MatchingRuleStatement>
54 m_matchingRuleStatementsHasBeenSet =
true;
55 m_matchingRuleStatements.emplace_back(std::forward<MatchingRuleStatementsT>(value));
66 template <
typename ScriptRuleStatementsT = Aws::Vector<ScriptRuleStatement>>
68 m_scriptRuleStatementsHasBeenSet =
true;
69 m_scriptRuleStatements = std::forward<ScriptRuleStatementsT>(value);
71 template <
typename ScriptRuleStatementsT = Aws::Vector<ScriptRuleStatement>>
76 template <
typename ScriptRuleStatementsT = ScriptRuleStatement>
78 m_scriptRuleStatementsHasBeenSet =
true;
79 m_scriptRuleStatements.emplace_back(std::forward<ScriptRuleStatementsT>(value));
87 bool m_matchingRuleStatementsHasBeenSet =
false;
88 bool m_scriptRuleStatementsHasBeenSet =
false;
AndRuleStatement & WithScriptRuleStatements(ScriptRuleStatementsT &&value)
bool MatchingRuleStatementsHasBeenSet() const
AWS_LICENSEMANAGER_API AndRuleStatement(Aws::Utils::Json::JsonView jsonValue)
void SetMatchingRuleStatements(MatchingRuleStatementsT &&value)
const Aws::Vector< ScriptRuleStatement > & GetScriptRuleStatements() const
void SetScriptRuleStatements(ScriptRuleStatementsT &&value)
AndRuleStatement & WithMatchingRuleStatements(MatchingRuleStatementsT &&value)
bool ScriptRuleStatementsHasBeenSet() const
AndRuleStatement & AddMatchingRuleStatements(MatchingRuleStatementsT &&value)
AndRuleStatement & AddScriptRuleStatements(ScriptRuleStatementsT &&value)
AWS_LICENSEMANAGER_API AndRuleStatement()=default
const Aws::Vector< MatchingRuleStatement > & GetMatchingRuleStatements() const
AWS_LICENSEMANAGER_API AndRuleStatement & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LICENSEMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue