AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlackUserIdentity.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 SlackUserIdentity();
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 SlackUserIdentity& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
55 inline SlackUserIdentity& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
56 inline SlackUserIdentity& 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 SlackUserIdentity& WithChatConfigurationArn(Aws::String&& value) { SetChatConfigurationArn(std::move(value)); return *this;}
71 inline SlackUserIdentity& WithChatConfigurationArn(const char* value) { SetChatConfigurationArn(value); return *this;}
73
75
78 inline const Aws::String& GetSlackTeamId() const{ return m_slackTeamId; }
79 inline bool SlackTeamIdHasBeenSet() const { return m_slackTeamIdHasBeenSet; }
80 inline void SetSlackTeamId(const Aws::String& value) { m_slackTeamIdHasBeenSet = true; m_slackTeamId = value; }
81 inline void SetSlackTeamId(Aws::String&& value) { m_slackTeamIdHasBeenSet = true; m_slackTeamId = std::move(value); }
82 inline void SetSlackTeamId(const char* value) { m_slackTeamIdHasBeenSet = true; m_slackTeamId.assign(value); }
83 inline SlackUserIdentity& WithSlackTeamId(const Aws::String& value) { SetSlackTeamId(value); return *this;}
84 inline SlackUserIdentity& WithSlackTeamId(Aws::String&& value) { SetSlackTeamId(std::move(value)); return *this;}
85 inline SlackUserIdentity& WithSlackTeamId(const char* value) { SetSlackTeamId(value); return *this;}
87
89
92 inline const Aws::String& GetSlackUserId() const{ return m_slackUserId; }
93 inline bool SlackUserIdHasBeenSet() const { return m_slackUserIdHasBeenSet; }
94 inline void SetSlackUserId(const Aws::String& value) { m_slackUserIdHasBeenSet = true; m_slackUserId = value; }
95 inline void SetSlackUserId(Aws::String&& value) { m_slackUserIdHasBeenSet = true; m_slackUserId = std::move(value); }
96 inline void SetSlackUserId(const char* value) { m_slackUserIdHasBeenSet = true; m_slackUserId.assign(value); }
97 inline SlackUserIdentity& WithSlackUserId(const Aws::String& value) { SetSlackUserId(value); return *this;}
98 inline SlackUserIdentity& WithSlackUserId(Aws::String&& value) { SetSlackUserId(std::move(value)); return *this;}
99 inline SlackUserIdentity& WithSlackUserId(const char* value) { SetSlackUserId(value); return *this;}
101
103
107 inline const Aws::String& GetAwsUserIdentity() const{ return m_awsUserIdentity; }
108 inline bool AwsUserIdentityHasBeenSet() const { return m_awsUserIdentityHasBeenSet; }
109 inline void SetAwsUserIdentity(const Aws::String& value) { m_awsUserIdentityHasBeenSet = true; m_awsUserIdentity = value; }
110 inline void SetAwsUserIdentity(Aws::String&& value) { m_awsUserIdentityHasBeenSet = true; m_awsUserIdentity = std::move(value); }
111 inline void SetAwsUserIdentity(const char* value) { m_awsUserIdentityHasBeenSet = true; m_awsUserIdentity.assign(value); }
112 inline SlackUserIdentity& WithAwsUserIdentity(const Aws::String& value) { SetAwsUserIdentity(value); return *this;}
113 inline SlackUserIdentity& WithAwsUserIdentity(Aws::String&& value) { SetAwsUserIdentity(std::move(value)); return *this;}
114 inline SlackUserIdentity& WithAwsUserIdentity(const char* value) { SetAwsUserIdentity(value); return *this;}
116 private:
117
118 Aws::String m_iamRoleArn;
119 bool m_iamRoleArnHasBeenSet = false;
120
121 Aws::String m_chatConfigurationArn;
122 bool m_chatConfigurationArnHasBeenSet = false;
123
124 Aws::String m_slackTeamId;
125 bool m_slackTeamIdHasBeenSet = false;
126
127 Aws::String m_slackUserId;
128 bool m_slackUserIdHasBeenSet = false;
129
130 Aws::String m_awsUserIdentity;
131 bool m_awsUserIdentityHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace chatbot
136} // namespace Aws
SlackUserIdentity & WithSlackUserId(const Aws::String &value)
SlackUserIdentity & WithAwsUserIdentity(const Aws::String &value)
SlackUserIdentity & WithAwsUserIdentity(const char *value)
void SetSlackTeamId(const Aws::String &value)
AWS_CHATBOT_API SlackUserIdentity & operator=(Aws::Utils::Json::JsonView jsonValue)
SlackUserIdentity & WithIamRoleArn(const char *value)
void SetChatConfigurationArn(Aws::String &&value)
SlackUserIdentity & WithIamRoleArn(Aws::String &&value)
void SetSlackUserId(const Aws::String &value)
SlackUserIdentity & WithSlackTeamId(const Aws::String &value)
SlackUserIdentity & WithAwsUserIdentity(Aws::String &&value)
SlackUserIdentity & WithSlackUserId(Aws::String &&value)
void SetSlackTeamId(Aws::String &&value)
const Aws::String & GetSlackUserId() const
const Aws::String & GetIamRoleArn() const
SlackUserIdentity & WithSlackTeamId(Aws::String &&value)
SlackUserIdentity & WithChatConfigurationArn(const char *value)
void SetChatConfigurationArn(const Aws::String &value)
AWS_CHATBOT_API SlackUserIdentity(Aws::Utils::Json::JsonView jsonValue)
void SetAwsUserIdentity(const Aws::String &value)
SlackUserIdentity & WithChatConfigurationArn(const Aws::String &value)
void SetAwsUserIdentity(Aws::String &&value)
SlackUserIdentity & WithSlackUserId(const char *value)
void SetIamRoleArn(Aws::String &&value)
SlackUserIdentity & WithChatConfigurationArn(Aws::String &&value)
const Aws::String & GetAwsUserIdentity() const
SlackUserIdentity & WithIamRoleArn(const Aws::String &value)
SlackUserIdentity & WithSlackTeamId(const char *value)
const Aws::String & GetSlackTeamId() const
void SetSlackUserId(Aws::String &&value)
const Aws::String & GetChatConfigurationArn() const
void SetIamRoleArn(const Aws::String &value)
void SetChatConfigurationArn(const char *value)
AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue