AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TeamsUserIdentity.h
1
6#pragma once
7#include <aws/chatbot/Chatbot_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 chatbot
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CHATBOT_API TeamsUserIdentity();
38 AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
50 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
51 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
52 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
53 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
54 inline TeamsUserIdentity& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
55 inline TeamsUserIdentity& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
56 inline TeamsUserIdentity& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
58
60
64 inline const Aws::String& GetChatConfigurationArn() const{ return m_chatConfigurationArn; }
65 inline bool ChatConfigurationArnHasBeenSet() const { return m_chatConfigurationArnHasBeenSet; }
66 inline void SetChatConfigurationArn(const Aws::String& value) { m_chatConfigurationArnHasBeenSet = true; m_chatConfigurationArn = value; }
67 inline void SetChatConfigurationArn(Aws::String&& value) { m_chatConfigurationArnHasBeenSet = true; m_chatConfigurationArn = std::move(value); }
68 inline void SetChatConfigurationArn(const char* value) { m_chatConfigurationArnHasBeenSet = true; m_chatConfigurationArn.assign(value); }
70 inline TeamsUserIdentity& WithChatConfigurationArn(Aws::String&& value) { SetChatConfigurationArn(std::move(value)); return *this;}
71 inline TeamsUserIdentity& WithChatConfigurationArn(const char* value) { SetChatConfigurationArn(value); return *this;}
73
75
84 inline const Aws::String& GetTeamId() const{ return m_teamId; }
85 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
86 inline void SetTeamId(const Aws::String& value) { m_teamIdHasBeenSet = true; m_teamId = value; }
87 inline void SetTeamId(Aws::String&& value) { m_teamIdHasBeenSet = true; m_teamId = std::move(value); }
88 inline void SetTeamId(const char* value) { m_teamIdHasBeenSet = true; m_teamId.assign(value); }
89 inline TeamsUserIdentity& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;}
90 inline TeamsUserIdentity& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;}
91 inline TeamsUserIdentity& WithTeamId(const char* value) { SetTeamId(value); return *this;}
93
95
98 inline const Aws::String& GetUserId() const{ return m_userId; }
99 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
100 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
101 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
102 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
103 inline TeamsUserIdentity& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
104 inline TeamsUserIdentity& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
105 inline TeamsUserIdentity& WithUserId(const char* value) { SetUserId(value); return *this;}
107
109
113 inline const Aws::String& GetAwsUserIdentity() const{ return m_awsUserIdentity; }
114 inline bool AwsUserIdentityHasBeenSet() const { return m_awsUserIdentityHasBeenSet; }
115 inline void SetAwsUserIdentity(const Aws::String& value) { m_awsUserIdentityHasBeenSet = true; m_awsUserIdentity = value; }
116 inline void SetAwsUserIdentity(Aws::String&& value) { m_awsUserIdentityHasBeenSet = true; m_awsUserIdentity = std::move(value); }
117 inline void SetAwsUserIdentity(const char* value) { m_awsUserIdentityHasBeenSet = true; m_awsUserIdentity.assign(value); }
118 inline TeamsUserIdentity& WithAwsUserIdentity(const Aws::String& value) { SetAwsUserIdentity(value); return *this;}
119 inline TeamsUserIdentity& WithAwsUserIdentity(Aws::String&& value) { SetAwsUserIdentity(std::move(value)); return *this;}
120 inline TeamsUserIdentity& WithAwsUserIdentity(const char* value) { SetAwsUserIdentity(value); return *this;}
122
124
127 inline const Aws::String& GetTeamsChannelId() const{ return m_teamsChannelId; }
128 inline bool TeamsChannelIdHasBeenSet() const { return m_teamsChannelIdHasBeenSet; }
129 inline void SetTeamsChannelId(const Aws::String& value) { m_teamsChannelIdHasBeenSet = true; m_teamsChannelId = value; }
130 inline void SetTeamsChannelId(Aws::String&& value) { m_teamsChannelIdHasBeenSet = true; m_teamsChannelId = std::move(value); }
131 inline void SetTeamsChannelId(const char* value) { m_teamsChannelIdHasBeenSet = true; m_teamsChannelId.assign(value); }
132 inline TeamsUserIdentity& WithTeamsChannelId(const Aws::String& value) { SetTeamsChannelId(value); return *this;}
133 inline TeamsUserIdentity& WithTeamsChannelId(Aws::String&& value) { SetTeamsChannelId(std::move(value)); return *this;}
134 inline TeamsUserIdentity& WithTeamsChannelId(const char* value) { SetTeamsChannelId(value); return *this;}
136
138
141 inline const Aws::String& GetTeamsTenantId() const{ return m_teamsTenantId; }
142 inline bool TeamsTenantIdHasBeenSet() const { return m_teamsTenantIdHasBeenSet; }
143 inline void SetTeamsTenantId(const Aws::String& value) { m_teamsTenantIdHasBeenSet = true; m_teamsTenantId = value; }
144 inline void SetTeamsTenantId(Aws::String&& value) { m_teamsTenantIdHasBeenSet = true; m_teamsTenantId = std::move(value); }
145 inline void SetTeamsTenantId(const char* value) { m_teamsTenantIdHasBeenSet = true; m_teamsTenantId.assign(value); }
146 inline TeamsUserIdentity& WithTeamsTenantId(const Aws::String& value) { SetTeamsTenantId(value); return *this;}
147 inline TeamsUserIdentity& WithTeamsTenantId(Aws::String&& value) { SetTeamsTenantId(std::move(value)); return *this;}
148 inline TeamsUserIdentity& WithTeamsTenantId(const char* value) { SetTeamsTenantId(value); return *this;}
150 private:
151
152 Aws::String m_iamRoleArn;
153 bool m_iamRoleArnHasBeenSet = false;
154
155 Aws::String m_chatConfigurationArn;
156 bool m_chatConfigurationArnHasBeenSet = false;
157
158 Aws::String m_teamId;
159 bool m_teamIdHasBeenSet = false;
160
161 Aws::String m_userId;
162 bool m_userIdHasBeenSet = false;
163
164 Aws::String m_awsUserIdentity;
165 bool m_awsUserIdentityHasBeenSet = false;
166
167 Aws::String m_teamsChannelId;
168 bool m_teamsChannelIdHasBeenSet = false;
169
170 Aws::String m_teamsTenantId;
171 bool m_teamsTenantIdHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace chatbot
176} // namespace Aws
void SetChatConfigurationArn(const Aws::String &value)
const Aws::String & GetTeamsTenantId() const
TeamsUserIdentity & WithChatConfigurationArn(const Aws::String &value)
const Aws::String & GetChatConfigurationArn() const
void SetTeamsTenantId(Aws::String &&value)
const Aws::String & GetTeamId() const
void SetTeamsChannelId(const Aws::String &value)
TeamsUserIdentity & WithIamRoleArn(const Aws::String &value)
TeamsUserIdentity & WithIamRoleArn(Aws::String &&value)
const Aws::String & GetUserId() const
TeamsUserIdentity & WithUserId(const Aws::String &value)
void SetTeamsTenantId(const Aws::String &value)
AWS_CHATBOT_API TeamsUserIdentity(Aws::Utils::Json::JsonView jsonValue)
TeamsUserIdentity & WithAwsUserIdentity(const Aws::String &value)
TeamsUserIdentity & WithChatConfigurationArn(const char *value)
TeamsUserIdentity & WithTeamsChannelId(const char *value)
void SetIamRoleArn(const Aws::String &value)
const Aws::String & GetIamRoleArn() const
void SetUserId(const Aws::String &value)
TeamsUserIdentity & WithAwsUserIdentity(Aws::String &&value)
void SetIamRoleArn(Aws::String &&value)
TeamsUserIdentity & WithAwsUserIdentity(const char *value)
TeamsUserIdentity & WithIamRoleArn(const char *value)
void SetAwsUserIdentity(Aws::String &&value)
void SetTeamsChannelId(Aws::String &&value)
TeamsUserIdentity & WithUserId(const char *value)
TeamsUserIdentity & WithTeamsChannelId(const Aws::String &value)
TeamsUserIdentity & WithTeamsTenantId(const char *value)
TeamsUserIdentity & WithUserId(Aws::String &&value)
void SetChatConfigurationArn(const char *value)
TeamsUserIdentity & WithTeamId(Aws::String &&value)
const Aws::String & GetAwsUserIdentity() const
TeamsUserIdentity & WithTeamsTenantId(Aws::String &&value)
AWS_CHATBOT_API TeamsUserIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTeamId(const Aws::String &value)
AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const
TeamsUserIdentity & WithTeamId(const char *value)
void SetChatConfigurationArn(Aws::String &&value)
void SetAwsUserIdentity(const Aws::String &value)
TeamsUserIdentity & WithChatConfigurationArn(Aws::String &&value)
TeamsUserIdentity & WithTeamsTenantId(const Aws::String &value)
TeamsUserIdentity & WithTeamId(const Aws::String &value)
TeamsUserIdentity & WithTeamsChannelId(Aws::String &&value)
const Aws::String & GetTeamsChannelId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue