AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SSOIdentity.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTEvents
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_IOTEVENTS_API SSOIdentity();
38 AWS_IOTEVENTS_API SSOIdentity(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTEVENTS_API SSOIdentity& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetIdentityStoreId() const{ return m_identityStoreId; }
48 inline bool IdentityStoreIdHasBeenSet() const { return m_identityStoreIdHasBeenSet; }
49 inline void SetIdentityStoreId(const Aws::String& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = value; }
50 inline void SetIdentityStoreId(Aws::String&& value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId = std::move(value); }
51 inline void SetIdentityStoreId(const char* value) { m_identityStoreIdHasBeenSet = true; m_identityStoreId.assign(value); }
52 inline SSOIdentity& WithIdentityStoreId(const Aws::String& value) { SetIdentityStoreId(value); return *this;}
53 inline SSOIdentity& WithIdentityStoreId(Aws::String&& value) { SetIdentityStoreId(std::move(value)); return *this;}
54 inline SSOIdentity& WithIdentityStoreId(const char* value) { SetIdentityStoreId(value); return *this;}
56
58
61 inline const Aws::String& GetUserId() const{ return m_userId; }
62 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
63 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
64 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
65 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
66 inline SSOIdentity& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
67 inline SSOIdentity& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
68 inline SSOIdentity& WithUserId(const char* value) { SetUserId(value); return *this;}
70 private:
71
72 Aws::String m_identityStoreId;
73 bool m_identityStoreIdHasBeenSet = false;
74
75 Aws::String m_userId;
76 bool m_userIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IoTEvents
81} // namespace Aws
SSOIdentity & WithIdentityStoreId(Aws::String &&value)
Definition SSOIdentity.h:53
void SetIdentityStoreId(Aws::String &&value)
Definition SSOIdentity.h:50
SSOIdentity & WithUserId(const Aws::String &value)
Definition SSOIdentity.h:66
const Aws::String & GetUserId() const
Definition SSOIdentity.h:61
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIdentityStoreId(const char *value)
Definition SSOIdentity.h:51
SSOIdentity & WithIdentityStoreId(const char *value)
Definition SSOIdentity.h:54
void SetIdentityStoreId(const Aws::String &value)
Definition SSOIdentity.h:49
SSOIdentity & WithIdentityStoreId(const Aws::String &value)
Definition SSOIdentity.h:52
void SetUserId(const char *value)
Definition SSOIdentity.h:65
SSOIdentity & WithUserId(Aws::String &&value)
Definition SSOIdentity.h:67
const Aws::String & GetIdentityStoreId() const
Definition SSOIdentity.h:47
void SetUserId(const Aws::String &value)
Definition SSOIdentity.h:63
void SetUserId(Aws::String &&value)
Definition SSOIdentity.h:64
AWS_IOTEVENTS_API SSOIdentity(Aws::Utils::Json::JsonView jsonValue)
SSOIdentity & WithUserId(const char *value)
Definition SSOIdentity.h:68
AWS_IOTEVENTS_API SSOIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue