AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TlsConfig.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoT
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_IOT_API TlsConfig();
36 AWS_IOT_API TlsConfig(Aws::Utils::Json::JsonView jsonValue);
39
40
42
47 inline const Aws::String& GetSecurityPolicy() const{ return m_securityPolicy; }
48 inline bool SecurityPolicyHasBeenSet() const { return m_securityPolicyHasBeenSet; }
49 inline void SetSecurityPolicy(const Aws::String& value) { m_securityPolicyHasBeenSet = true; m_securityPolicy = value; }
50 inline void SetSecurityPolicy(Aws::String&& value) { m_securityPolicyHasBeenSet = true; m_securityPolicy = std::move(value); }
51 inline void SetSecurityPolicy(const char* value) { m_securityPolicyHasBeenSet = true; m_securityPolicy.assign(value); }
52 inline TlsConfig& WithSecurityPolicy(const Aws::String& value) { SetSecurityPolicy(value); return *this;}
53 inline TlsConfig& WithSecurityPolicy(Aws::String&& value) { SetSecurityPolicy(std::move(value)); return *this;}
54 inline TlsConfig& WithSecurityPolicy(const char* value) { SetSecurityPolicy(value); return *this;}
56 private:
57
58 Aws::String m_securityPolicy;
59 bool m_securityPolicyHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace IoT
64} // namespace Aws
AWS_IOT_API TlsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityPolicy(Aws::String &&value)
Definition TlsConfig.h:50
TlsConfig & WithSecurityPolicy(const char *value)
Definition TlsConfig.h:54
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
TlsConfig & WithSecurityPolicy(const Aws::String &value)
Definition TlsConfig.h:52
void SetSecurityPolicy(const Aws::String &value)
Definition TlsConfig.h:49
AWS_IOT_API TlsConfig(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityPolicy(const char *value)
Definition TlsConfig.h:51
TlsConfig & WithSecurityPolicy(Aws::String &&value)
Definition TlsConfig.h:53
bool SecurityPolicyHasBeenSet() const
Definition TlsConfig.h:48
const Aws::String & GetSecurityPolicy() const
Definition TlsConfig.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue