AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetApplicationResult.h
1
6#pragma once
7#include <aws/appintegrations/AppIntegrationsService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appintegrations/model/ApplicationSourceConfig.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace AppIntegrationsService
28{
29namespace Model
30{
32 {
33 public:
34 AWS_APPINTEGRATIONSSERVICE_API GetApplicationResult();
37
38
40
43 inline const Aws::String& GetArn() const{ return m_arn; }
44 inline void SetArn(const Aws::String& value) { m_arn = value; }
45 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
46 inline void SetArn(const char* value) { m_arn.assign(value); }
47 inline GetApplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
48 inline GetApplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
49 inline GetApplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
51
53
56 inline const Aws::String& GetId() const{ return m_id; }
57 inline void SetId(const Aws::String& value) { m_id = value; }
58 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
59 inline void SetId(const char* value) { m_id.assign(value); }
60 inline GetApplicationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
61 inline GetApplicationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
62 inline GetApplicationResult& WithId(const char* value) { SetId(value); return *this;}
64
66
69 inline const Aws::String& GetName() const{ return m_name; }
70 inline void SetName(const Aws::String& value) { m_name = value; }
71 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
72 inline void SetName(const char* value) { m_name.assign(value); }
73 inline GetApplicationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline GetApplicationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline GetApplicationResult& WithName(const char* value) { SetName(value); return *this;}
77
79
82 inline const Aws::String& GetNamespace() const{ return m_namespace; }
83 inline void SetNamespace(const Aws::String& value) { m_namespace = value; }
84 inline void SetNamespace(Aws::String&& value) { m_namespace = std::move(value); }
85 inline void SetNamespace(const char* value) { m_namespace.assign(value); }
86 inline GetApplicationResult& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
87 inline GetApplicationResult& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
88 inline GetApplicationResult& WithNamespace(const char* value) { SetNamespace(value); return *this;}
90
92
95 inline const Aws::String& GetDescription() const{ return m_description; }
96 inline void SetDescription(const Aws::String& value) { m_description = value; }
97 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
98 inline void SetDescription(const char* value) { m_description.assign(value); }
99 inline GetApplicationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
100 inline GetApplicationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
101 inline GetApplicationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
103
105
108 inline const ApplicationSourceConfig& GetApplicationSourceConfig() const{ return m_applicationSourceConfig; }
109 inline void SetApplicationSourceConfig(const ApplicationSourceConfig& value) { m_applicationSourceConfig = value; }
110 inline void SetApplicationSourceConfig(ApplicationSourceConfig&& value) { m_applicationSourceConfig = std::move(value); }
114
116
119 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
120 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
121 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
122 inline GetApplicationResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
123 inline GetApplicationResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
125
127
130 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
131 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
132 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
134 inline GetApplicationResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
136
138
142 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
143 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
144 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
145 inline GetApplicationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
146 inline GetApplicationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
147 inline GetApplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
148 inline GetApplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
149 inline GetApplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
150 inline GetApplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
151 inline GetApplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
152 inline GetApplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
153 inline GetApplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
155
157
161 inline const Aws::Vector<Aws::String>& GetPermissions() const{ return m_permissions; }
162 inline void SetPermissions(const Aws::Vector<Aws::String>& value) { m_permissions = value; }
163 inline void SetPermissions(Aws::Vector<Aws::String>&& value) { m_permissions = std::move(value); }
165 inline GetApplicationResult& WithPermissions(Aws::Vector<Aws::String>&& value) { SetPermissions(std::move(value)); return *this;}
166 inline GetApplicationResult& AddPermissions(const Aws::String& value) { m_permissions.push_back(value); return *this; }
167 inline GetApplicationResult& AddPermissions(Aws::String&& value) { m_permissions.push_back(std::move(value)); return *this; }
168 inline GetApplicationResult& AddPermissions(const char* value) { m_permissions.push_back(value); return *this; }
170
172
173 inline const Aws::String& GetRequestId() const{ return m_requestId; }
174 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
175 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
176 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
177 inline GetApplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
178 inline GetApplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
179 inline GetApplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
181 private:
182
183 Aws::String m_arn;
184
185 Aws::String m_id;
186
187 Aws::String m_name;
188
189 Aws::String m_namespace;
190
191 Aws::String m_description;
192
193 ApplicationSourceConfig m_applicationSourceConfig;
194
195 Aws::Utils::DateTime m_createdTime;
196
197 Aws::Utils::DateTime m_lastModifiedTime;
198
200
201 Aws::Vector<Aws::String> m_permissions;
202
203 Aws::String m_requestId;
204 };
205
206} // namespace Model
207} // namespace AppIntegrationsService
208} // namespace Aws
GetApplicationResult & AddTags(Aws::String &&key, const Aws::String &value)
GetApplicationResult & WithApplicationSourceConfig(const ApplicationSourceConfig &value)
GetApplicationResult & AddTags(const char *key, const char *value)
AWS_APPINTEGRATIONSSERVICE_API GetApplicationResult()
GetApplicationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetApplicationResult & AddPermissions(const Aws::String &value)
GetApplicationResult & WithCreatedTime(const Aws::Utils::DateTime &value)
GetApplicationResult & WithNamespace(Aws::String &&value)
GetApplicationResult & WithNamespace(const Aws::String &value)
GetApplicationResult & WithName(const Aws::String &value)
GetApplicationResult & AddTags(Aws::String &&key, const char *value)
GetApplicationResult & WithId(const Aws::String &value)
GetApplicationResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
GetApplicationResult & WithDescription(const Aws::String &value)
GetApplicationResult & WithArn(Aws::String &&value)
GetApplicationResult & WithArn(const Aws::String &value)
GetApplicationResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
GetApplicationResult & WithApplicationSourceConfig(ApplicationSourceConfig &&value)
GetApplicationResult & AddPermissions(Aws::String &&value)
GetApplicationResult & WithName(Aws::String &&value)
GetApplicationResult & WithId(Aws::String &&value)
GetApplicationResult & AddPermissions(const char *value)
GetApplicationResult & WithPermissions(const Aws::Vector< Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetApplicationSourceConfig(const ApplicationSourceConfig &value)
const Aws::Vector< Aws::String > & GetPermissions() const
void SetPermissions(const Aws::Vector< Aws::String > &value)
GetApplicationResult & WithArn(const char *value)
void SetApplicationSourceConfig(ApplicationSourceConfig &&value)
GetApplicationResult & WithPermissions(Aws::Vector< Aws::String > &&value)
const ApplicationSourceConfig & GetApplicationSourceConfig() const
GetApplicationResult & WithName(const char *value)
GetApplicationResult & AddTags(const char *key, Aws::String &&value)
GetApplicationResult & WithDescription(const char *value)
GetApplicationResult & WithRequestId(const Aws::String &value)
AWS_APPINTEGRATIONSSERVICE_API GetApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & AddTags(const Aws::String &key, Aws::String &&value)
GetApplicationResult & WithNamespace(const char *value)
GetApplicationResult & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetPermissions(Aws::Vector< Aws::String > &&value)
GetApplicationResult & WithDescription(Aws::String &&value)
GetApplicationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetApplicationResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APPINTEGRATIONSSERVICE_API GetApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetApplicationResult & WithRequestId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetApplicationResult & AddTags(Aws::String &&key, Aws::String &&value)
GetApplicationResult & WithRequestId(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &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::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue