AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSMSAttributesRequest.h
1
6#pragma once
7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/sns/SNSRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SNS
16{
17namespace Model
18{
19
27 {
28 public:
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetSMSAttributes"; }
36
37 AWS_SNS_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
52 inline const Aws::Vector<Aws::String>& GetAttributes() const{ return m_attributes; }
53 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
54 inline void SetAttributes(const Aws::Vector<Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
55 inline void SetAttributes(Aws::Vector<Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
57 inline GetSMSAttributesRequest& WithAttributes(Aws::Vector<Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
58 inline GetSMSAttributesRequest& AddAttributes(const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
59 inline GetSMSAttributesRequest& AddAttributes(Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
60 inline GetSMSAttributesRequest& AddAttributes(const char* value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
62 private:
63
64 Aws::Vector<Aws::String> m_attributes;
65 bool m_attributesHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace SNS
70} // namespace Aws
GetSMSAttributesRequest & AddAttributes(const char *value)
GetSMSAttributesRequest & AddAttributes(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetSMSAttributesRequest & AddAttributes(Aws::String &&value)
GetSMSAttributesRequest & WithAttributes(Aws::Vector< Aws::String > &&value)
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetSMSAttributesRequest & WithAttributes(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAttributes() const
void SetAttributes(Aws::Vector< Aws::String > &&value)
void SetAttributes(const Aws::Vector< Aws::String > &value)
AWS_SNS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector