AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ApplicationResponse.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Pinpoint
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PINPOINT_API ApplicationResponse();
38 AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline ApplicationResponse& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline ApplicationResponse& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline ApplicationResponse& WithArn(const char* value) { SetArn(value); return *this;}
54
56
60 inline const Aws::String& GetId() const{ return m_id; }
61 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
62 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
63 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
64 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
65 inline ApplicationResponse& WithId(const Aws::String& value) { SetId(value); return *this;}
66 inline ApplicationResponse& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
67 inline ApplicationResponse& WithId(const char* value) { SetId(value); return *this;}
69
71
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline ApplicationResponse& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline ApplicationResponse& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline ApplicationResponse& WithName(const char* value) { SetName(value); return *this;}
84
86
91 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
92 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
93 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
94 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
95 inline ApplicationResponse& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
96 inline ApplicationResponse& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
97 inline ApplicationResponse& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
98 inline ApplicationResponse& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
99 inline ApplicationResponse& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
100 inline ApplicationResponse& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
101 inline ApplicationResponse& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
102 inline ApplicationResponse& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
103 inline ApplicationResponse& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
105
107
110 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
111 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
112 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
113 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
114 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
115 inline ApplicationResponse& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
116 inline ApplicationResponse& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
117 inline ApplicationResponse& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
119 private:
120
121 Aws::String m_arn;
122 bool m_arnHasBeenSet = false;
123
124 Aws::String m_id;
125 bool m_idHasBeenSet = false;
126
127 Aws::String m_name;
128 bool m_nameHasBeenSet = false;
129
131 bool m_tagsHasBeenSet = false;
132
133 Aws::String m_creationDate;
134 bool m_creationDateHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace Pinpoint
139} // namespace Aws
ApplicationResponse & WithId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
ApplicationResponse & WithArn(const Aws::String &value)
ApplicationResponse & WithCreationDate(const char *value)
ApplicationResponse & AddTags(const char *key, const char *value)
ApplicationResponse & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
ApplicationResponse & WithName(const char *value)
ApplicationResponse & AddTags(Aws::String &&key, const Aws::String &value)
void SetCreationDate(const Aws::String &value)
ApplicationResponse & WithName(const Aws::String &value)
ApplicationResponse & WithCreationDate(Aws::String &&value)
ApplicationResponse & AddTags(Aws::String &&key, const char *value)
ApplicationResponse & WithCreationDate(const Aws::String &value)
ApplicationResponse & WithId(const Aws::String &value)
ApplicationResponse & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_PINPOINT_API ApplicationResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationResponse & WithArn(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
ApplicationResponse & WithName(Aws::String &&value)
ApplicationResponse & WithArn(Aws::String &&value)
ApplicationResponse & WithId(const char *value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationResponse & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_PINPOINT_API ApplicationResponse(Aws::Utils::Json::JsonView jsonValue)
ApplicationResponse & AddTags(const char *key, Aws::String &&value)
ApplicationResponse & AddTags(Aws::String &&key, Aws::String &&value)
ApplicationResponse & AddTags(const Aws::String &key, 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
Aws::Utils::Json::JsonValue JsonValue