AWS SDK for C++  1.9.17
AWS SDK for C++
VirtualGatewayTlsValidationContextSdsTrust.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 VirtualGatewayTlsValidationContextSdsTrust& WithSecretName(const Aws::String& value) { SetSecretName(value); return *this;}
85 
91  inline VirtualGatewayTlsValidationContextSdsTrust& WithSecretName(Aws::String&& value) { SetSecretName(std::move(value)); return *this;}
92 
98  inline VirtualGatewayTlsValidationContextSdsTrust& 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::VirtualGatewayTlsValidationContextSdsTrust::GetSecretName
const Aws::String & GetSecretName() const
Definition: VirtualGatewayTlsValidationContextSdsTrust.h:49
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextSdsTrust::WithSecretName
VirtualGatewayTlsValidationContextSdsTrust & WithSecretName(const Aws::String &value)
Definition: VirtualGatewayTlsValidationContextSdsTrust.h:84
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextSdsTrust::operator=
VirtualGatewayTlsValidationContextSdsTrust & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextSdsTrust::SetSecretName
void SetSecretName(Aws::String &&value)
Definition: VirtualGatewayTlsValidationContextSdsTrust.h:70
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextSdsTrust::WithSecretName
VirtualGatewayTlsValidationContextSdsTrust & WithSecretName(const char *value)
Definition: VirtualGatewayTlsValidationContextSdsTrust.h:98
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextSdsTrust::WithSecretName
VirtualGatewayTlsValidationContextSdsTrust & WithSecretName(Aws::String &&value)
Definition: VirtualGatewayTlsValidationContextSdsTrust.h:91
AppMesh_EXPORTS.h
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextSdsTrust::SetSecretName
void SetSecretName(const char *value)
Definition: VirtualGatewayTlsValidationContextSdsTrust.h:77
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextSdsTrust
Definition: VirtualGatewayTlsValidationContextSdsTrust.h:36
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextSdsTrust::SecretNameHasBeenSet
bool SecretNameHasBeenSet() const
Definition: VirtualGatewayTlsValidationContextSdsTrust.h:56
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextSdsTrust::VirtualGatewayTlsValidationContextSdsTrust
VirtualGatewayTlsValidationContextSdsTrust(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextSdsTrust::SetSecretName
void SetSecretName(const Aws::String &value)
Definition: VirtualGatewayTlsValidationContextSdsTrust.h:63
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::VirtualGatewayTlsValidationContextSdsTrust::VirtualGatewayTlsValidationContextSdsTrust
VirtualGatewayTlsValidationContextSdsTrust()
Aws::AppMesh::Model::VirtualGatewayTlsValidationContextSdsTrust::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPMESH_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28