AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePlatformApplicationRequest.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
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 "CreatePlatformApplication"; }
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
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline CreatePlatformApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline CreatePlatformApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline CreatePlatformApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
58
60
65 inline const Aws::String& GetPlatform() const{ return m_platform; }
66 inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
67 inline void SetPlatform(const Aws::String& value) { m_platformHasBeenSet = true; m_platform = value; }
68 inline void SetPlatform(Aws::String&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
69 inline void SetPlatform(const char* value) { m_platformHasBeenSet = true; m_platform.assign(value); }
70 inline CreatePlatformApplicationRequest& WithPlatform(const Aws::String& value) { SetPlatform(value); return *this;}
71 inline CreatePlatformApplicationRequest& WithPlatform(Aws::String&& value) { SetPlatform(std::move(value)); return *this;}
72 inline CreatePlatformApplicationRequest& WithPlatform(const char* value) { SetPlatform(value); return *this;}
74
76
81 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
82 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
83 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
84 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
87 inline CreatePlatformApplicationRequest& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
88 inline CreatePlatformApplicationRequest& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
89 inline CreatePlatformApplicationRequest& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
90 inline CreatePlatformApplicationRequest& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
91 inline CreatePlatformApplicationRequest& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
92 inline CreatePlatformApplicationRequest& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
93 inline CreatePlatformApplicationRequest& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
95 private:
96
97 Aws::String m_name;
98 bool m_nameHasBeenSet = false;
99
100 Aws::String m_platform;
101 bool m_platformHasBeenSet = false;
102
104 bool m_attributesHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace SNS
109} // namespace Aws
CreatePlatformApplicationRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
CreatePlatformApplicationRequest & WithName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
CreatePlatformApplicationRequest & AddAttributes(Aws::String &&key, const char *value)
CreatePlatformApplicationRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
CreatePlatformApplicationRequest & AddAttributes(const char *key, Aws::String &&value)
CreatePlatformApplicationRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
CreatePlatformApplicationRequest & WithPlatform(const Aws::String &value)
CreatePlatformApplicationRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
CreatePlatformApplicationRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
CreatePlatformApplicationRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
CreatePlatformApplicationRequest & WithPlatform(Aws::String &&value)
CreatePlatformApplicationRequest & AddAttributes(const char *key, const char *value)
AWS_SNS_API Aws::String SerializePayload() const override
CreatePlatformApplicationRequest & WithPlatform(const char *value)
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreatePlatformApplicationRequest & WithName(const Aws::String &value)
CreatePlatformApplicationRequest & WithName(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