Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
connect_link_analytics_options Class Reference

#include <couchbase/connect_link_analytics_options.hxx>

Inheritance diagram for connect_link_analytics_options:
Inheritance graph

Classes

struct  built
 Immutable value object representing consistent options. More...
 

Public Member Functions

auto dataverse_name (std::string dataverse_name) -> connect_link_analytics_options &
 The name of the dataverse in which the link should be disconnected.
 
auto link_name (std::string link_name) -> connect_link_analytics_options &
 The name of the link.
 
auto force (bool force) -> connect_link_analytics_options &
 Whether to force link creation even if the bucket UUID changed, for example, due to the bucket being deleted and recreated.
 
auto build () const -> built
 Validates options and returns them as an immutable value.
 
- Public Member Functions inherited from common_options< connect_link_analytics_options >
auto timeout (const std::chrono::milliseconds timeout) -> connect_link_analytics_options &
 Specifies a custom per-operation timeout.
 
auto retry_strategy (const std::shared_ptr< retry_strategy > strategy) -> connect_link_analytics_options &
 Specifies a custom couchbase::retry_strategy for this operation.
 
auto parent_span (std::shared_ptr< tracing::request_span > span) -> connect_link_analytics_options &
 

Additional Inherited Members

- Protected Member Functions inherited from common_options< connect_link_analytics_options >
auto build_common_options () const -> built
 
auto self () -> connect_link_analytics_options &
 Allows to return the right options builder instance for child implementations.
 

Member Function Documentation

◆ build()

auto build ( ) const -> built
inlinenodiscard

Validates options and returns them as an immutable value.

Returns
consistent options as an immutable value
Exceptions
std::system_errorwith code errc::common::invalid_argument if the options are not valid
Since
1.0.0
Internal
Internal interface

◆ dataverse_name()

auto dataverse_name ( std::string dataverse_name) -> connect_link_analytics_options&
inline

The name of the dataverse in which the link should be disconnected.

defaults to Default

Parameters
dataverse_name
Returns
reference to this object, for use in chaining
Since
1.0.0
Committed
Generally available API and should be preferred in production

◆ force()

auto force ( bool force) -> connect_link_analytics_options&
inline

Whether to force link creation even if the bucket UUID changed, for example, due to the bucket being deleted and recreated.

◆ link_name()

auto link_name ( std::string link_name) -> connect_link_analytics_options&
inline

The name of the link.

defaults to Local

Parameters
link_name
Returns
reference to this object, for use in chaining
Since
1.0.0
Committed
Generally available API and should be preferred in production

The documentation for this class was generated from the following file: