7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/AgentStatusType.h>
10#include <aws/connect/model/AgentStatusState.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/DateTime.h>
52 inline void SetAgentStatusARN(
const char* value) { m_agentStatusARNHasBeenSet =
true; m_agentStatusARN.assign(value); }
66 inline void SetAgentStatusId(
const char* value) { m_agentStatusIdHasBeenSet =
true; m_agentStatusId.assign(value); }
80 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
94 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
118 inline void SetDisplayOrder(
int value) { m_displayOrderHasBeenSet =
true; m_displayOrder = value; }
151 inline AgentStatus&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
174 inline void SetLastModifiedRegion(
const char* value) { m_lastModifiedRegionHasBeenSet =
true; m_lastModifiedRegion.assign(value); }
182 bool m_agentStatusARNHasBeenSet =
false;
185 bool m_agentStatusIdHasBeenSet =
false;
188 bool m_nameHasBeenSet =
false;
191 bool m_descriptionHasBeenSet =
false;
194 bool m_typeHasBeenSet =
false;
197 bool m_displayOrderHasBeenSet =
false;
200 bool m_stateHasBeenSet =
false;
203 bool m_tagsHasBeenSet =
false;
206 bool m_lastModifiedTimeHasBeenSet =
false;
209 bool m_lastModifiedRegionHasBeenSet =
false;
AgentStatus & WithAgentStatusARN(const Aws::String &value)
void SetDescription(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAgentStatusARN(const char *value)
AgentStatus & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AgentStatus & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetAgentStatusId() const
bool TagsHasBeenSet() const
void SetType(const AgentStatusType &value)
AgentStatus & WithState(AgentStatusState &&value)
void SetType(AgentStatusType &&value)
AgentStatus & AddTags(const Aws::String &key, Aws::String &&value)
AgentStatus & WithName(const char *value)
AWS_CONNECT_API AgentStatus(Aws::Utils::Json::JsonView jsonValue)
AgentStatus & AddTags(const char *key, Aws::String &&value)
AgentStatus & WithAgentStatusId(const char *value)
AgentStatus & WithState(const AgentStatusState &value)
AgentStatus & WithLastModifiedTime(Aws::Utils::DateTime &&value)
AgentStatus & WithLastModifiedRegion(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AgentStatus & WithDisplayOrder(int value)
void SetAgentStatusARN(const Aws::String &value)
const Aws::String & GetLastModifiedRegion() const
void SetName(Aws::String &&value)
AgentStatus & WithDescription(const Aws::String &value)
AgentStatus & WithAgentStatusARN(const char *value)
bool LastModifiedRegionHasBeenSet() const
void SetName(const char *value)
AgentStatus & WithName(const Aws::String &value)
AgentStatus & AddTags(const Aws::String &key, const Aws::String &value)
AgentStatus & WithLastModifiedRegion(const char *value)
AgentStatus & AddTags(Aws::String &&key, Aws::String &&value)
void SetLastModifiedRegion(const Aws::String &value)
AgentStatus & WithAgentStatusId(Aws::String &&value)
bool AgentStatusARNHasBeenSet() const
const AgentStatusType & GetType() const
AgentStatus & WithDescription(Aws::String &&value)
AgentStatus & WithName(Aws::String &&value)
void SetState(AgentStatusState &&value)
void SetLastModifiedRegion(const char *value)
void SetLastModifiedRegion(Aws::String &&value)
AgentStatus & WithAgentStatusId(const Aws::String &value)
const AgentStatusState & GetState() const
void SetAgentStatusId(const Aws::String &value)
void SetAgentStatusARN(Aws::String &&value)
bool DisplayOrderHasBeenSet() const
const Aws::String & GetDescription() const
AWS_CONNECT_API AgentStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AgentStatus & AddTags(const char *key, const char *value)
AWS_CONNECT_API AgentStatus()
AgentStatus & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AgentStatus & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetName() const
int GetDisplayOrder() const
AgentStatus & WithType(const AgentStatusType &value)
void SetDescription(const char *value)
bool DescriptionHasBeenSet() const
AgentStatus & WithLastModifiedRegion(Aws::String &&value)
bool NameHasBeenSet() const
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AgentStatus & WithDescription(const char *value)
AgentStatus & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetAgentStatusId(const char *value)
AgentStatus & WithAgentStatusARN(Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
bool TypeHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
AgentStatus & WithType(AgentStatusType &&value)
void SetName(const Aws::String &value)
const Aws::String & GetAgentStatusARN() const
void SetAgentStatusId(Aws::String &&value)
void SetDisplayOrder(int value)
bool StateHasBeenSet() const
void SetState(const AgentStatusState &value)
bool AgentStatusIdHasBeenSet() const
void SetDescription(Aws::String &&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