AWS SDK for C++  1.9.106
AWS SDK for C++
ServiceProfile.h
Go to the documentation of this file.
1 
6 #pragma once
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 IoTWireless
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetArn() const{ return m_arn; }
44 
48  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 
53  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
54 
58  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
59 
63  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
64 
68  inline ServiceProfile& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 
73  inline ServiceProfile& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
74 
78  inline ServiceProfile& WithArn(const char* value) { SetArn(value); return *this;}
79 
80 
84  inline const Aws::String& GetName() const{ return m_name; }
85 
89  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
90 
94  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
95 
99  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
100 
104  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
105 
109  inline ServiceProfile& WithName(const Aws::String& value) { SetName(value); return *this;}
110 
114  inline ServiceProfile& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
115 
119  inline ServiceProfile& WithName(const char* value) { SetName(value); return *this;}
120 
121 
125  inline const Aws::String& GetId() const{ return m_id; }
126 
130  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
131 
135  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
136 
140  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
141 
145  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
146 
150  inline ServiceProfile& WithId(const Aws::String& value) { SetId(value); return *this;}
151 
155  inline ServiceProfile& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
156 
160  inline ServiceProfile& WithId(const char* value) { SetId(value); return *this;}
161 
162  private:
163 
164  Aws::String m_arn;
165  bool m_arnHasBeenSet;
166 
167  Aws::String m_name;
168  bool m_nameHasBeenSet;
169 
170  Aws::String m_id;
171  bool m_idHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace IoTWireless
176 } // namespace Aws
Aws::IoTWireless::Model::ServiceProfile::WithName
ServiceProfile & WithName(Aws::String &&value)
Definition: ServiceProfile.h:114
Aws::IoTWireless::Model::ServiceProfile::GetName
const Aws::String & GetName() const
Definition: ServiceProfile.h:84
Aws::IoTWireless::Model::ServiceProfile::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ServiceProfile.h:130
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::ServiceProfile::WithName
ServiceProfile & WithName(const char *value)
Definition: ServiceProfile.h:119
Aws::IoTWireless::Model::ServiceProfile::SetName
void SetName(const char *value)
Definition: ServiceProfile.h:104
Aws::IoTWireless::Model::ServiceProfile::WithId
ServiceProfile & WithId(const char *value)
Definition: ServiceProfile.h:160
Aws::IoTWireless::Model::ServiceProfile::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ServiceProfile.h:48
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::ServiceProfile::SetId
void SetId(const char *value)
Definition: ServiceProfile.h:145
Aws::IoTWireless::Model::ServiceProfile::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::ServiceProfile::SetId
void SetId(Aws::String &&value)
Definition: ServiceProfile.h:140
Aws::IoTWireless::Model::ServiceProfile::SetArn
void SetArn(const Aws::String &value)
Definition: ServiceProfile.h:53
Aws::IoTWireless::Model::ServiceProfile::SetName
void SetName(const Aws::String &value)
Definition: ServiceProfile.h:94
Aws::IoTWireless::Model::ServiceProfile::operator=
ServiceProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::ServiceProfile::ServiceProfile
ServiceProfile()
Aws::IoTWireless::Model::ServiceProfile::WithArn
ServiceProfile & WithArn(const char *value)
Definition: ServiceProfile.h:78
Aws::IoTWireless::Model::ServiceProfile::WithArn
ServiceProfile & WithArn(const Aws::String &value)
Definition: ServiceProfile.h:68
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::ServiceProfile::ServiceProfile
ServiceProfile(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::ServiceProfile::GetId
const Aws::String & GetId() const
Definition: ServiceProfile.h:125
Aws::IoTWireless::Model::ServiceProfile::SetId
void SetId(const Aws::String &value)
Definition: ServiceProfile.h:135
Aws::IoTWireless::Model::ServiceProfile::NameHasBeenSet
bool NameHasBeenSet() const
Definition: ServiceProfile.h:89
Aws::IoTWireless::Model::ServiceProfile::WithName
ServiceProfile & WithName(const Aws::String &value)
Definition: ServiceProfile.h:109
Aws::IoTWireless::Model::ServiceProfile
Definition: ServiceProfile.h:32
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::ServiceProfile::GetArn
const Aws::String & GetArn() const
Definition: ServiceProfile.h:43
Aws::IoTWireless::Model::ServiceProfile::WithArn
ServiceProfile & WithArn(Aws::String &&value)
Definition: ServiceProfile.h:73
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::ServiceProfile::SetArn
void SetArn(const char *value)
Definition: ServiceProfile.h:63
Aws::IoTWireless::Model::ServiceProfile::WithId
ServiceProfile & WithId(Aws::String &&value)
Definition: ServiceProfile.h:155
Aws::IoTWireless::Model::ServiceProfile::SetArn
void SetArn(Aws::String &&value)
Definition: ServiceProfile.h:58
Aws::IoTWireless::Model::ServiceProfile::SetName
void SetName(Aws::String &&value)
Definition: ServiceProfile.h:99
Aws::IoTWireless::Model::ServiceProfile::WithId
ServiceProfile & WithId(const Aws::String &value)
Definition: ServiceProfile.h:150