AWS SDK for C++  1.9.47
AWS SDK for C++
SecurityProfileIdentifier.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& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline SecurityProfileIdentifier& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline SecurityProfileIdentifier& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline SecurityProfileIdentifier& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::String& GetArn() const{ return m_arn; }
86 
90  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
91 
95  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
96 
100  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
101 
105  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
106 
110  inline SecurityProfileIdentifier& WithArn(const Aws::String& value) { SetArn(value); return *this;}
111 
115  inline SecurityProfileIdentifier& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
116 
120  inline SecurityProfileIdentifier& WithArn(const char* value) { SetArn(value); return *this;}
121 
122  private:
123 
124  Aws::String m_name;
125  bool m_nameHasBeenSet;
126 
127  Aws::String m_arn;
128  bool m_arnHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace IoT
133 } // namespace Aws
Aws::IoT::Model::SecurityProfileIdentifier::GetName
const Aws::String & GetName() const
Definition: SecurityProfileIdentifier.h:44
Aws::IoT::Model::SecurityProfileIdentifier::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::SecurityProfileIdentifier::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: SecurityProfileIdentifier.h:90
Aws::IoT::Model::SecurityProfileIdentifier::WithName
SecurityProfileIdentifier & WithName(const char *value)
Definition: SecurityProfileIdentifier.h:79
Aws::IoT::Model::SecurityProfileIdentifier::WithArn
SecurityProfileIdentifier & WithArn(Aws::String &&value)
Definition: SecurityProfileIdentifier.h:115
Aws::IoT::Model::SecurityProfileIdentifier::SetArn
void SetArn(const Aws::String &value)
Definition: SecurityProfileIdentifier.h:95
Aws::IoT::Model::SecurityProfileIdentifier
Definition: SecurityProfileIdentifier.h:33
Aws::IoT::Model::SecurityProfileIdentifier::WithArn
SecurityProfileIdentifier & WithArn(const Aws::String &value)
Definition: SecurityProfileIdentifier.h:110
Aws::IoT::Model::SecurityProfileIdentifier::SetArn
void SetArn(Aws::String &&value)
Definition: SecurityProfileIdentifier.h:100
Aws::IoT::Model::SecurityProfileIdentifier::GetArn
const Aws::String & GetArn() const
Definition: SecurityProfileIdentifier.h:85
Aws::IoT::Model::SecurityProfileIdentifier::SetName
void SetName(Aws::String &&value)
Definition: SecurityProfileIdentifier.h:59
Aws::IoT::Model::SecurityProfileIdentifier::operator=
SecurityProfileIdentifier & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::SecurityProfileIdentifier::WithName
SecurityProfileIdentifier & WithName(Aws::String &&value)
Definition: SecurityProfileIdentifier.h:74
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::IoT::Model::SecurityProfileIdentifier::SecurityProfileIdentifier
SecurityProfileIdentifier()
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoT::Model::SecurityProfileIdentifier::SetArn
void SetArn(const char *value)
Definition: SecurityProfileIdentifier.h:105
Aws::IoT::Model::SecurityProfileIdentifier::SecurityProfileIdentifier
SecurityProfileIdentifier(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::SecurityProfileIdentifier::SetName
void SetName(const Aws::String &value)
Definition: SecurityProfileIdentifier.h:54
Aws::IoT::Model::SecurityProfileIdentifier::WithArn
SecurityProfileIdentifier & WithArn(const char *value)
Definition: SecurityProfileIdentifier.h:120
Aws::IoT::Model::SecurityProfileIdentifier::NameHasBeenSet
bool NameHasBeenSet() const
Definition: SecurityProfileIdentifier.h:49
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::SecurityProfileIdentifier::WithName
SecurityProfileIdentifier & WithName(const Aws::String &value)
Definition: SecurityProfileIdentifier.h:69
Aws::IoT::Model::SecurityProfileIdentifier::SetName
void SetName(const char *value)
Definition: SecurityProfileIdentifier.h:64
IoT_EXPORTS.h