AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceConnectTlsConfiguration.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/ServiceConnectTlsCertificateAuthority.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECS
23{
24namespace Model
25{
26
34 {
35 public:
40
41
43
46 inline const ServiceConnectTlsCertificateAuthority& GetIssuerCertificateAuthority() const{ return m_issuerCertificateAuthority; }
47 inline bool IssuerCertificateAuthorityHasBeenSet() const { return m_issuerCertificateAuthorityHasBeenSet; }
48 inline void SetIssuerCertificateAuthority(const ServiceConnectTlsCertificateAuthority& value) { m_issuerCertificateAuthorityHasBeenSet = true; m_issuerCertificateAuthority = value; }
49 inline void SetIssuerCertificateAuthority(ServiceConnectTlsCertificateAuthority&& value) { m_issuerCertificateAuthorityHasBeenSet = true; m_issuerCertificateAuthority = std::move(value); }
53
55
58 inline const Aws::String& GetKmsKey() const{ return m_kmsKey; }
59 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
60 inline void SetKmsKey(const Aws::String& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; }
61 inline void SetKmsKey(Aws::String&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); }
62 inline void SetKmsKey(const char* value) { m_kmsKeyHasBeenSet = true; m_kmsKey.assign(value); }
63 inline ServiceConnectTlsConfiguration& WithKmsKey(const Aws::String& value) { SetKmsKey(value); return *this;}
64 inline ServiceConnectTlsConfiguration& WithKmsKey(Aws::String&& value) { SetKmsKey(std::move(value)); return *this;}
65 inline ServiceConnectTlsConfiguration& WithKmsKey(const char* value) { SetKmsKey(value); return *this;}
67
69
73 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
74 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
75 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
76 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
77 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
78 inline ServiceConnectTlsConfiguration& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
79 inline ServiceConnectTlsConfiguration& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
80 inline ServiceConnectTlsConfiguration& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
82 private:
83
84 ServiceConnectTlsCertificateAuthority m_issuerCertificateAuthority;
85 bool m_issuerCertificateAuthorityHasBeenSet = false;
86
87 Aws::String m_kmsKey;
88 bool m_kmsKeyHasBeenSet = false;
89
90 Aws::String m_roleArn;
91 bool m_roleArnHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ECS
96} // namespace Aws
AWS_ECS_API ServiceConnectTlsConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetIssuerCertificateAuthority(const ServiceConnectTlsCertificateAuthority &value)
void SetIssuerCertificateAuthority(ServiceConnectTlsCertificateAuthority &&value)
ServiceConnectTlsConfiguration & WithKmsKey(const char *value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceConnectTlsConfiguration & WithKmsKey(Aws::String &&value)
ServiceConnectTlsConfiguration & WithIssuerCertificateAuthority(ServiceConnectTlsCertificateAuthority &&value)
const ServiceConnectTlsCertificateAuthority & GetIssuerCertificateAuthority() const
ServiceConnectTlsConfiguration & WithIssuerCertificateAuthority(const ServiceConnectTlsCertificateAuthority &value)
ServiceConnectTlsConfiguration & WithRoleArn(const Aws::String &value)
AWS_ECS_API ServiceConnectTlsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceConnectTlsConfiguration & WithRoleArn(Aws::String &&value)
ServiceConnectTlsConfiguration & WithRoleArn(const char *value)
ServiceConnectTlsConfiguration & WithKmsKey(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue