AWS SDK for C++  1.9.126
AWS SDK for C++
SecurityProfileTarget.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace IoT
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetArn() const{ return m_arn; }
45 
49  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 
54  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
55 
59  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
60 
64  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
65 
69  inline SecurityProfileTarget& WithArn(const Aws::String& value) { SetArn(value); return *this;}
70 
74  inline SecurityProfileTarget& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
75 
79  inline SecurityProfileTarget& WithArn(const char* value) { SetArn(value); return *this;}
80 
81  private:
82 
83  Aws::String m_arn;
84  bool m_arnHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace IoT
89 } // namespace Aws
Aws::IoT::Model::SecurityProfileTarget::SetArn
void SetArn(const char *value)
Definition: SecurityProfileTarget.h:64
Aws::IoT::Model::SecurityProfileTarget::WithArn
SecurityProfileTarget & WithArn(Aws::String &&value)
Definition: SecurityProfileTarget.h:74
Aws::IoT::Model::SecurityProfileTarget::SecurityProfileTarget
SecurityProfileTarget(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::SecurityProfileTarget::operator=
SecurityProfileTarget & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::SecurityProfileTarget
Definition: SecurityProfileTarget.h:33
Aws::IoT::Model::SecurityProfileTarget::WithArn
SecurityProfileTarget & WithArn(const Aws::String &value)
Definition: SecurityProfileTarget.h:69
Aws::IoT::Model::SecurityProfileTarget::SetArn
void SetArn(Aws::String &&value)
Definition: SecurityProfileTarget.h:59
Aws::IoT::Model::SecurityProfileTarget::SetArn
void SetArn(const Aws::String &value)
Definition: SecurityProfileTarget.h:54
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::SecurityProfileTarget::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::SecurityProfileTarget::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: SecurityProfileTarget.h:49
Aws::IoT::Model::SecurityProfileTarget::SecurityProfileTarget
SecurityProfileTarget()
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::IoT::Model::SecurityProfileTarget::WithArn
SecurityProfileTarget & WithArn(const char *value)
Definition: SecurityProfileTarget.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::SecurityProfileTarget::GetArn
const Aws::String & GetArn() const
Definition: SecurityProfileTarget.h:44
IoT_EXPORTS.h