AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SecurityProfileTargetMapping.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/SecurityProfileIdentifier.h>
9#include <aws/iot/model/SecurityProfileTarget.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 IoT
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOT_API SecurityProfileTargetMapping() = default;
40
41
43
46 inline const SecurityProfileIdentifier& GetSecurityProfileIdentifier() const { return m_securityProfileIdentifier; }
47 inline bool SecurityProfileIdentifierHasBeenSet() const { return m_securityProfileIdentifierHasBeenSet; }
48 template<typename SecurityProfileIdentifierT = SecurityProfileIdentifier>
49 void SetSecurityProfileIdentifier(SecurityProfileIdentifierT&& value) { m_securityProfileIdentifierHasBeenSet = true; m_securityProfileIdentifier = std::forward<SecurityProfileIdentifierT>(value); }
50 template<typename SecurityProfileIdentifierT = SecurityProfileIdentifier>
51 SecurityProfileTargetMapping& WithSecurityProfileIdentifier(SecurityProfileIdentifierT&& value) { SetSecurityProfileIdentifier(std::forward<SecurityProfileIdentifierT>(value)); return *this;}
53
55
59 inline const SecurityProfileTarget& GetTarget() const { return m_target; }
60 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
61 template<typename TargetT = SecurityProfileTarget>
62 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
63 template<typename TargetT = SecurityProfileTarget>
64 SecurityProfileTargetMapping& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
66 private:
67
68 SecurityProfileIdentifier m_securityProfileIdentifier;
69 bool m_securityProfileIdentifierHasBeenSet = false;
70
71 SecurityProfileTarget m_target;
72 bool m_targetHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace IoT
77} // namespace Aws
SecurityProfileTargetMapping & WithSecurityProfileIdentifier(SecurityProfileIdentifierT &&value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API SecurityProfileTargetMapping(Aws::Utils::Json::JsonView jsonValue)
const SecurityProfileIdentifier & GetSecurityProfileIdentifier() const
AWS_IOT_API SecurityProfileTargetMapping()=default
void SetSecurityProfileIdentifier(SecurityProfileIdentifierT &&value)
SecurityProfileTargetMapping & WithTarget(TargetT &&value)
AWS_IOT_API SecurityProfileTargetMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue