AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
28 AWS_SNS_API SetSMSAttributesRequest() = default;
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 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
99 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
100 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
101 SetSMSAttributesRequest& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
102 template<typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
103 SetSMSAttributesRequest& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
104 m_attributesHasBeenSet = true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value)); return *this;
105 }
107 private:
108
110 bool m_attributesHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace SNS
115} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
SetSMSAttributesRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
AWS_SNS_API Aws::String SerializePayload() const override
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_SNS_API SetSMSAttributesRequest()=default
SetSMSAttributesRequest & WithAttributes(AttributesT &&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