This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-chime/include/aws/chime/model/UpdateGlobalSettingsRequest.h

109 lines
3.6 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/chime/Chime_EXPORTS.h>
#include <aws/chime/ChimeRequest.h>
#include <aws/chime/model/BusinessCallingSettings.h>
#include <aws/chime/model/VoiceConnectorSettings.h>
#include <utility>
namespace Aws
{
namespace Chime
{
namespace Model
{
/**
*/
class AWS_CHIME_API UpdateGlobalSettingsRequest : public ChimeRequest
{
public:
UpdateGlobalSettingsRequest();
// 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 "UpdateGlobalSettings"; }
Aws::String SerializePayload() const override;
/**
* <p>The Amazon Chime Business Calling settings.</p>
*/
inline const BusinessCallingSettings& GetBusinessCalling() const{ return m_businessCalling; }
/**
* <p>The Amazon Chime Business Calling settings.</p>
*/
inline bool BusinessCallingHasBeenSet() const { return m_businessCallingHasBeenSet; }
/**
* <p>The Amazon Chime Business Calling settings.</p>
*/
inline void SetBusinessCalling(const BusinessCallingSettings& value) { m_businessCallingHasBeenSet = true; m_businessCalling = value; }
/**
* <p>The Amazon Chime Business Calling settings.</p>
*/
inline void SetBusinessCalling(BusinessCallingSettings&& value) { m_businessCallingHasBeenSet = true; m_businessCalling = std::move(value); }
/**
* <p>The Amazon Chime Business Calling settings.</p>
*/
inline UpdateGlobalSettingsRequest& WithBusinessCalling(const BusinessCallingSettings& value) { SetBusinessCalling(value); return *this;}
/**
* <p>The Amazon Chime Business Calling settings.</p>
*/
inline UpdateGlobalSettingsRequest& WithBusinessCalling(BusinessCallingSettings&& value) { SetBusinessCalling(std::move(value)); return *this;}
/**
* <p>The Amazon Chime Voice Connector settings.</p>
*/
inline const VoiceConnectorSettings& GetVoiceConnector() const{ return m_voiceConnector; }
/**
* <p>The Amazon Chime Voice Connector settings.</p>
*/
inline bool VoiceConnectorHasBeenSet() const { return m_voiceConnectorHasBeenSet; }
/**
* <p>The Amazon Chime Voice Connector settings.</p>
*/
inline void SetVoiceConnector(const VoiceConnectorSettings& value) { m_voiceConnectorHasBeenSet = true; m_voiceConnector = value; }
/**
* <p>The Amazon Chime Voice Connector settings.</p>
*/
inline void SetVoiceConnector(VoiceConnectorSettings&& value) { m_voiceConnectorHasBeenSet = true; m_voiceConnector = std::move(value); }
/**
* <p>The Amazon Chime Voice Connector settings.</p>
*/
inline UpdateGlobalSettingsRequest& WithVoiceConnector(const VoiceConnectorSettings& value) { SetVoiceConnector(value); return *this;}
/**
* <p>The Amazon Chime Voice Connector settings.</p>
*/
inline UpdateGlobalSettingsRequest& WithVoiceConnector(VoiceConnectorSettings&& value) { SetVoiceConnector(std::move(value)); return *this;}
private:
BusinessCallingSettings m_businessCalling;
bool m_businessCallingHasBeenSet;
VoiceConnectorSettings m_voiceConnector;
bool m_voiceConnectorHasBeenSet;
};
} // namespace Model
} // namespace Chime
} // namespace Aws