AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ApplicationResponse.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Pinpoint {
21namespace Model {
22
29 public:
30 AWS_PINPOINT_API ApplicationResponse() = default;
33 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetId() const { return m_id; }
59 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
60 template <typename IdT = Aws::String>
61 void SetId(IdT&& value) {
62 m_idHasBeenSet = true;
63 m_id = std::forward<IdT>(value);
64 }
65 template <typename IdT = Aws::String>
67 SetId(std::forward<IdT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
85 ApplicationResponse& WithName(NameT&& value) {
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
97 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
98 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
99 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 void SetTags(TagsT&& value) {
101 m_tagsHasBeenSet = true;
102 m_tags = std::forward<TagsT>(value);
103 }
104 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 SetTags(std::forward<TagsT>(value));
107 return *this;
108 }
109 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
110 ApplicationResponse& AddTags(TagsKeyT&& key, TagsValueT&& value) {
111 m_tagsHasBeenSet = true;
112 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
122 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
123 template <typename CreationDateT = Aws::String>
124 void SetCreationDate(CreationDateT&& value) {
125 m_creationDateHasBeenSet = true;
126 m_creationDate = std::forward<CreationDateT>(value);
127 }
128 template <typename CreationDateT = Aws::String>
129 ApplicationResponse& WithCreationDate(CreationDateT&& value) {
130 SetCreationDate(std::forward<CreationDateT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_arn;
136
137 Aws::String m_id;
138
139 Aws::String m_name;
140
142
143 Aws::String m_creationDate;
144 bool m_arnHasBeenSet = false;
145 bool m_idHasBeenSet = false;
146 bool m_nameHasBeenSet = false;
147 bool m_tagsHasBeenSet = false;
148 bool m_creationDateHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace Pinpoint
153} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ApplicationResponse & WithName(NameT &&value)
AWS_PINPOINT_API ApplicationResponse()=default
ApplicationResponse & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_PINPOINT_API ApplicationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationResponse & WithCreationDate(CreationDateT &&value)
ApplicationResponse & WithId(IdT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PINPOINT_API ApplicationResponse(Aws::Utils::Json::JsonView jsonValue)
ApplicationResponse & WithArn(ArnT &&value)
ApplicationResponse & WithTags(TagsT &&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
Aws::Utils::Json::JsonValue JsonValue