AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PlatformApplication.h
1
6#pragma once
7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.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 Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace SNS
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_SNS_API PlatformApplication();
36 AWS_SNS_API PlatformApplication(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_SNS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_SNS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetPlatformApplicationArn() const{ return m_platformApplicationArn; }
48 inline bool PlatformApplicationArnHasBeenSet() const { return m_platformApplicationArnHasBeenSet; }
49 inline void SetPlatformApplicationArn(const Aws::String& value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn = value; }
50 inline void SetPlatformApplicationArn(Aws::String&& value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn = std::move(value); }
51 inline void SetPlatformApplicationArn(const char* value) { m_platformApplicationArnHasBeenSet = true; m_platformApplicationArn.assign(value); }
53 inline PlatformApplication& WithPlatformApplicationArn(Aws::String&& value) { SetPlatformApplicationArn(std::move(value)); return *this;}
54 inline PlatformApplication& WithPlatformApplicationArn(const char* value) { SetPlatformApplicationArn(value); return *this;}
56
58
61 inline const Aws::Map<Aws::String, Aws::String>& GetAttributes() const{ return m_attributes; }
62 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
63 inline void SetAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
64 inline void SetAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
66 inline PlatformApplication& WithAttributes(Aws::Map<Aws::String, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;}
67 inline PlatformApplication& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
68 inline PlatformApplication& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
69 inline PlatformApplication& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
70 inline PlatformApplication& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), std::move(value)); return *this; }
71 inline PlatformApplication& AddAttributes(const char* key, Aws::String&& value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, std::move(value)); return *this; }
72 inline PlatformApplication& AddAttributes(Aws::String&& key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(std::move(key), value); return *this; }
73 inline PlatformApplication& AddAttributes(const char* key, const char* value) { m_attributesHasBeenSet = true; m_attributes.emplace(key, value); return *this; }
75 private:
76
77 Aws::String m_platformApplicationArn;
78 bool m_platformApplicationArnHasBeenSet = false;
79
81 bool m_attributesHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SNS
86} // namespace Aws
PlatformApplication & AddAttributes(const Aws::String &key, Aws::String &&value)
void SetPlatformApplicationArn(const char *value)
PlatformApplication & AddAttributes(Aws::String &&key, const Aws::String &value)
AWS_SNS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_SNS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PlatformApplication & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
PlatformApplication & AddAttributes(const char *key, Aws::String &&value)
void SetPlatformApplicationArn(const Aws::String &value)
PlatformApplication & WithPlatformApplicationArn(const Aws::String &value)
PlatformApplication & WithPlatformApplicationArn(Aws::String &&value)
void SetPlatformApplicationArn(Aws::String &&value)
PlatformApplication & AddAttributes(const char *key, const char *value)
const Aws::String & GetPlatformApplicationArn() const
PlatformApplication & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SNS_API PlatformApplication & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PlatformApplication & WithPlatformApplicationArn(const char *value)
AWS_SNS_API PlatformApplication(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
PlatformApplication & AddAttributes(Aws::String &&key, const char *value)
PlatformApplication & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
PlatformApplication & AddAttributes(const Aws::String &key, 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
std::basic_ostream< char, std::char_traits< char > > OStream