7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Reference.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
82 template <
typename ContactFlowIdT = Aws::String>
84 m_contactFlowIdHasBeenSet =
true;
85 m_contactFlowId = std::forward<ContactFlowIdT>(value);
87 template <
typename ContactFlowIdT = Aws::String>
102 template <
typename ReferencesT = Aws::Map<Aws::String, Reference>>
104 m_referencesHasBeenSet =
true;
105 m_references = std::forward<ReferencesT>(value);
107 template <
typename ReferencesT = Aws::Map<Aws::String, Reference>>
112 template <
typename ReferencesKeyT = Aws::String,
typename ReferencesValueT = Reference>
114 m_referencesHasBeenSet =
true;
115 m_references.emplace(std::forward<ReferencesKeyT>(key), std::forward<ReferencesValueT>(value));
127 bool m_nameHasBeenSet =
false;
128 bool m_descriptionHasBeenSet =
false;
129 bool m_contactFlowIdHasBeenSet =
false;
130 bool m_referencesHasBeenSet =
false;
TaskActionDefinition & WithDescription(DescriptionT &&value)
const Aws::String & GetContactFlowId() const
bool DescriptionHasBeenSet() const
AWS_CONNECT_API TaskActionDefinition()=default
TaskActionDefinition & AddReferences(ReferencesKeyT &&key, ReferencesValueT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
TaskActionDefinition & WithName(NameT &&value)
TaskActionDefinition & WithContactFlowId(ContactFlowIdT &&value)
AWS_CONNECT_API TaskActionDefinition(Aws::Utils::Json::JsonView jsonValue)
bool ReferencesHasBeenSet() const
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
const Aws::String & GetName() const
void SetReferences(ReferencesT &&value)
const Aws::Map< Aws::String, Reference > & GetReferences() const
bool NameHasBeenSet() const
AWS_CONNECT_API TaskActionDefinition & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
TaskActionDefinition & WithReferences(ReferencesT &&value)
void SetContactFlowId(ContactFlowIdT &&value)
bool ContactFlowIdHasBeenSet() const
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