text: ﻿/**
   * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
   * SPDX-License-Identifier: Apache-2.0.
   */
  
  #pragma once
  #include <aws/nimble/NimbleStudio_EXPORTS.h>
  #include <aws/nimble/NimbleStudioRequest.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  #include <aws/nimble/model/StudioEncryptionConfiguration.h>
  #include <aws/core/utils/memory/stl/AWSMap.h>
  #include <utility>
  #include <aws/core/utils/UUID.h>
  
  namespace Aws
  {
  namespace NimbleStudio
  {
  namespace Model
  {
  
    /**
     * <p>A collection of studio resources.</p><p><h3>See Also:</h3>   <a
     * href="http://docs.aws.amazon.com/goto/WebAPI/nimble-2020-08-01/CreateStudioRequest">AWS
     * API Reference</a></p>
     */
    class AWS_NIMBLESTUDIO_API CreateStudioRequest : public NimbleStudioRequest
    {
    public:
      CreateStudioRequest();
  
      // Service request name is the Operation name which will send this request out,
      // each operation should has unique request name, so that we can get operation's name from this request.
      // Note: this is not true for response, multiple operations may have the same response name,
      // so we can not get operation's name from response.
      inline virtual const char* GetServiceRequestName() const override { return "CreateStudio"; }
  
      Aws::String SerializePayload() const override;
  
      Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
  
  
      /**
       * <p>The IAM role that Studio Admins will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline const Aws::String& GetAdminRoleArn() const{ return m_adminRoleArn; }
  
      /**
       * <p>The IAM role that Studio Admins will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline bool AdminRoleArnHasBeenSet() const { return m_adminRoleArnHasBeenSet; }
  
      /**
       * <p>The IAM role that Studio Admins will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline void SetAdminRoleArn(const Aws::String& value) { m_adminRoleArnHasBeenSet = true; m_adminRoleArn = value; }
  
      /**
       * <p>The IAM role that Studio Admins will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline void SetAdminRoleArn(Aws::String&& value) { m_adminRoleArnHasBeenSet = true; m_adminRoleArn = std::move(value); }
  
      /**
       * <p>The IAM role that Studio Admins will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline void SetAdminRoleArn(const char* value) { m_adminRoleArnHasBeenSet = true; m_adminRoleArn.assign(value); }
  
      /**
       * <p>The IAM role that Studio Admins will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline CreateStudioRequest& WithAdminRoleArn(const Aws::String& value) { SetAdminRoleArn(value); return *this;}
  
      /**
       * <p>The IAM role that Studio Admins will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline CreateStudioRequest& WithAdminRoleArn(Aws::String&& value) { SetAdminRoleArn(std::move(value)); return *this;}
  
      /**
       * <p>The IAM role that Studio Admins will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline CreateStudioRequest& WithAdminRoleArn(const char* value) { SetAdminRoleArn(value); return *this;}
  
  
      /**
       * <p>To make an idempotent API request using one of these actions, specify a
       * client token in the request. You should not reuse the same client token for
       * other API requests. If you retry a request that completed successfully using the
       * same client token and the same parameters, the retry succeeds without performing
       * any further actions. If you retry a successful request using the same client
       * token, but one or more of the parameters are different, the retry fails with a
       * ValidationException error.</p>
       */
      inline const Aws::String& GetClientToken() const{ return m_clientToken; }
  
      /**
       * <p>To make an idempotent API request using one of these actions, specify a
       * client token in the request. You should not reuse the same client token for
       * other API requests. If you retry a request that completed successfully using the
       * same client token and the same parameters, the retry succeeds without performing
       * any further actions. If you retry a successful request using the same client
       * token, but one or more of the parameters are different, the retry fails with a
       * ValidationException error.</p>
       */
      inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
  
      /**
       * <p>To make an idempotent API request using one of these actions, specify a
       * client token in the request. You should not reuse the same client token for
       * other API requests. If you retry a request that completed successfully using the
       * same client token and the same parameters, the retry succeeds without performing
       * any further actions. If you retry a successful request using the same client
       * token, but one or more of the parameters are different, the retry fails with a
       * ValidationException error.</p>
       */
      inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
  
      /**
       * <p>To make an idempotent API request using one of these actions, specify a
       * client token in the request. You should not reuse the same client token for
       * other API requests. If you retry a request that completed successfully using the
       * same client token and the same parameters, the retry succeeds without performing
       * any further actions. If you retry a successful request using the same client
       * token, but one or more of the parameters are different, the retry fails with a
       * ValidationException error.</p>
       */
      inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
  
      /**
       * <p>To make an idempotent API request using one of these actions, specify a
       * client token in the request. You should not reuse the same client token for
       * other API requests. If you retry a request that completed successfully using the
       * same client token and the same parameters, the retry succeeds without performing
       * any further actions. If you retry a successful request using the same client
       * token, but one or more of the parameters are different, the retry fails with a
       * ValidationException error.</p>
       */
      inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
  
      /**
       * <p>To make an idempotent API request using one of these actions, specify a
       * client token in the request. You should not reuse the same client token for
       * other API requests. If you retry a request that completed successfully using the
       * same client token and the same parameters, the retry succeeds without performing
       * any further actions. If you retry a successful request using the same client
       * token, but one or more of the parameters are different, the retry fails with a
       * ValidationException error.</p>
       */
      inline CreateStudioRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
  
      /**
       * <p>To make an idempotent API request using one of these actions, specify a
       * client token in the request. You should not reuse the same client token for
       * other API requests. If you retry a request that completed successfully using the
       * same client token and the same parameters, the retry succeeds without performing
       * any further actions. If you retry a successful request using the same client
       * token, but one or more of the parameters are different, the retry fails with a
       * ValidationException error.</p>
       */
      inline CreateStudioRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
  
      /**
       * <p>To make an idempotent API request using one of these actions, specify a
       * client token in the request. You should not reuse the same client token for
       * other API requests. If you retry a request that completed successfully using the
       * same client token and the same parameters, the retry succeeds without performing
       * any further actions. If you retry a successful request using the same client
       * token, but one or more of the parameters are different, the retry fails with a
       * ValidationException error.</p>
       */
      inline CreateStudioRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
  
  
      /**
       * <p>A friendly name for the studio.</p>
       */
      inline const Aws::String& GetDisplayName() const{ return m_displayName; }
  
      /**
       * <p>A friendly name for the studio.</p>
       */
      inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
  
      /**
       * <p>A friendly name for the studio.</p>
       */
      inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
  
      /**
       * <p>A friendly name for the studio.</p>
       */
      inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
  
      /**
       * <p>A friendly name for the studio.</p>
       */
      inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
  
      /**
       * <p>A friendly name for the studio.</p>
       */
      inline CreateStudioRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
  
      /**
       * <p>A friendly name for the studio.</p>
       */
      inline CreateStudioRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
  
      /**
       * <p>A friendly name for the studio.</p>
       */
      inline CreateStudioRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
  
  
      /**
       * <p>The studio encryption configuration.</p>
       */
      inline const StudioEncryptionConfiguration& GetStudioEncryptionConfiguration() const{ return m_studioEncryptionConfiguration; }
  
      /**
       * <p>The studio encryption configuration.</p>
       */
      inline bool StudioEncryptionConfigurationHasBeenSet() const { return m_studioEncryptionConfigurationHasBeenSet; }
  
      /**
       * <p>The studio encryption configuration.</p>
       */
      inline void SetStudioEncryptionConfiguration(const StudioEncryptionConfiguration& value) { m_studioEncryptionConfigurationHasBeenSet = true; m_studioEncryptionConfiguration = value; }
  
      /**
       * <p>The studio encryption configuration.</p>
       */
      inline void SetStudioEncryptionConfiguration(StudioEncryptionConfiguration&& value) { m_studioEncryptionConfigurationHasBeenSet = true; m_studioEncryptionConfiguration = std::move(value); }
  
      /**
       * <p>The studio encryption configuration.</p>
       */
      inline CreateStudioRequest& WithStudioEncryptionConfiguration(const StudioEncryptionConfiguration& value) { SetStudioEncryptionConfiguration(value); return *this;}
  
      /**
       * <p>The studio encryption configuration.</p>
       */
      inline CreateStudioRequest& WithStudioEncryptionConfiguration(StudioEncryptionConfiguration&& value) { SetStudioEncryptionConfiguration(std::move(value)); return *this;}
  
  
      /**
       * <p>The studio name that is used in the URL of the Nimble Studio portal when
       * accessed by Nimble Studio users.</p>
       */
      inline const Aws::String& GetStudioName() const{ return m_studioName; }
  
      /**
       * <p>The studio name that is used in the URL of the Nimble Studio portal when
       * accessed by Nimble Studio users.</p>
       */
      inline bool StudioNameHasBeenSet() const { return m_studioNameHasBeenSet; }
  
      /**
       * <p>The studio name that is used in the URL of the Nimble Studio portal when
       * accessed by Nimble Studio users.</p>
       */
      inline void SetStudioName(const Aws::String& value) { m_studioNameHasBeenSet = true; m_studioName = value; }
  
      /**
       * <p>The studio name that is used in the URL of the Nimble Studio portal when
       * accessed by Nimble Studio users.</p>
       */
      inline void SetStudioName(Aws::String&& value) { m_studioNameHasBeenSet = true; m_studioName = std::move(value); }
  
      /**
       * <p>The studio name that is used in the URL of the Nimble Studio portal when
       * accessed by Nimble Studio users.</p>
       */
      inline void SetStudioName(const char* value) { m_studioNameHasBeenSet = true; m_studioName.assign(value); }
  
      /**
       * <p>The studio name that is used in the URL of the Nimble Studio portal when
       * accessed by Nimble Studio users.</p>
       */
      inline CreateStudioRequest& WithStudioName(const Aws::String& value) { SetStudioName(value); return *this;}
  
      /**
       * <p>The studio name that is used in the URL of the Nimble Studio portal when
       * accessed by Nimble Studio users.</p>
       */
      inline CreateStudioRequest& WithStudioName(Aws::String&& value) { SetStudioName(std::move(value)); return *this;}
  
      /**
       * <p>The studio name that is used in the URL of the Nimble Studio portal when
       * accessed by Nimble Studio users.</p>
       */
      inline CreateStudioRequest& WithStudioName(const char* value) { SetStudioName(value); return *this;}
  
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline CreateStudioRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline CreateStudioRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline CreateStudioRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline CreateStudioRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline CreateStudioRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline CreateStudioRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline CreateStudioRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline CreateStudioRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
  
      /**
       * <p>A collection of labels, in the form of key:value pairs, that apply to this
       * resource.</p>
       */
      inline CreateStudioRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
  
  
      /**
       * <p>The IAM role that Studio Users will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline const Aws::String& GetUserRoleArn() const{ return m_userRoleArn; }
  
      /**
       * <p>The IAM role that Studio Users will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline bool UserRoleArnHasBeenSet() const { return m_userRoleArnHasBeenSet; }
  
      /**
       * <p>The IAM role that Studio Users will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline void SetUserRoleArn(const Aws::String& value) { m_userRoleArnHasBeenSet = true; m_userRoleArn = value; }
  
      /**
       * <p>The IAM role that Studio Users will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline void SetUserRoleArn(Aws::String&& value) { m_userRoleArnHasBeenSet = true; m_userRoleArn = std::move(value); }
  
      /**
       * <p>The IAM role that Studio Users will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline void SetUserRoleArn(const char* value) { m_userRoleArnHasBeenSet = true; m_userRoleArn.assign(value); }
  
      /**
       * <p>The IAM role that Studio Users will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline CreateStudioRequest& WithUserRoleArn(const Aws::String& value) { SetUserRoleArn(value); return *this;}
  
      /**
       * <p>The IAM role that Studio Users will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline CreateStudioRequest& WithUserRoleArn(Aws::String&& value) { SetUserRoleArn(std::move(value)); return *this;}
  
      /**
       * <p>The IAM role that Studio Users will assume when logging in to the Nimble
       * Studio portal.</p>
       */
      inline CreateStudioRequest& WithUserRoleArn(const char* value) { SetUserRoleArn(value); return *this;}
  
    private:
  
      Aws::String m_adminRoleArn;
      bool m_adminRoleArnHasBeenSet;
  
      Aws::String m_clientToken;
      bool m_clientTokenHasBeenSet;
  
      Aws::String m_displayName;
      bool m_displayNameHasBeenSet;
  
      StudioEncryptionConfiguration m_studioEncryptionConfiguration;
      bool m_studioEncryptionConfigurationHasBeenSet;
  
      Aws::String m_studioName;
      bool m_studioNameHasBeenSet;
  
      Aws::Map<Aws::String, Aws::String> m_tags;
      bool m_tagsHasBeenSet;
  
      Aws::String m_userRoleArn;
      bool m_userRoleArnHasBeenSet;
    };
  
  } // namespace Model
  } // namespace NimbleStudio
  } // namespace Aws
  