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-sns/include/aws/sns/model/GetSMSAttributesRequest.h

134 lines
5.9 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sns/SNS_EXPORTS.h>
#include <aws/sns/SNSRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace SNS
{
namespace Model
{
/**
* <p>The input for the <code>GetSMSAttributes</code> request.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/sns-2010-03-31/GetSMSAttributesInput">AWS
* API Reference</a></p>
*/
class AWS_SNS_API GetSMSAttributesRequest : public SNSRequest
{
public:
GetSMSAttributesRequest();
// 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 "GetSMSAttributes"; }
Aws::String SerializePayload() const override;
protected:
void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
public:
/**
* <p>A list of the individual attribute names, such as
* <code>MonthlySpendLimit</code>, for which you want values.</p> <p>For all
* attribute names, see <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html">SetSMSAttributes</a>.</p>
* <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p>
*/
inline const Aws::Vector<Aws::String>& GetAttributes() const{ return m_attributes; }
/**
* <p>A list of the individual attribute names, such as
* <code>MonthlySpendLimit</code>, for which you want values.</p> <p>For all
* attribute names, see <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html">SetSMSAttributes</a>.</p>
* <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p>
*/
inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
/**
* <p>A list of the individual attribute names, such as
* <code>MonthlySpendLimit</code>, for which you want values.</p> <p>For all
* attribute names, see <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html">SetSMSAttributes</a>.</p>
* <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p>
*/
inline void SetAttributes(const Aws::Vector<Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
/**
* <p>A list of the individual attribute names, such as
* <code>MonthlySpendLimit</code>, for which you want values.</p> <p>For all
* attribute names, see <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html">SetSMSAttributes</a>.</p>
* <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p>
*/
inline void SetAttributes(Aws::Vector<Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
/**
* <p>A list of the individual attribute names, such as
* <code>MonthlySpendLimit</code>, for which you want values.</p> <p>For all
* attribute names, see <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html">SetSMSAttributes</a>.</p>
* <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p>
*/
inline GetSMSAttributesRequest& WithAttributes(const Aws::Vector<Aws::String>& value) { SetAttributes(value); return *this;}
/**
* <p>A list of the individual attribute names, such as
* <code>MonthlySpendLimit</code>, for which you want values.</p> <p>For all
* attribute names, see <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html">SetSMSAttributes</a>.</p>
* <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p>
*/
inline GetSMSAttributesRequest& WithAttributes(Aws::Vector<Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
/**
* <p>A list of the individual attribute names, such as
* <code>MonthlySpendLimit</code>, for which you want values.</p> <p>For all
* attribute names, see <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html">SetSMSAttributes</a>.</p>
* <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p>
*/
inline GetSMSAttributesRequest& AddAttributes(const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
/**
* <p>A list of the individual attribute names, such as
* <code>MonthlySpendLimit</code>, for which you want values.</p> <p>For all
* attribute names, see <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html">SetSMSAttributes</a>.</p>
* <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p>
*/
inline GetSMSAttributesRequest& AddAttributes(Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
/**
* <p>A list of the individual attribute names, such as
* <code>MonthlySpendLimit</code>, for which you want values.</p> <p>For all
* attribute names, see <a
* href="https://docs.aws.amazon.com/sns/latest/api/API_SetSMSAttributes.html">SetSMSAttributes</a>.</p>
* <p>If you don't use this parameter, Amazon SNS returns all SMS attributes.</p>
*/
inline GetSMSAttributesRequest& AddAttributes(const char* value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
private:
Aws::Vector<Aws::String> m_attributes;
bool m_attributesHasBeenSet;
};
} // namespace Model
} // namespace SNS
} // namespace Aws