7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/AgentStatusState.h>
9#include <aws/connect/model/AgentStatusType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
44 template <
typename AgentStatusARNT = Aws::String>
46 m_agentStatusARNHasBeenSet =
true;
47 m_agentStatusARN = std::forward<AgentStatusARNT>(value);
49 template <
typename AgentStatusARNT = Aws::String>
62 template <
typename AgentStatusIdT = Aws::String>
64 m_agentStatusIdHasBeenSet =
true;
65 m_agentStatusId = std::forward<AgentStatusIdT>(value);
67 template <
typename AgentStatusIdT = Aws::String>
80 template <
typename NameT = Aws::String>
82 m_nameHasBeenSet =
true;
83 m_name = std::forward<NameT>(value);
85 template <
typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
98 template <
typename DescriptionT = Aws::String>
100 m_descriptionHasBeenSet =
true;
101 m_description = std::forward<DescriptionT>(value);
103 template <
typename DescriptionT = Aws::String>
117 m_typeHasBeenSet =
true;
133 m_displayOrderHasBeenSet =
true;
134 m_displayOrder = value;
149 m_stateHasBeenSet =
true;
165 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 m_tagsHasBeenSet =
true;
168 m_tags = std::forward<TagsT>(value);
170 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
172 SetTags(std::forward<TagsT>(value));
175 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
177 m_tagsHasBeenSet =
true;
178 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
189 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
191 m_lastModifiedTimeHasBeenSet =
true;
192 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
194 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
207 template <
typename LastModifiedRegionT = Aws::String>
209 m_lastModifiedRegionHasBeenSet =
true;
210 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
212 template <
typename LastModifiedRegionT = Aws::String>
229 int m_displayOrder{0};
238 bool m_agentStatusARNHasBeenSet =
false;
239 bool m_agentStatusIdHasBeenSet =
false;
240 bool m_nameHasBeenSet =
false;
241 bool m_descriptionHasBeenSet =
false;
242 bool m_typeHasBeenSet =
false;
243 bool m_displayOrderHasBeenSet =
false;
244 bool m_stateHasBeenSet =
false;
245 bool m_tagsHasBeenSet =
false;
246 bool m_lastModifiedTimeHasBeenSet =
false;
247 bool m_lastModifiedRegionHasBeenSet =
false;
void SetType(AgentStatusType value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_CONNECT_API AgentStatus()=default
const Aws::String & GetAgentStatusId() const
bool TagsHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetAgentStatusARN(AgentStatusARNT &&value)
AgentStatus & WithLastModifiedRegion(LastModifiedRegionT &&value)
AWS_CONNECT_API AgentStatus(Aws::Utils::Json::JsonView jsonValue)
AgentStatus & WithDescription(DescriptionT &&value)
AgentStatus & WithDisplayOrder(int value)
const Aws::String & GetLastModifiedRegion() const
AgentStatus & WithLastModifiedTime(LastModifiedTimeT &&value)
AgentStatus & WithAgentStatusId(AgentStatusIdT &&value)
bool LastModifiedRegionHasBeenSet() const
void SetState(AgentStatusState value)
AgentStatusState GetState() const
AgentStatus & WithName(NameT &&value)
void SetDescription(DescriptionT &&value)
bool AgentStatusARNHasBeenSet() const
AgentStatus & WithType(AgentStatusType value)
AgentStatus & WithAgentStatusARN(AgentStatusARNT &&value)
AgentStatusType GetType() const
bool DisplayOrderHasBeenSet() const
const Aws::String & GetDescription() const
AWS_CONNECT_API AgentStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentStatus & AddTags(TagsKeyT &&key, TagsValueT &&value)
AgentStatus & WithTags(TagsT &&value)
const Aws::String & GetName() const
int GetDisplayOrder() const
bool DescriptionHasBeenSet() const
bool NameHasBeenSet() const
void SetName(NameT &&value)
void SetLastModifiedRegion(LastModifiedRegionT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool TypeHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
AgentStatus & WithState(AgentStatusState value)
const Aws::String & GetAgentStatusARN() const
void SetDisplayOrder(int value)
bool StateHasBeenSet() const
bool AgentStatusIdHasBeenSet() const
void SetTags(TagsT &&value)
void SetAgentStatusId(AgentStatusIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue