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>
50 template<
typename AgentStatusARNT = Aws::String>
51 void SetAgentStatusARN(AgentStatusARNT&& value) { m_agentStatusARNHasBeenSet =
true; m_agentStatusARN = std::forward<AgentStatusARNT>(value); }
52 template<
typename AgentStatusARNT = Aws::String>
62 template<
typename AgentStatusIdT = Aws::String>
63 void SetAgentStatusId(AgentStatusIdT&& value) { m_agentStatusIdHasBeenSet =
true; m_agentStatusId = std::forward<AgentStatusIdT>(value); }
64 template<
typename AgentStatusIdT = Aws::String>
74 template<
typename NameT = Aws::String>
75 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
76 template<
typename NameT = Aws::String>
86 template<
typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
88 template<
typename DescriptionT = Aws::String>
108 inline void SetDisplayOrder(
int value) { m_displayOrderHasBeenSet =
true; m_displayOrder = value; }
129 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
131 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
135 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
145 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
146 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
147 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
157 template<
typename LastModifiedRegionT = Aws::String>
158 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet =
true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
159 template<
typename LastModifiedRegionT = Aws::String>
165 bool m_agentStatusARNHasBeenSet =
false;
168 bool m_agentStatusIdHasBeenSet =
false;
171 bool m_nameHasBeenSet =
false;
174 bool m_descriptionHasBeenSet =
false;
177 bool m_typeHasBeenSet =
false;
179 int m_displayOrder{0};
180 bool m_displayOrderHasBeenSet =
false;
183 bool m_stateHasBeenSet =
false;
186 bool m_tagsHasBeenSet =
false;
189 bool m_lastModifiedTimeHasBeenSet =
false;
192 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