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