AWS SDK for C++  1.9.123
AWS SDK for C++
SecurityProfileTargetMapping.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoT
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const SecurityProfileIdentifier& GetSecurityProfileIdentifier() const{ return m_securityProfileIdentifier; }
46 
50  inline bool SecurityProfileIdentifierHasBeenSet() const { return m_securityProfileIdentifierHasBeenSet; }
51 
55  inline void SetSecurityProfileIdentifier(const SecurityProfileIdentifier& value) { m_securityProfileIdentifierHasBeenSet = true; m_securityProfileIdentifier = value; }
56 
60  inline void SetSecurityProfileIdentifier(SecurityProfileIdentifier&& value) { m_securityProfileIdentifierHasBeenSet = true; m_securityProfileIdentifier = std::move(value); }
61 
65  inline SecurityProfileTargetMapping& WithSecurityProfileIdentifier(const SecurityProfileIdentifier& value) { SetSecurityProfileIdentifier(value); return *this;}
66 
70  inline SecurityProfileTargetMapping& WithSecurityProfileIdentifier(SecurityProfileIdentifier&& value) { SetSecurityProfileIdentifier(std::move(value)); return *this;}
71 
72 
77  inline const SecurityProfileTarget& GetTarget() const{ return m_target; }
78 
83  inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
84 
89  inline void SetTarget(const SecurityProfileTarget& value) { m_targetHasBeenSet = true; m_target = value; }
90 
95  inline void SetTarget(SecurityProfileTarget&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
96 
101  inline SecurityProfileTargetMapping& WithTarget(const SecurityProfileTarget& value) { SetTarget(value); return *this;}
102 
107  inline SecurityProfileTargetMapping& WithTarget(SecurityProfileTarget&& value) { SetTarget(std::move(value)); return *this;}
108 
109  private:
110 
111  SecurityProfileIdentifier m_securityProfileIdentifier;
112  bool m_securityProfileIdentifierHasBeenSet;
113 
114  SecurityProfileTarget m_target;
115  bool m_targetHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace IoT
120 } // namespace Aws
Aws::IoT::Model::SecurityProfileTargetMapping::SecurityProfileIdentifierHasBeenSet
bool SecurityProfileIdentifierHasBeenSet() const
Definition: SecurityProfileTargetMapping.h:50
Aws::IoT::Model::SecurityProfileTargetMapping::SecurityProfileTargetMapping
SecurityProfileTargetMapping()
Aws::IoT::Model::SecurityProfileTargetMapping::SecurityProfileTargetMapping
SecurityProfileTargetMapping(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::SecurityProfileTargetMapping::WithTarget
SecurityProfileTargetMapping & WithTarget(const SecurityProfileTarget &value)
Definition: SecurityProfileTargetMapping.h:101
SecurityProfileTarget.h
Aws::IoT::Model::SecurityProfileIdentifier
Definition: SecurityProfileIdentifier.h:33
Aws::IoT::Model::SecurityProfileTargetMapping::WithSecurityProfileIdentifier
SecurityProfileTargetMapping & WithSecurityProfileIdentifier(const SecurityProfileIdentifier &value)
Definition: SecurityProfileTargetMapping.h:65
Aws::IoT::Model::SecurityProfileTarget
Definition: SecurityProfileTarget.h:33
Aws::IoT::Model::SecurityProfileTargetMapping
Definition: SecurityProfileTargetMapping.h:34
SecurityProfileIdentifier.h
Aws::IoT::Model::SecurityProfileTargetMapping::WithTarget
SecurityProfileTargetMapping & WithTarget(SecurityProfileTarget &&value)
Definition: SecurityProfileTargetMapping.h:107
Aws::IoT::Model::SecurityProfileTargetMapping::GetSecurityProfileIdentifier
const SecurityProfileIdentifier & GetSecurityProfileIdentifier() const
Definition: SecurityProfileTargetMapping.h:45
Aws::IoT::Model::SecurityProfileTargetMapping::SetTarget
void SetTarget(SecurityProfileTarget &&value)
Definition: SecurityProfileTargetMapping.h:95
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::IoT::Model::SecurityProfileTargetMapping::WithSecurityProfileIdentifier
SecurityProfileTargetMapping & WithSecurityProfileIdentifier(SecurityProfileIdentifier &&value)
Definition: SecurityProfileTargetMapping.h:70
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::SecurityProfileTargetMapping::GetTarget
const SecurityProfileTarget & GetTarget() const
Definition: SecurityProfileTargetMapping.h:77
Aws::IoT::Model::SecurityProfileTargetMapping::SetSecurityProfileIdentifier
void SetSecurityProfileIdentifier(const SecurityProfileIdentifier &value)
Definition: SecurityProfileTargetMapping.h:55
Aws::IoT::Model::SecurityProfileTargetMapping::TargetHasBeenSet
bool TargetHasBeenSet() const
Definition: SecurityProfileTargetMapping.h:83
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::SecurityProfileTargetMapping::SetSecurityProfileIdentifier
void SetSecurityProfileIdentifier(SecurityProfileIdentifier &&value)
Definition: SecurityProfileTargetMapping.h:60
Aws::IoT::Model::SecurityProfileTargetMapping::operator=
SecurityProfileTargetMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::SecurityProfileTargetMapping::SetTarget
void SetTarget(const SecurityProfileTarget &value)
Definition: SecurityProfileTargetMapping.h:89
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::SecurityProfileTargetMapping::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
IoT_EXPORTS.h