/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace ChimeSDKVoice { namespace Model { /** */ class CreateSipMediaApplicationRequest : public ChimeSDKVoiceRequest { public: AWS_CHIMESDKVOICE_API CreateSipMediaApplicationRequest(); // 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 "CreateSipMediaApplication"; } AWS_CHIMESDKVOICE_API Aws::String SerializePayload() const override; /** *

The AWS Region assigned to the SIP media application.

*/ inline const Aws::String& GetAwsRegion() const{ return m_awsRegion; } /** *

The AWS Region assigned to the SIP media application.

*/ inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; } /** *

The AWS Region assigned to the SIP media application.

*/ inline void SetAwsRegion(const Aws::String& value) { m_awsRegionHasBeenSet = true; m_awsRegion = value; } /** *

The AWS Region assigned to the SIP media application.

*/ inline void SetAwsRegion(Aws::String&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::move(value); } /** *

The AWS Region assigned to the SIP media application.

*/ inline void SetAwsRegion(const char* value) { m_awsRegionHasBeenSet = true; m_awsRegion.assign(value); } /** *

The AWS Region assigned to the SIP media application.

*/ inline CreateSipMediaApplicationRequest& WithAwsRegion(const Aws::String& value) { SetAwsRegion(value); return *this;} /** *

The AWS Region assigned to the SIP media application.

*/ inline CreateSipMediaApplicationRequest& WithAwsRegion(Aws::String&& value) { SetAwsRegion(std::move(value)); return *this;} /** *

The AWS Region assigned to the SIP media application.

*/ inline CreateSipMediaApplicationRequest& WithAwsRegion(const char* value) { SetAwsRegion(value); return *this;} /** *

The SIP media application's name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The SIP media application's name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The SIP media application's name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The SIP media application's name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The SIP media application's name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The SIP media application's name.

*/ inline CreateSipMediaApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The SIP media application's name.

*/ inline CreateSipMediaApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The SIP media application's name.

*/ inline CreateSipMediaApplicationRequest& WithName(const char* value) { SetName(value); return *this;} /** *

List of endpoints (Lambda ARNs) specified for the SIP media application.

*/ inline const Aws::Vector& GetEndpoints() const{ return m_endpoints; } /** *

List of endpoints (Lambda ARNs) specified for the SIP media application.

*/ inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; } /** *

List of endpoints (Lambda ARNs) specified for the SIP media application.

*/ inline void SetEndpoints(const Aws::Vector& value) { m_endpointsHasBeenSet = true; m_endpoints = value; } /** *

List of endpoints (Lambda ARNs) specified for the SIP media application.

*/ inline void SetEndpoints(Aws::Vector&& value) { m_endpointsHasBeenSet = true; m_endpoints = std::move(value); } /** *

List of endpoints (Lambda ARNs) specified for the SIP media application.

*/ inline CreateSipMediaApplicationRequest& WithEndpoints(const Aws::Vector& value) { SetEndpoints(value); return *this;} /** *

List of endpoints (Lambda ARNs) specified for the SIP media application.

*/ inline CreateSipMediaApplicationRequest& WithEndpoints(Aws::Vector&& value) { SetEndpoints(std::move(value)); return *this;} /** *

List of endpoints (Lambda ARNs) specified for the SIP media application.

*/ inline CreateSipMediaApplicationRequest& AddEndpoints(const SipMediaApplicationEndpoint& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(value); return *this; } /** *

List of endpoints (Lambda ARNs) specified for the SIP media application.

*/ inline CreateSipMediaApplicationRequest& AddEndpoints(SipMediaApplicationEndpoint&& value) { m_endpointsHasBeenSet = true; m_endpoints.push_back(std::move(value)); return *this; } /** *

The tags assigned to the SIP media application.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The tags assigned to the SIP media application.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags assigned to the SIP media application.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags assigned to the SIP media application.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags assigned to the SIP media application.

*/ inline CreateSipMediaApplicationRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The tags assigned to the SIP media application.

*/ inline CreateSipMediaApplicationRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The tags assigned to the SIP media application.

*/ inline CreateSipMediaApplicationRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The tags assigned to the SIP media application.

*/ inline CreateSipMediaApplicationRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_awsRegion; bool m_awsRegionHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Vector m_endpoints; bool m_endpointsHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace ChimeSDKVoice } // namespace Aws