133 lines
4.6 KiB
C
133 lines
4.6 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
|
|||
|
|
#include <aws/apigatewayv2/ApiGatewayV2Request.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|||
|
|
#include <aws/apigatewayv2/model/DomainNameConfiguration.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace ApiGatewayV2
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Updates a DomainName.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/apigatewayv2-2018-11-29/UpdateDomainNameRequest">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_APIGATEWAYV2_API UpdateDomainNameRequest : public ApiGatewayV2Request
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
UpdateDomainNameRequest();
|
|||
|
|
|
|||
|
|
// 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 "UpdateDomainName"; }
|
|||
|
|
|
|||
|
|
Aws::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetDomainName() const{ return m_domainName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name.</p>
|
|||
|
|
*/
|
|||
|
|
inline UpdateDomainNameRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name.</p>
|
|||
|
|
*/
|
|||
|
|
inline UpdateDomainNameRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name.</p>
|
|||
|
|
*/
|
|||
|
|
inline UpdateDomainNameRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name configurations.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<DomainNameConfiguration>& GetDomainNameConfigurations() const{ return m_domainNameConfigurations; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name configurations.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool DomainNameConfigurationsHasBeenSet() const { return m_domainNameConfigurationsHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name configurations.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDomainNameConfigurations(const Aws::Vector<DomainNameConfiguration>& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name configurations.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetDomainNameConfigurations(Aws::Vector<DomainNameConfiguration>&& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name configurations.</p>
|
|||
|
|
*/
|
|||
|
|
inline UpdateDomainNameRequest& WithDomainNameConfigurations(const Aws::Vector<DomainNameConfiguration>& value) { SetDomainNameConfigurations(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name configurations.</p>
|
|||
|
|
*/
|
|||
|
|
inline UpdateDomainNameRequest& WithDomainNameConfigurations(Aws::Vector<DomainNameConfiguration>&& value) { SetDomainNameConfigurations(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name configurations.</p>
|
|||
|
|
*/
|
|||
|
|
inline UpdateDomainNameRequest& AddDomainNameConfigurations(const DomainNameConfiguration& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The domain name configurations.</p>
|
|||
|
|
*/
|
|||
|
|
inline UpdateDomainNameRequest& AddDomainNameConfigurations(DomainNameConfiguration&& value) { m_domainNameConfigurationsHasBeenSet = true; m_domainNameConfigurations.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_domainName;
|
|||
|
|
bool m_domainNameHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Vector<DomainNameConfiguration> m_domainNameConfigurations;
|
|||
|
|
bool m_domainNameConfigurationsHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace ApiGatewayV2
|
|||
|
|
} // namespace Aws
|