30 #ifndef GOOGLE_DEPLOYMENTMANAGER_API_AUDIT_LOG_CONFIG_H_ 31 #define GOOGLE_DEPLOYMENTMANAGER_API_AUDIT_LOG_CONFIG_H_ 34 #include "googleapis/base/macros.h" 35 #include "googleapis/client/data/jsoncpp_data.h" 36 #include "googleapis/strings/stringpiece.h" 90 return StringPiece(
"google_deploymentmanager_api::AuditLogConfig");
99 return Storage().isMember(
"exemptedMembers");
106 MutableStorage()->removeMember(
"exemptedMembers");
115 const Json::Value& storage = Storage(
"exemptedMembers");
116 return client::JsonValueToCppValueHelper<client::JsonCppArray<string > >(storage);
129 Json::Value* storage = MutableStorage(
"exemptedMembers");
130 return client::JsonValueToMutableCppValueHelper<client::JsonCppArray<string > >(storage);
139 return Storage().isMember(
"logType");
146 MutableStorage()->removeMember(
"logType");
154 const Json::Value& v = Storage(
"logType");
155 if (v == Json::Value::null)
return StringPiece(
"");
156 return StringPiece(v.asCString());
167 *MutableStorage(
"logType") = value.data();
174 #endif // GOOGLE_DEPLOYMENTMANAGER_API_AUDIT_LOG_CONFIG_H_ void set_log_type(const StringPiece &value)
Definition: audit_log_config.h:166
const StringPiece get_log_type() const
Definition: audit_log_config.h:153
client::JsonCppArray< string > mutable_exemptedMembers()
Definition: audit_log_config.h:128
Definition: audit_config.h:40
bool has_exempted_members() const
Definition: audit_log_config.h:98
void clear_exempted_members()
Definition: audit_log_config.h:105
void clear_log_type()
Definition: audit_log_config.h:145
Definition: audit_config.cc:42
const StringPiece GetTypeName() const
Definition: audit_log_config.h:89
bool has_log_type() const
Definition: audit_log_config.h:138
Definition: audit_log_config.h:56
const client::JsonCppArray< string > get_exempted_members() const
Definition: audit_log_config.h:114