AWS SDK for C++  1.9.20
AWS SDK for C++
ListenerTlsAcmCertificate.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 
33  {
34  public:
39 
40 
48  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
49 
57  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
58 
66  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
67 
75  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
76 
84  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
85 
93  inline ListenerTlsAcmCertificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
94 
102  inline ListenerTlsAcmCertificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
103 
111  inline ListenerTlsAcmCertificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
112 
113  private:
114 
115  Aws::String m_certificateArn;
116  bool m_certificateArnHasBeenSet;
117  };
118 
119 } // namespace Model
120 } // namespace AppMesh
121 } // namespace Aws
Aws::AppMesh::Model::ListenerTlsAcmCertificate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppMesh::Model::ListenerTlsAcmCertificate::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: ListenerTlsAcmCertificate.h:75
Aws::AppMesh::Model::ListenerTlsAcmCertificate::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: ListenerTlsAcmCertificate.h:48
Aws::AppMesh::Model::ListenerTlsAcmCertificate::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: ListenerTlsAcmCertificate.h:84
AppMesh_EXPORTS.h
Aws::AppMesh::Model::ListenerTlsAcmCertificate::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: ListenerTlsAcmCertificate.h:57
Aws::AppMesh::Model::ListenerTlsAcmCertificate::WithCertificateArn
ListenerTlsAcmCertificate & WithCertificateArn(Aws::String &&value)
Definition: ListenerTlsAcmCertificate.h:102
Aws::AppMesh::Model::ListenerTlsAcmCertificate::ListenerTlsAcmCertificate
ListenerTlsAcmCertificate(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTlsAcmCertificate::ListenerTlsAcmCertificate
ListenerTlsAcmCertificate()
Aws::AppMesh::Model::ListenerTlsAcmCertificate
Definition: ListenerTlsAcmCertificate.h:33
Aws::AppMesh::Model::ListenerTlsAcmCertificate::operator=
ListenerTlsAcmCertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppMesh::Model::ListenerTlsAcmCertificate::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: ListenerTlsAcmCertificate.h:66
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::AppMesh::Model::ListenerTlsAcmCertificate::WithCertificateArn
ListenerTlsAcmCertificate & WithCertificateArn(const char *value)
Definition: ListenerTlsAcmCertificate.h:111
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::AppMesh::Model::ListenerTlsAcmCertificate::WithCertificateArn
ListenerTlsAcmCertificate & WithCertificateArn(const Aws::String &value)
Definition: ListenerTlsAcmCertificate.h:93
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_API
#define AWS_APPMESH_API
Definition: AppMesh_EXPORTS.h:28