11#ifndef GI_GBPE_SNATIPPOOL_HPP
12#define GI_GBPE_SNATIPPOOL_HPP
14#include <boost/optional.hpp>
15#include "opflex/modb/URIBuilder.h"
16#include "opflex/modb/mo-internal/MO.h"
22 :
public opflex::modb::mointernal::MO
29 static const opflex::modb::class_id_t
CLASS_ID = 46;
139 getTLMutator().modify(
getClassId(),
getURI())->unset(1507329ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
195 getTLMutator().modify(
getClassId(),
getURI())->unset(1507333ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
307 getTLMutator().modify(
getClassId(),
getURI())->unset(1507332ul, opflex::modb::PropertyInfo::STRING, opflex::modb::PropertyInfo::SCALAR);
322 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::SNATIPPool> >
resolve(
324 const opflex::modb::URI&
uri)
326 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::SNATIPPool>(
framework,
CLASS_ID,
uri);
340 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::SNATIPPool> >
resolve(
341 const opflex::modb::URI&
uri)
343 return opflex::modb::mointernal::MO::resolve<modelgbp::gbpe::SNATIPPool>(opflex::ofcore::OFFramework::defaultInstance(),
CLASS_ID,
uri);
364 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::SNATIPPool> >
resolve(
389 static boost::optional<OF_SHARED_PTR<modelgbp::gbpe::SNATIPPool> >
resolve(
420 const opflex::modb::URI&
uri)
437 remove(opflex::ofcore::OFFramework::defaultInstance(),
uri);
500 opflex::modb::ObjectListener*
listener)
502 opflex::modb::mointernal
518 opflex::modb::ObjectListener*
listener)
531 opflex::modb::ObjectListener*
listener)
533 opflex::modb::mointernal
544 opflex::modb::ObjectListener*
listener)
555 const opflex::modb::URI&
uri,
Definition SNATIPPool.hpp:23
boost::optional< const std::string & > getAddress()
Get the value of address if it has been set.
Definition SNATIPPool.hpp:44
static const opflex::modb::class_id_t CLASS_ID
The unique class ID for SNATIPPool.
Definition SNATIPPool.hpp:29
modelgbp::gbpe::SNATIPPool & setTunnelEpUuid(const std::string &newValue)
Set tunnelEpUuid to the specified value in the currently-active mutator.
Definition SNATIPPool.hpp:293
bool isTunnelEpUuidSet()
Check whether tunnelEpUuid has been set.
Definition SNATIPPool.hpp:259
SNATIPPool(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri, const OF_SHARED_PTR< const opflex::modb::mointernal::ObjectInstance > &oi)
Construct an instance of SNATIPPool.
Definition SNATIPPool.hpp:553
modelgbp::gbpe::SNATIPPool & setNatEpGroup(const std::string &newValue)
Set natEpGroup to the specified value in the currently-active mutator.
Definition SNATIPPool.hpp:181
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::SNATIPPool > > resolve(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &gbpeSNATIPPoolName)
Retrieve an instance of SNATIPPool from the managed object store by constructing its URI from the pat...
Definition SNATIPPool.hpp:364
const std::string & getTunnelEpUuid(const std::string &defaultValue)
Get the value of tunnelEpUuid if set, otherwise the value of default passed in.
Definition SNATIPPool.hpp:280
boost::optional< const std::string & > getTunnelEpUuid()
Get the value of tunnelEpUuid if it has been set.
Definition SNATIPPool.hpp:268
boost::optional< const std::string & > getName()
Get the value of name if it has been set.
Definition SNATIPPool.hpp:100
static void registerListener(opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class with the default framework...
Definition SNATIPPool.hpp:517
modelgbp::gbpe::SNATIPPool & unsetNatEpGroup()
Unset natEpGroup in the currently-active mutator.
Definition SNATIPPool.hpp:193
void remove()
Remove this instance using the currently-active mutator.
Definition SNATIPPool.hpp:404
const uint8_t getPrefixLen(const uint8_t defaultValue)
Get the value of prefixLen if set, otherwise the value of default passed in.
Definition SNATIPPool.hpp:224
boost::optional< const uint8_t > getPrefixLen()
Get the value of prefixLen if it has been set.
Definition SNATIPPool.hpp:212
static void remove(const opflex::modb::URI &uri)
Remove the SNATIPPool object with the specified URI using the currently-active mutator and the defaul...
Definition SNATIPPool.hpp:435
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::SNATIPPool > > resolve(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Retrieve an instance of SNATIPPool from the managed object store.
Definition SNATIPPool.hpp:322
modelgbp::gbpe::SNATIPPool & unsetName()
Unset name in the currently-active mutator.
Definition SNATIPPool.hpp:137
modelgbp::gbpe::SNATIPPool & unsetPrefixLen()
Unset prefixLen in the currently-active mutator.
Definition SNATIPPool.hpp:249
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::SNATIPPool > > resolve(const opflex::modb::URI &uri)
Retrieve an instance of SNATIPPool from the managed object store using the default framework instance...
Definition SNATIPPool.hpp:340
const std::string & getName(const std::string &defaultValue)
Get the value of name if set, otherwise the value of default passed in.
Definition SNATIPPool.hpp:112
static void remove(opflex::ofcore::OFFramework &framework, const std::string &platformConfigName, const std::string &gbpeSNATIPPoolName)
Remove the SNATIPPool object with the specified path elements from the managed object store.
Definition SNATIPPool.hpp:456
static boost::optional< OF_SHARED_PTR< modelgbp::gbpe::SNATIPPool > > resolve(const std::string &platformConfigName, const std::string &gbpeSNATIPPoolName)
Retrieve an instance of SNATIPPool from the default managed object store by constructing its URI from...
Definition SNATIPPool.hpp:389
static void registerListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Register a listener that will get called for changes related to this class.
Definition SNATIPPool.hpp:498
static void unregisterListener(opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class from the default framework instance.
Definition SNATIPPool.hpp:543
modelgbp::gbpe::SNATIPPool & setName(const std::string &newValue)
Set name to the specified value in the currently-active mutator.
Definition SNATIPPool.hpp:125
modelgbp::gbpe::SNATIPPool & setPrefixLen(const uint8_t newValue)
Set prefixLen to the specified value in the currently-active mutator.
Definition SNATIPPool.hpp:237
static void remove(opflex::ofcore::OFFramework &framework, const opflex::modb::URI &uri)
Remove the SNATIPPool object with the specified URI using the currently-active mutator.
Definition SNATIPPool.hpp:419
static void unregisterListener(opflex::ofcore::OFFramework &framework, opflex::modb::ObjectListener *listener)
Unregister a listener from updates to this class.
Definition SNATIPPool.hpp:529
boost::optional< const std::string & > getNatEpGroup()
Get the value of natEpGroup if it has been set.
Definition SNATIPPool.hpp:156
const std::string & getNatEpGroup(const std::string &defaultValue)
Get the value of natEpGroup if set, otherwise the value of default passed in.
Definition SNATIPPool.hpp:168
static void remove(const std::string &platformConfigName, const std::string &gbpeSNATIPPoolName)
Remove the SNATIPPool object with the specified path elements from the managed object store using the...
Definition SNATIPPool.hpp:480
const std::string & getAddress(const std::string &defaultValue)
Get the value of address if set, otherwise the value of default passed in.
Definition SNATIPPool.hpp:56
bool isAddressSet()
Check whether address has been set.
Definition SNATIPPool.hpp:35
bool isNatEpGroupSet()
Check whether natEpGroup has been set.
Definition SNATIPPool.hpp:147
bool isNameSet()
Check whether name has been set.
Definition SNATIPPool.hpp:91
modelgbp::gbpe::SNATIPPool & unsetTunnelEpUuid()
Unset tunnelEpUuid in the currently-active mutator.
Definition SNATIPPool.hpp:305
bool isPrefixLenSet()
Check whether prefixLen has been set.
Definition SNATIPPool.hpp:203
modelgbp::gbpe::SNATIPPool & setAddress(const std::string &newValue)
Set address to the specified value in the currently-active mutator.
Definition SNATIPPool.hpp:69
modelgbp::gbpe::SNATIPPool & unsetAddress()
Unset address in the currently-active mutator.
Definition SNATIPPool.hpp:81
SOME COPYRIGHT.
Definition OpcodeEnumT.hpp:12