18 namespace 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());