18namespace Azure {
namespace Core {
namespace _internal {
30 virtual ~ClientOptions() =
default;
36 std::vector<std::unique_ptr<Azure::Core::Http::Policies::HttpPolicy>> PerOperationPolicies;
42 std::vector<std::unique_ptr<Azure::Core::Http::Policies::HttpPolicy>> PerRetryPolicies;
48 ClientOptions(ClientOptions&&) =
default;
54 ClientOptions(ClientOptions
const& other) { *
this = other; }
56 ClientOptions() =
default;
62 ClientOptions& operator=(ClientOptions&&) =
default;
68 ClientOptions& operator=(
const ClientOptions& other)
70 this->Retry = other.Retry;
71 this->Transport = other.Transport;
72 this->Telemetry = other.Telemetry;
73 this->Log = other.Log;
74 this->PerOperationPolicies.reserve(other.PerOperationPolicies.size());
75 for (
auto& policy : other.PerOperationPolicies)
77 this->PerOperationPolicies.emplace_back(policy->Clone());
79 this->PerRetryPolicies.reserve(other.PerRetryPolicies.size());
80 for (
auto& policy : other.PerRetryPolicies)
82 this->PerRetryPolicies.emplace_back(policy->Clone());
HTTP request and response functionality.
Compute the hash value for the input binary data, using SHA256, SHA384 and SHA512.
Definition azure_assert.hpp:57
HTTP transport policies, and their options.
Log options that parameterize the information being logged.
Definition policy.hpp:148
The set of options that can be specified to influence how retry attempts are made,...
Definition policy.hpp:108
Telemetry options, used to configure telemetry parameters.
Definition policy.hpp:60
HTTP transport options parameterize the HTTP transport adapter being used.
Definition policy.hpp:166