30 #ifndef  GOOGLE_COMPUTE_API_ROUTER_STATUS_H_    31 #define  GOOGLE_COMPUTE_API_ROUTER_STATUS_H_    34 #include "googleapis/base/macros.h"    35 #include "googleapis/client/data/jsoncpp_data.h"    36 #include "googleapis/strings/stringpiece.h"    38 #include "google/compute_api/route.h"    39 #include "google/compute_api/router_status_bgp_peer_status.h"    40 #include "google/compute_api/router_status_nat_status.h"    88     return StringPiece(
"google_compute_api::RouterStatus");
    97     return Storage().isMember(
"bestRoutes");
   104     MutableStorage()->removeMember(
"bestRoutes");
   111   const client::JsonCppArray<Route > get_best_routes() 
const;
   121   client::JsonCppArray<Route > mutable_bestRoutes();
   129     return Storage().isMember(
"bestRoutesForRouter");
   136     MutableStorage()->removeMember(
"bestRoutesForRouter");
   144   const client::JsonCppArray<Route > get_best_routes_for_router() 
const;
   154   client::JsonCppArray<Route > mutable_bestRoutesForRouter();
   162     return Storage().isMember(
"bgpPeerStatus");
   169     MutableStorage()->removeMember(
"bgpPeerStatus");
   176   const client::JsonCppArray<RouterStatusBgpPeerStatus > get_bgp_peer_status() 
const;
   183   client::JsonCppArray<RouterStatusBgpPeerStatus > mutable_bgpPeerStatus();
   191     return Storage().isMember(
"natStatus");
   198     MutableStorage()->removeMember(
"natStatus");
   205   const client::JsonCppArray<RouterStatusNatStatus > get_nat_status() 
const;
   212   client::JsonCppArray<RouterStatusNatStatus > mutable_natStatus();
   220     return Storage().isMember(
"network");
   227     MutableStorage()->removeMember(
"network");
   235     const Json::Value& v = Storage(
"network");
   236     if (v == Json::Value::null) 
return StringPiece(
"");
   237     return StringPiece(v.asCString());
   248     *MutableStorage(
"network") = value.data();
   255 #endif  // GOOGLE_COMPUTE_API_ROUTER_STATUS_H_ bool has_nat_status() const
Definition: router_status.h:190
bool has_best_routes_for_router() const
Definition: router_status.h:128
Definition: router_status.h:54
const StringPiece GetTypeName() const
Definition: router_status.h:87
void clear_best_routes()
Definition: router_status.h:103
bool has_network() const
Definition: router_status.h:219
Definition: accelerator_config.h:39
bool has_best_routes() const
Definition: router_status.h:96
const StringPiece get_network() const
Definition: router_status.h:234
Definition: accelerator_config.cc:41
void clear_nat_status()
Definition: router_status.h:197
void clear_best_routes_for_router()
Definition: router_status.h:135
void set_network(const StringPiece &value)
Definition: router_status.h:247
void clear_bgp_peer_status()
Definition: router_status.h:168
bool has_bgp_peer_status() const
Definition: router_status.h:161
void clear_network()
Definition: router_status.h:226