AWS SDK for C++  1.8.129
AWS SDK for C++
GroupIdentity.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 GroupIdentity& WithId(const Aws::String& value) { SetId(value); return *this;}
70 
74  inline GroupIdentity& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
75 
79  inline GroupIdentity& 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::GroupIdentity::WithId
GroupIdentity & WithId(Aws::String &&value)
Definition: GroupIdentity.h:74
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::GroupIdentity::SetId
void SetId(Aws::String &&value)
Definition: GroupIdentity.h:59
Aws::IoTSiteWise::Model::GroupIdentity::IdHasBeenSet
bool IdHasBeenSet() const
Definition: GroupIdentity.h:49
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::GroupIdentity::GetId
const Aws::String & GetId() const
Definition: GroupIdentity.h:44
Aws::IoTSiteWise::Model::GroupIdentity::SetId
void SetId(const char *value)
Definition: GroupIdentity.h:64
Aws::IoTSiteWise::Model::GroupIdentity::WithId
GroupIdentity & WithId(const char *value)
Definition: GroupIdentity.h:79
Aws::IoTSiteWise::Model::GroupIdentity
Definition: GroupIdentity.h:33
Aws::IoTSiteWise::Model::GroupIdentity::SetId
void SetId(const Aws::String &value)
Definition: GroupIdentity.h:54
Aws::IoTSiteWise::Model::GroupIdentity::GroupIdentity
GroupIdentity()
Aws::IoTSiteWise::Model::GroupIdentity::GroupIdentity
GroupIdentity(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::GroupIdentity::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::IoTSiteWise::Model::GroupIdentity::WithId
GroupIdentity & WithId(const Aws::String &value)
Definition: GroupIdentity.h:69
Aws::IoTSiteWise::Model::GroupIdentity::operator=
GroupIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97