AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlackWorkspaceConfiguration.h
1
6#pragma once
7#include <aws/support-app/SupportApp_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 SupportApp
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SUPPORTAPP_API SlackWorkspaceConfiguration();
38 AWS_SUPPORTAPP_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline bool GetAllowOrganizationMemberAccount() const{ return m_allowOrganizationMemberAccount; }
47 inline bool AllowOrganizationMemberAccountHasBeenSet() const { return m_allowOrganizationMemberAccountHasBeenSet; }
48 inline void SetAllowOrganizationMemberAccount(bool value) { m_allowOrganizationMemberAccountHasBeenSet = true; m_allowOrganizationMemberAccount = value; }
51
53
57 inline const Aws::String& GetTeamId() const{ return m_teamId; }
58 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
59 inline void SetTeamId(const Aws::String& value) { m_teamIdHasBeenSet = true; m_teamId = value; }
60 inline void SetTeamId(Aws::String&& value) { m_teamIdHasBeenSet = true; m_teamId = std::move(value); }
61 inline void SetTeamId(const char* value) { m_teamIdHasBeenSet = true; m_teamId.assign(value); }
62 inline SlackWorkspaceConfiguration& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;}
63 inline SlackWorkspaceConfiguration& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;}
64 inline SlackWorkspaceConfiguration& WithTeamId(const char* value) { SetTeamId(value); return *this;}
66
68
71 inline const Aws::String& GetTeamName() const{ return m_teamName; }
72 inline bool TeamNameHasBeenSet() const { return m_teamNameHasBeenSet; }
73 inline void SetTeamName(const Aws::String& value) { m_teamNameHasBeenSet = true; m_teamName = value; }
74 inline void SetTeamName(Aws::String&& value) { m_teamNameHasBeenSet = true; m_teamName = std::move(value); }
75 inline void SetTeamName(const char* value) { m_teamNameHasBeenSet = true; m_teamName.assign(value); }
76 inline SlackWorkspaceConfiguration& WithTeamName(const Aws::String& value) { SetTeamName(value); return *this;}
77 inline SlackWorkspaceConfiguration& WithTeamName(Aws::String&& value) { SetTeamName(std::move(value)); return *this;}
78 inline SlackWorkspaceConfiguration& WithTeamName(const char* value) { SetTeamName(value); return *this;}
80 private:
81
82 bool m_allowOrganizationMemberAccount;
83 bool m_allowOrganizationMemberAccountHasBeenSet = false;
84
85 Aws::String m_teamId;
86 bool m_teamIdHasBeenSet = false;
87
88 Aws::String m_teamName;
89 bool m_teamNameHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SupportApp
94} // namespace Aws
SlackWorkspaceConfiguration & WithTeamId(const Aws::String &value)
SlackWorkspaceConfiguration & WithTeamName(const Aws::String &value)
SlackWorkspaceConfiguration & WithTeamId(const char *value)
SlackWorkspaceConfiguration & WithTeamId(Aws::String &&value)
SlackWorkspaceConfiguration & WithAllowOrganizationMemberAccount(bool value)
AWS_SUPPORTAPP_API SlackWorkspaceConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORTAPP_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SUPPORTAPP_API SlackWorkspaceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SlackWorkspaceConfiguration & WithTeamName(const char *value)
SlackWorkspaceConfiguration & WithTeamName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue