AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SetPlatformApplicationAttributesRequest.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/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.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 "SetPlatformApplicationAttributes"; }
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
49 inline const Aws::String& GetPlatformApplicationArn() const { return m_platformApplicationArn; }
50 inline bool PlatformApplicationArnHasBeenSet() const { return m_platformApplicationArnHasBeenSet; }
51 template<typename PlatformApplicationArnT = Aws::String>
52 void SetPlatformApplicationArn(PlatformApplicationArnT&& value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn = std::forward<PlatformApplicationArnT>(value); }
53 template<typename PlatformApplicationArnT = Aws::String>
54 SetPlatformApplicationAttributesRequest& WithPlatformApplicationArn(PlatformApplicationArnT&& value) { SetPlatformApplicationArn(std::forward<PlatformApplicationArnT>(value)); return *this;}
56
58
102 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const { return m_attributes; }
103 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
104 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
105 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet = true; m_attributes = std::forward<AttributesT>(value); }
106 template<typename AttributesT = Aws::Map<Aws::String, Aws::String>>
107 SetPlatformApplicationAttributesRequest& WithAttributes(AttributesT&& value) { SetAttributes(std::forward<AttributesT>(value)); return *this;}
108 template<typename AttributesKeyT = Aws::String, typename AttributesValueT = Aws::String>
109 SetPlatformApplicationAttributesRequest& AddAttributes(AttributesKeyT&& key, AttributesValueT&& value) {
110 m_attributesHasBeenSet = true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value)); return *this;
111 }
113 private:
114
115 Aws::String m_platformApplicationArn;
116 bool m_platformApplicationArnHasBeenSet = false;
117
119 bool m_attributesHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace SNS
124} // namespace Aws
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SetPlatformApplicationAttributesRequest & WithPlatformApplicationArn(PlatformApplicationArnT &&value)
AWS_SNS_API Aws::String SerializePayload() const override
SetPlatformApplicationAttributesRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
SetPlatformApplicationAttributesRequest & 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