text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/connect/Connect_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <aws/connect/model/ContactFlowModuleState.h>
  #include <aws/connect/model/ContactFlowModuleStatus.h>
  #include <aws/core/utils/memory/stl/AWSMap.h>
  #include <utility>
  
  namespace Aws
  {
  namespace Utils
  {
  namespace Json
  {
    class JsonValue;
    class JsonView;
  } // namespace Json
  } // namespace Utils
  namespace Connect
  {
  namespace Model
  {
  
    /**
     * <p>Contains information about a contact flow module.</p><p><h3>See Also:</h3>  
     * <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/ContactFlowModule">AWS
     * API Reference</a></p>
     */
    class AWS_CONNECT_API ContactFlowModule
    {
    public:
      ContactFlowModule();
      ContactFlowModule(Aws::Utils::Json::JsonView jsonValue);
      ContactFlowModule& operator=(Aws::Utils::Json::JsonView jsonValue);
      Aws::Utils::Json::JsonValue Jsonize() const;
  
  
      /**
       * <p>The Amazon Resource Name (ARN).</p>
       */
      inline const Aws::String& GetArn() const{ return m_arn; }
  
      /**
       * <p>The Amazon Resource Name (ARN).</p>
       */
      inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
  
      /**
       * <p>The Amazon Resource Name (ARN).</p>
       */
      inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
  
      /**
       * <p>The Amazon Resource Name (ARN).</p>
       */
      inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
  
      /**
       * <p>The Amazon Resource Name (ARN).</p>
       */
      inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
  
      /**
       * <p>The Amazon Resource Name (ARN).</p>
       */
      inline ContactFlowModule& WithArn(const Aws::String& value) { SetArn(value); return *this;}
  
      /**
       * <p>The Amazon Resource Name (ARN).</p>
       */
      inline ContactFlowModule& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
  
      /**
       * <p>The Amazon Resource Name (ARN).</p>
       */
      inline ContactFlowModule& WithArn(const char* value) { SetArn(value); return *this;}
  
  
      /**
       * <p>The identifier of the contact flow module.</p>
       */
      inline const Aws::String& GetId() const{ return m_id; }
  
      /**
       * <p>The identifier of the contact flow module.</p>
       */
      inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
  
      /**
       * <p>The identifier of the contact flow module.</p>
       */
      inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
  
      /**
       * <p>The identifier of the contact flow module.</p>
       */
      inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
  
      /**
       * <p>The identifier of the contact flow module.</p>
       */
      inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
  
      /**
       * <p>The identifier of the contact flow module.</p>
       */
      inline ContactFlowModule& WithId(const Aws::String& value) { SetId(value); return *this;}
  
      /**
       * <p>The identifier of the contact flow module.</p>
       */
      inline ContactFlowModule& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
  
      /**
       * <p>The identifier of the contact flow module.</p>
       */
      inline ContactFlowModule& WithId(const char* value) { SetId(value); return *this;}
  
  
      /**
       * <p>The name of the contact flow module.</p>
       */
      inline const Aws::String& GetName() const{ return m_name; }
  
      /**
       * <p>The name of the contact flow module.</p>
       */
      inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
  
      /**
       * <p>The name of the contact flow module.</p>
       */
      inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
  
      /**
       * <p>The name of the contact flow module.</p>
       */
      inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
  
      /**
       * <p>The name of the contact flow module.</p>
       */
      inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
  
      /**
       * <p>The name of the contact flow module.</p>
       */
      inline ContactFlowModule& WithName(const Aws::String& value) { SetName(value); return *this;}
  
      /**
       * <p>The name of the contact flow module.</p>
       */
      inline ContactFlowModule& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
  
      /**
       * <p>The name of the contact flow module.</p>
       */
      inline ContactFlowModule& WithName(const char* value) { SetName(value); return *this;}
  
  
      /**
       * <p>The content of the contact flow module.</p>
       */
      inline const Aws::String& GetContent() const{ return m_content; }
  
      /**
       * <p>The content of the contact flow module.</p>
       */
      inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
  
      /**
       * <p>The content of the contact flow module.</p>
       */
      inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
  
      /**
       * <p>The content of the contact flow module.</p>
       */
      inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
  
      /**
       * <p>The content of the contact flow module.</p>
       */
      inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
  
      /**
       * <p>The content of the contact flow module.</p>
       */
      inline ContactFlowModule& WithContent(const Aws::String& value) { SetContent(value); return *this;}
  
      /**
       * <p>The content of the contact flow module.</p>
       */
      inline ContactFlowModule& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
  
      /**
       * <p>The content of the contact flow module.</p>
       */
      inline ContactFlowModule& WithContent(const char* value) { SetContent(value); return *this;}
  
  
      /**
       * <p>The description of the contact flow module.</p>
       */
      inline const Aws::String& GetDescription() const{ return m_description; }
  
      /**
       * <p>The description of the contact flow module.</p>
       */
      inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
  
      /**
       * <p>The description of the contact flow module.</p>
       */
      inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
  
      /**
       * <p>The description of the contact flow module.</p>
       */
      inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
  
      /**
       * <p>The description of the contact flow module.</p>
       */
      inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
  
      /**
       * <p>The description of the contact flow module.</p>
       */
      inline ContactFlowModule& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
  
      /**
       * <p>The description of the contact flow module.</p>
       */
      inline ContactFlowModule& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
  
      /**
       * <p>The description of the contact flow module.</p>
       */
      inline ContactFlowModule& WithDescription(const char* value) { SetDescription(value); return *this;}
  
  
      /**
       * <p>The type of contact flow module.</p>
       */
      inline const ContactFlowModuleState& GetState() const{ return m_state; }
  
      /**
       * <p>The type of contact flow module.</p>
       */
      inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
  
      /**
       * <p>The type of contact flow module.</p>
       */
      inline void SetState(const ContactFlowModuleState& value) { m_stateHasBeenSet = true; m_state = value; }
  
      /**
       * <p>The type of contact flow module.</p>
       */
      inline void SetState(ContactFlowModuleState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
  
      /**
       * <p>The type of contact flow module.</p>
       */
      inline ContactFlowModule& WithState(const ContactFlowModuleState& value) { SetState(value); return *this;}
  
      /**
       * <p>The type of contact flow module.</p>
       */
      inline ContactFlowModule& WithState(ContactFlowModuleState&& value) { SetState(std::move(value)); return *this;}
  
  
      /**
       * <p>The status of the contact flow module.</p>
       */
      inline const ContactFlowModuleStatus& GetStatus() const{ return m_status; }
  
      /**
       * <p>The status of the contact flow module.</p>
       */
      inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
  
      /**
       * <p>The status of the contact flow module.</p>
       */
      inline void SetStatus(const ContactFlowModuleStatus& value) { m_statusHasBeenSet = true; m_status = value; }
  
      /**
       * <p>The status of the contact flow module.</p>
       */
      inline void SetStatus(ContactFlowModuleStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
  
      /**
       * <p>The status of the contact flow module.</p>
       */
      inline ContactFlowModule& WithStatus(const ContactFlowModuleStatus& value) { SetStatus(value); return *this;}
  
      /**
       * <p>The status of the contact flow module.</p>
       */
      inline ContactFlowModule& WithStatus(ContactFlowModuleStatus&& value) { SetStatus(std::move(value)); return *this;}
  
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline ContactFlowModule& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline ContactFlowModule& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline ContactFlowModule& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline ContactFlowModule& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline ContactFlowModule& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline ContactFlowModule& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline ContactFlowModule& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline ContactFlowModule& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
  
      /**
       * <p>The tags used to organize, track, or control access for this resource.</p>
       */
      inline ContactFlowModule& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
  
    private:
  
      Aws::String m_arn;
      bool m_arnHasBeenSet;
  
      Aws::String m_id;
      bool m_idHasBeenSet;
  
      Aws::String m_name;
      bool m_nameHasBeenSet;
  
      Aws::String m_content;
      bool m_contentHasBeenSet;
  
      Aws::String m_description;
      bool m_descriptionHasBeenSet;
  
      ContactFlowModuleState m_state;
      bool m_stateHasBeenSet;
  
      ContactFlowModuleStatus m_status;
      bool m_statusHasBeenSet;
  
      Aws::Map<Aws::String, Aws::String> m_tags;
      bool m_tagsHasBeenSet;
    };
  
  } // namespace Model
  } // namespace Connect
  } // namespace Aws
  