AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetSMSAttributesRequest.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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SNS
16{
17namespace Model
18{
19
26 {
27 public:
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "SetSMSAttributes"; }
35
36 AWS_SNS_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40
41 public:
42
44
96 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
97 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
98 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
99 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
102 inline SetSMSAttributesRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
103 inline SetSMSAttributesRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
104 inline SetSMSAttributesRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
105 inline SetSMSAttributesRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
106 inline SetSMSAttributesRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
107 inline SetSMSAttributesRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
108 inline SetSMSAttributesRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
110 private:
111
113 bool m_attributesHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SNS
118} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
AWS_SNS_API Aws::String SerializePayload() const override
SetSMSAttributesRequest & AddAttributes(const char *key, const char *value)
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
SetSMSAttributesRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
SetSMSAttributesRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
SetSMSAttributesRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
SetSMSAttributesRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SetSMSAttributesRequest & AddAttributes(Aws::String &&key, const char *value)
SetSMSAttributesRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
SetSMSAttributesRequest & AddAttributes(const char *key, Aws::String &&value)
SetSMSAttributesRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String