AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ConfiguredTeam.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 ConfiguredTeam();
36 AWS_CHATBOT_API ConfiguredTeam(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetTenantId() const{ return m_tenantId; }
46 inline bool TenantIdHasBeenSet() const { return m_tenantIdHasBeenSet; }
47 inline void SetTenantId(const Aws::String& value) { m_tenantIdHasBeenSet = true; m_tenantId = value; }
48 inline void SetTenantId(Aws::String&& value) { m_tenantIdHasBeenSet = true; m_tenantId = std::move(value); }
49 inline void SetTenantId(const char* value) { m_tenantIdHasBeenSet = true; m_tenantId.assign(value); }
50 inline ConfiguredTeam& WithTenantId(const Aws::String& value) { SetTenantId(value); return *this;}
51 inline ConfiguredTeam& WithTenantId(Aws::String&& value) { SetTenantId(std::move(value)); return *this;}
52 inline ConfiguredTeam& WithTenantId(const char* value) { SetTenantId(value); return *this;}
54
56
65 inline const Aws::String& GetTeamId() const{ return m_teamId; }
66 inline bool TeamIdHasBeenSet() const { return m_teamIdHasBeenSet; }
67 inline void SetTeamId(const Aws::String& value) { m_teamIdHasBeenSet = true; m_teamId = value; }
68 inline void SetTeamId(Aws::String&& value) { m_teamIdHasBeenSet = true; m_teamId = std::move(value); }
69 inline void SetTeamId(const char* value) { m_teamIdHasBeenSet = true; m_teamId.assign(value); }
70 inline ConfiguredTeam& WithTeamId(const Aws::String& value) { SetTeamId(value); return *this;}
71 inline ConfiguredTeam& WithTeamId(Aws::String&& value) { SetTeamId(std::move(value)); return *this;}
72 inline ConfiguredTeam& WithTeamId(const char* value) { SetTeamId(value); return *this;}
74
76
79 inline const Aws::String& GetTeamName() const{ return m_teamName; }
80 inline bool TeamNameHasBeenSet() const { return m_teamNameHasBeenSet; }
81 inline void SetTeamName(const Aws::String& value) { m_teamNameHasBeenSet = true; m_teamName = value; }
82 inline void SetTeamName(Aws::String&& value) { m_teamNameHasBeenSet = true; m_teamName = std::move(value); }
83 inline void SetTeamName(const char* value) { m_teamNameHasBeenSet = true; m_teamName.assign(value); }
84 inline ConfiguredTeam& WithTeamName(const Aws::String& value) { SetTeamName(value); return *this;}
85 inline ConfiguredTeam& WithTeamName(Aws::String&& value) { SetTeamName(std::move(value)); return *this;}
86 inline ConfiguredTeam& WithTeamName(const char* value) { SetTeamName(value); return *this;}
88
90
95 inline const Aws::String& GetState() const{ return m_state; }
96 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
97 inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
98 inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
99 inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
100 inline ConfiguredTeam& WithState(const Aws::String& value) { SetState(value); return *this;}
101 inline ConfiguredTeam& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
102 inline ConfiguredTeam& WithState(const char* value) { SetState(value); return *this;}
104
106
110 inline const Aws::String& GetStateReason() const{ return m_stateReason; }
111 inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
112 inline void SetStateReason(const Aws::String& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
113 inline void SetStateReason(Aws::String&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
114 inline void SetStateReason(const char* value) { m_stateReasonHasBeenSet = true; m_stateReason.assign(value); }
115 inline ConfiguredTeam& WithStateReason(const Aws::String& value) { SetStateReason(value); return *this;}
116 inline ConfiguredTeam& WithStateReason(Aws::String&& value) { SetStateReason(std::move(value)); return *this;}
117 inline ConfiguredTeam& WithStateReason(const char* value) { SetStateReason(value); return *this;}
119 private:
120
121 Aws::String m_tenantId;
122 bool m_tenantIdHasBeenSet = false;
123
124 Aws::String m_teamId;
125 bool m_teamIdHasBeenSet = false;
126
127 Aws::String m_teamName;
128 bool m_teamNameHasBeenSet = false;
129
130 Aws::String m_state;
131 bool m_stateHasBeenSet = false;
132
133 Aws::String m_stateReason;
134 bool m_stateReasonHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace chatbot
139} // namespace Aws
void SetState(const Aws::String &value)
const Aws::String & GetStateReason() const
void SetTenantId(const Aws::String &value)
void SetTenantId(const char *value)
void SetTeamId(Aws::String &&value)
ConfiguredTeam & WithTeamId(Aws::String &&value)
void SetTeamName(Aws::String &&value)
AWS_CHATBOT_API ConfiguredTeam(Aws::Utils::Json::JsonView jsonValue)
ConfiguredTeam & WithTeamName(Aws::String &&value)
const Aws::String & GetTeamId() const
void SetTeamId(const char *value)
ConfiguredTeam & WithTeamId(const char *value)
void SetTeamName(const char *value)
ConfiguredTeam & WithState(const Aws::String &value)
ConfiguredTeam & WithStateReason(const Aws::String &value)
void SetStateReason(const char *value)
ConfiguredTeam & WithTenantId(const char *value)
ConfiguredTeam & WithTeamName(const Aws::String &value)
const Aws::String & GetTenantId() const
ConfiguredTeam & WithStateReason(const char *value)
void SetTeamName(const Aws::String &value)
void SetStateReason(Aws::String &&value)
void SetTenantId(Aws::String &&value)
ConfiguredTeam & WithTeamId(const Aws::String &value)
const Aws::String & GetTeamName() const
void SetState(Aws::String &&value)
ConfiguredTeam & WithTenantId(Aws::String &&value)
ConfiguredTeam & WithStateReason(Aws::String &&value)
ConfiguredTeam & WithState(const char *value)
const Aws::String & GetState() const
void SetStateReason(const Aws::String &value)
ConfiguredTeam & WithState(Aws::String &&value)
void SetTeamId(const Aws::String &value)
ConfiguredTeam & WithTenantId(const Aws::String &value)
ConfiguredTeam & WithTeamName(const char *value)
void SetState(const char *value)
AWS_CHATBOT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CHATBOT_API ConfiguredTeam & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue