15#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_HMAC_KEY_METADATA_H
16#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_HMAC_KEY_METADATA_H
18#include "google/cloud/storage/version.h"
19#include "google/cloud/status_or.h"
28GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
31
32
33
34
35
36
37
38
39
40
41
42
43
44
49 std::string
const&
access_id()
const {
return access_id_; }
50 std::string
const&
etag()
const {
return etag_; }
56 std::string
const&
id()
const {
return id_; }
57 std::string
const&
kind()
const {
return kind_; }
59 std::string
const&
project_id()
const {
return project_id_; }
61 return service_account_email_;
63 std::string
const&
state()
const {
return state_; }
65 state_ = std::move(v);
68 std::chrono::system_clock::time_point
time_created()
const {
71 std::chrono::system_clock::time_point
updated()
const {
return updated_; }
79
80
81
82
83
84
86 access_id_ = std::move(v);
99 project_id_ = std::move(v);
103 service_account_email_ = std::move(v);
117 friend std::ostream& operator<<(std::ostream& os,
HmacKeyMetadata const& rhs);
120 std::string access_id_;
124 std::string project_id_;
125 std::string service_account_email_;
127 std::chrono::system_clock::time_point time_created_;
128 std::chrono::system_clock::time_point updated_;
138 lhs_time_created, lhs_updated) ==
141 rhs_time_created, rhs_updated);
145 return std::rel_ops::operator!=(lhs, rhs);
150GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
Contains all the Google Cloud Storage C++ client APIs.
Definition: auto_finalize.h:24
bool operator!=(HmacKeyMetadata const &lhs, HmacKeyMetadata const &rhs)
Definition: hmac_key_metadata.h:144
bool operator==(HmacKeyMetadata const &lhs, HmacKeyMetadata const &rhs)
Definition: hmac_key_metadata.h:131