AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
46 inline const SecurityProfileIdentifier& GetSecurityProfileIdentifier() const{ return m_securityProfileIdentifier; }
47 inline bool SecurityProfileIdentifierHasBeenSet() const { return m_securityProfileIdentifierHasBeenSet; }
48 inline void SetSecurityProfileIdentifier(const SecurityProfileIdentifier& value) { m_securityProfileIdentifierHasBeenSet = true; m_securityProfileIdentifier = value; }
49 inline void SetSecurityProfileIdentifier(SecurityProfileIdentifier&& value) { m_securityProfileIdentifierHasBeenSet = true; m_securityProfileIdentifier = std::move(value); }
53
55
59 inline const SecurityProfileTarget& GetTarget() const{ return m_target; }
60 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
61 inline void SetTarget(const SecurityProfileTarget& value) { m_targetHasBeenSet = true; m_target = value; }
62 inline void SetTarget(SecurityProfileTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
63 inline SecurityProfileTargetMapping& WithTarget(const SecurityProfileTarget& value) { SetTarget(value); return *this;}
64 inline SecurityProfileTargetMapping& WithTarget(SecurityProfileTarget&& value) { SetTarget(std::move(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
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOT_API SecurityProfileTargetMapping(Aws::Utils::Json::JsonView jsonValue)
const SecurityProfileIdentifier & GetSecurityProfileIdentifier() const
SecurityProfileTargetMapping & WithSecurityProfileIdentifier(SecurityProfileIdentifier &&value)
SecurityProfileTargetMapping & WithSecurityProfileIdentifier(const SecurityProfileIdentifier &value)
void SetSecurityProfileIdentifier(SecurityProfileIdentifier &&value)
void SetTarget(const SecurityProfileTarget &value)
SecurityProfileTargetMapping & WithTarget(SecurityProfileTarget &&value)
void SetSecurityProfileIdentifier(const SecurityProfileIdentifier &value)
SecurityProfileTargetMapping & WithTarget(const SecurityProfileTarget &value)
AWS_IOT_API SecurityProfileTargetMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue