7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/connect/model/Reference.h>
50 template<
typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
52 template<
typename NameT = Aws::String>
64 template<
typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
66 template<
typename DescriptionT = Aws::String>
76 template<
typename ContactFlowIdT = Aws::String>
77 void SetContactFlowId(ContactFlowIdT&& value) { m_contactFlowIdHasBeenSet =
true; m_contactFlowId = std::forward<ContactFlowIdT>(value); }
78 template<
typename ContactFlowIdT = Aws::String>
90 template<
typename ReferencesT = Aws::Map<Aws::String, Reference>>
91 void SetReferences(ReferencesT&& value) { m_referencesHasBeenSet =
true; m_references = std::forward<ReferencesT>(value); }
92 template<
typename ReferencesT = Aws::Map<Aws::String, Reference>>
94 template<
typename ReferencesKeyT = Aws::String,
typename ReferencesValueT = Reference>
96 m_referencesHasBeenSet =
true; m_references.emplace(std::forward<ReferencesKeyT>(key), std::forward<ReferencesValueT>(value));
return *
this;
102 bool m_nameHasBeenSet =
false;
105 bool m_descriptionHasBeenSet =
false;
108 bool m_contactFlowIdHasBeenSet =
false;
111 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