AWS SDK for C++  1.9.3
AWS SDK for C++
ClientCertAuthSettings.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace DirectoryService
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
47  inline const Aws::String& GetOCSPUrl() const{ return m_oCSPUrl; }
48 
54  inline bool OCSPUrlHasBeenSet() const { return m_oCSPUrlHasBeenSet; }
55 
61  inline void SetOCSPUrl(const Aws::String& value) { m_oCSPUrlHasBeenSet = true; m_oCSPUrl = value; }
62 
68  inline void SetOCSPUrl(Aws::String&& value) { m_oCSPUrlHasBeenSet = true; m_oCSPUrl = std::move(value); }
69 
75  inline void SetOCSPUrl(const char* value) { m_oCSPUrlHasBeenSet = true; m_oCSPUrl.assign(value); }
76 
82  inline ClientCertAuthSettings& WithOCSPUrl(const Aws::String& value) { SetOCSPUrl(value); return *this;}
83 
89  inline ClientCertAuthSettings& WithOCSPUrl(Aws::String&& value) { SetOCSPUrl(std::move(value)); return *this;}
90 
96  inline ClientCertAuthSettings& WithOCSPUrl(const char* value) { SetOCSPUrl(value); return *this;}
97 
98  private:
99 
100  Aws::String m_oCSPUrl;
101  bool m_oCSPUrlHasBeenSet;
102  };
103 
104 } // namespace Model
105 } // namespace DirectoryService
106 } // namespace Aws
Aws::DirectoryService::Model::ClientCertAuthSettings::SetOCSPUrl
void SetOCSPUrl(const char *value)
Definition: ClientCertAuthSettings.h:75
Aws::DirectoryService::Model::ClientCertAuthSettings::SetOCSPUrl
void SetOCSPUrl(Aws::String &&value)
Definition: ClientCertAuthSettings.h:68
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::ClientCertAuthSettings::GetOCSPUrl
const Aws::String & GetOCSPUrl() const
Definition: ClientCertAuthSettings.h:47
Aws::DirectoryService::Model::ClientCertAuthSettings::WithOCSPUrl
ClientCertAuthSettings & WithOCSPUrl(Aws::String &&value)
Definition: ClientCertAuthSettings.h:89
Aws::DirectoryService::Model::ClientCertAuthSettings::WithOCSPUrl
ClientCertAuthSettings & WithOCSPUrl(const char *value)
Definition: ClientCertAuthSettings.h:96
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::ClientCertAuthSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DirectoryService::Model::ClientCertAuthSettings::operator=
ClientCertAuthSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::ClientCertAuthSettings::SetOCSPUrl
void SetOCSPUrl(const Aws::String &value)
Definition: ClientCertAuthSettings.h:61
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DirectoryService::Model::ClientCertAuthSettings::WithOCSPUrl
ClientCertAuthSettings & WithOCSPUrl(const Aws::String &value)
Definition: ClientCertAuthSettings.h:82
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DirectoryService::Model::ClientCertAuthSettings::ClientCertAuthSettings
ClientCertAuthSettings()
Aws::DirectoryService::Model::ClientCertAuthSettings::ClientCertAuthSettings
ClientCertAuthSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::DirectoryService::Model::ClientCertAuthSettings
Definition: ClientCertAuthSettings.h:34
Aws::DirectoryService::Model::ClientCertAuthSettings::OCSPUrlHasBeenSet
bool OCSPUrlHasBeenSet() const
Definition: ClientCertAuthSettings.h:54