AWS SDK for C++  1.9.131
AWS SDK for C++
TlsValidationContextSdsTrust.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 AppMesh
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
49  inline const Aws::String& GetSecretName() const{ return m_secretName; }
50 
56  inline bool SecretNameHasBeenSet() const { return m_secretNameHasBeenSet; }
57 
63  inline void SetSecretName(const Aws::String& value) { m_secretNameHasBeenSet = true; m_secretName = value; }
64 
70  inline void SetSecretName(Aws::String&& value) { m_secretNameHasBeenSet = true; m_secretName = std::move(value); }
71 
77  inline void SetSecretName(const char* value) { m_secretNameHasBeenSet = true; m_secretName.assign(value); }
78 
84  inline TlsValidationContextSdsTrust& WithSecretName(const Aws::String& value) { SetSecretName(value); return *this;}
85 
91  inline TlsValidationContextSdsTrust& WithSecretName(Aws::String&& value) { SetSecretName(std::move(value)); return *this;}
92 
98  inline TlsValidationContextSdsTrust& WithSecretName(const char* value) { SetSecretName(value); return *this;}
99 
100  private:
101 
102  Aws::String m_secretName;
103  bool m_secretNameHasBeenSet;
104  };
105 
106 } // namespace Model
107 } // namespace AppMesh
108 } // namespace Aws
Aws::AppMesh::Model::TlsValidationContextSdsTrust::TlsValidationContextSdsTrust
TlsValidationContextSdsTrust(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::TlsValidationContextSdsTrust::TlsValidationContextSdsTrust
TlsValidationContextSdsTrust()
Aws::AppMesh::Model::TlsValidationContextSdsTrust::SetSecretName
void SetSecretName(const Aws::String &value)
Definition: TlsValidationContextSdsTrust.h:63
Aws::AppMesh::Model::TlsValidationContextSdsTrust::WithSecretName
TlsValidationContextSdsTrust & WithSecretName(Aws::String &&value)
Definition: TlsValidationContextSdsTrust.h:91
Aws::AppMesh::Model::TlsValidationContextSdsTrust::operator=
TlsValidationContextSdsTrust & operator=(Aws::Utils::Json::JsonView jsonValue)
AppMesh_EXPORTS.h
Aws::AppMesh::Model::TlsValidationContextSdsTrust::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::TlsValidationContextSdsTrust::WithSecretName
TlsValidationContextSdsTrust & WithSecretName(const char *value)
Definition: TlsValidationContextSdsTrust.h:98
Aws::AppMesh::Model::TlsValidationContextSdsTrust
Definition: TlsValidationContextSdsTrust.h:36
Aws::AppMesh::Model::TlsValidationContextSdsTrust::SetSecretName
void SetSecretName(const char *value)
Definition: TlsValidationContextSdsTrust.h:77
Aws::AppMesh::Model::TlsValidationContextSdsTrust::SecretNameHasBeenSet
bool SecretNameHasBeenSet() const
Definition: TlsValidationContextSdsTrust.h:56
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppMesh::Model::TlsValidationContextSdsTrust::SetSecretName
void SetSecretName(Aws::String &&value)
Definition: TlsValidationContextSdsTrust.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppMesh::Model::TlsValidationContextSdsTrust::GetSecretName
const Aws::String & GetSecretName() const
Definition: TlsValidationContextSdsTrust.h:49
Aws::AppMesh::Model::TlsValidationContextSdsTrust::WithSecretName
TlsValidationContextSdsTrust & WithSecretName(const Aws::String &value)
Definition: TlsValidationContextSdsTrust.h:84
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28