AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlackWorkspace.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
32 {
33 public:
34 AWS_CHATBOT_API SlackWorkspace();
35 AWS_CHATBOT_API SlackWorkspace(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetSlackTeamId() const{ return m_slackTeamId; }
45 inline bool SlackTeamIdHasBeenSet() const { return m_slackTeamIdHasBeenSet; }
46 inline void SetSlackTeamId(const Aws::String& value) { m_slackTeamIdHasBeenSet = true; m_slackTeamId = value; }
47 inline void SetSlackTeamId(Aws::String&& value) { m_slackTeamIdHasBeenSet = true; m_slackTeamId = std::move(value); }
48 inline void SetSlackTeamId(const char* value) { m_slackTeamIdHasBeenSet = true; m_slackTeamId.assign(value); }
49 inline SlackWorkspace& WithSlackTeamId(const Aws::String& value) { SetSlackTeamId(value); return *this;}
50 inline SlackWorkspace& WithSlackTeamId(Aws::String&& value) { SetSlackTeamId(std::move(value)); return *this;}
51 inline SlackWorkspace& WithSlackTeamId(const char* value) { SetSlackTeamId(value); return *this;}
53
55
58 inline const Aws::String& GetSlackTeamName() const{ return m_slackTeamName; }
59 inline bool SlackTeamNameHasBeenSet() const { return m_slackTeamNameHasBeenSet; }
60 inline void SetSlackTeamName(const Aws::String& value) { m_slackTeamNameHasBeenSet = true; m_slackTeamName = value; }
61 inline void SetSlackTeamName(Aws::String&& value) { m_slackTeamNameHasBeenSet = true; m_slackTeamName = std::move(value); }
62 inline void SetSlackTeamName(const char* value) { m_slackTeamNameHasBeenSet = true; m_slackTeamName.assign(value); }
63 inline SlackWorkspace& WithSlackTeamName(const Aws::String& value) { SetSlackTeamName(value); return *this;}
64 inline SlackWorkspace& WithSlackTeamName(Aws::String&& value) { SetSlackTeamName(std::move(value)); return *this;}
65 inline SlackWorkspace& WithSlackTeamName(const char* value) { SetSlackTeamName(value); return *this;}
67
69
74 inline const Aws::String& GetState() const{ return m_state; }
75 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
76 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
77 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
78 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
79 inline SlackWorkspace& WithState(const Aws::String& value) { SetState(value); return *this;}
80 inline SlackWorkspace& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
81 inline SlackWorkspace& WithState(const char* value) { SetState(value); return *this;}
83
85
89 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
90 inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
91 inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
92 inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
93 inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
94 inline SlackWorkspace& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
95 inline SlackWorkspace& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
96 inline SlackWorkspace& WithStateReason(const char* value) { SetStateReason(value); return *this;}
98 private:
99
100 Aws::String m_slackTeamId;
101 bool m_slackTeamIdHasBeenSet = false;
102
103 Aws::String m_slackTeamName;
104 bool m_slackTeamNameHasBeenSet = false;
105
106 Aws::String m_state;
107 bool m_stateHasBeenSet = false;
108
109 Aws::String m_stateReason;
110 bool m_stateReasonHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace chatbot
115} // namespace Aws
SlackWorkspace & WithSlackTeamId(const char *value)
SlackWorkspace & WithState(const Aws::String &value)
const Aws::String & GetSlackTeamId() const
AWS_CHATBOT_API SlackWorkspace(Aws::Utils::Json::JsonView jsonValue)
void SetSlackTeamId(Aws::String &&value)
SlackWorkspace & WithStateReason(const char *value)
void SetStateReason(const Aws::String &value)
SlackWorkspace & WithSlackTeamId(Aws::String &&value)
void SetSlackTeamName(Aws::String &&value)
AWS_CHATBOT_API SlackWorkspace & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSlackTeamId(const Aws::String &value)
const Aws::String & GetState() const
const Aws::String & GetStateReason() const
AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSlackTeamName(const char *value)
SlackWorkspace & WithStateReason(Aws::String &&value)
void SetState(const Aws::String &value)
void SetStateReason(Aws::String &&value)
SlackWorkspace & WithState(Aws::String &&value)
void SetSlackTeamId(const char *value)
SlackWorkspace & WithSlackTeamName(Aws::String &&value)
SlackWorkspace & WithSlackTeamName(const char *value)
void SetState(Aws::String &&value)
SlackWorkspace & WithSlackTeamName(const Aws::String &value)
void SetState(const char *value)
void SetSlackTeamName(const Aws::String &value)
void SetStateReason(const char *value)
SlackWorkspace & WithStateReason(const Aws::String &value)
const Aws::String & GetSlackTeamName() const
SlackWorkspace & WithSlackTeamId(const Aws::String &value)
SlackWorkspace & WithState(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue