AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetPlatformApplicationArn(const Aws::String& value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn = value; }
52 inline void SetPlatformApplicationArn(Aws::String&& value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn = std::move(value); }
53 inline void SetPlatformApplicationArn(const char* value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn.assign(value); }
58
60
104 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
105 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
106 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
107 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
110 inline SetPlatformApplicationAttributesRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
111 inline SetPlatformApplicationAttributesRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
112 inline SetPlatformApplicationAttributesRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
113 inline SetPlatformApplicationAttributesRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
114 inline SetPlatformApplicationAttributesRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
115 inline SetPlatformApplicationAttributesRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
116 inline SetPlatformApplicationAttributesRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
118 private:
119
120 Aws::String m_platformApplicationArn;
121 bool m_platformApplicationArnHasBeenSet = false;
122
124 bool m_attributesHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace SNS
129} // namespace Aws
SetPlatformApplicationAttributesRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
SetPlatformApplicationAttributesRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SetPlatformApplicationAttributesRequest & WithPlatformApplicationArn(const char *value)
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SetPlatformApplicationAttributesRequest & AddAttributes(const char *key, Aws::String &&value)
SetPlatformApplicationAttributesRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
SetPlatformApplicationAttributesRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
SetPlatformApplicationAttributesRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
SetPlatformApplicationAttributesRequest & WithPlatformApplicationArn(Aws::String &&value)
AWS_SNS_API Aws::String SerializePayload() const override
SetPlatformApplicationAttributesRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
SetPlatformApplicationAttributesRequest & AddAttributes(const char *key, const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
SetPlatformApplicationAttributesRequest & AddAttributes(Aws::String &&key, const char *value)
SetPlatformApplicationAttributesRequest & WithPlatformApplicationArn(const 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