AWS SDK for C++  1.9.156
AWS SDK for C++
UserIdentity.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 IoTSiteWise
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetId() const{ return m_id; }
45 
49  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 
54  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
55 
59  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 
64  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 
69  inline UserIdentity& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline UserIdentity& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline UserIdentity& WithId(const char* value) { SetId(value); return *this;}
80 
81  private:
82 
83  Aws::String m_id;
84  bool m_idHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace IoTSiteWise
89 } // namespace Aws
Aws::IoTSiteWise::Model::UserIdentity::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::UserIdentity::WithId
UserIdentity & WithId(const Aws::String &value)
Definition: UserIdentity.h:69
Aws::IoTSiteWise::Model::UserIdentity::IdHasBeenSet
bool IdHasBeenSet() const
Definition: UserIdentity.h:49
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::UserIdentity::operator=
UserIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::UserIdentity::SetId
void SetId(Aws::String &&value)
Definition: UserIdentity.h:59
Aws::IoTSiteWise::Model::UserIdentity::WithId
UserIdentity & WithId(Aws::String &&value)
Definition: UserIdentity.h:74
Aws::IoTSiteWise::Model::UserIdentity
Definition: UserIdentity.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::UserIdentity::UserIdentity
UserIdentity(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::UserIdentity::GetId
const Aws::String & GetId() const
Definition: UserIdentity.h:44
Aws::IoTSiteWise::Model::UserIdentity::SetId
void SetId(const char *value)
Definition: UserIdentity.h:64
Aws::IoTSiteWise::Model::UserIdentity::UserIdentity
UserIdentity()
Aws::IoTSiteWise::Model::UserIdentity::SetId
void SetId(const Aws::String &value)
Definition: UserIdentity.h:54
Aws::IoTSiteWise::Model::UserIdentity::WithId
UserIdentity & WithId(const char *value)
Definition: UserIdentity.h:79