1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <aws/core/utils/DateTime.h>
10 #include <aws/core/utils/memory/stl/AWSMap.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22   class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace CustomerProfiles
26 {
27 namespace Model
28 {
29   class AWS_CUSTOMERPROFILES_API GetIntegrationResult
30   {
31   public:
32     GetIntegrationResult();
33     GetIntegrationResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
34     GetIntegrationResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
35 
36 
37     /**
38      * <p>The unique name of the domain.</p>
39      */
GetDomainName()40     inline const Aws::String& GetDomainName() const{ return m_domainName; }
41 
42     /**
43      * <p>The unique name of the domain.</p>
44      */
SetDomainName(const Aws::String & value)45     inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
46 
47     /**
48      * <p>The unique name of the domain.</p>
49      */
SetDomainName(Aws::String && value)50     inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
51 
52     /**
53      * <p>The unique name of the domain.</p>
54      */
SetDomainName(const char * value)55     inline void SetDomainName(const char* value) { m_domainName.assign(value); }
56 
57     /**
58      * <p>The unique name of the domain.</p>
59      */
WithDomainName(const Aws::String & value)60     inline GetIntegrationResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
61 
62     /**
63      * <p>The unique name of the domain.</p>
64      */
WithDomainName(Aws::String && value)65     inline GetIntegrationResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
66 
67     /**
68      * <p>The unique name of the domain.</p>
69      */
WithDomainName(const char * value)70     inline GetIntegrationResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
71 
72 
73     /**
74      * <p>The URI of the S3 bucket or any other type of data source.</p>
75      */
GetUri()76     inline const Aws::String& GetUri() const{ return m_uri; }
77 
78     /**
79      * <p>The URI of the S3 bucket or any other type of data source.</p>
80      */
SetUri(const Aws::String & value)81     inline void SetUri(const Aws::String& value) { m_uri = value; }
82 
83     /**
84      * <p>The URI of the S3 bucket or any other type of data source.</p>
85      */
SetUri(Aws::String && value)86     inline void SetUri(Aws::String&& value) { m_uri = std::move(value); }
87 
88     /**
89      * <p>The URI of the S3 bucket or any other type of data source.</p>
90      */
SetUri(const char * value)91     inline void SetUri(const char* value) { m_uri.assign(value); }
92 
93     /**
94      * <p>The URI of the S3 bucket or any other type of data source.</p>
95      */
WithUri(const Aws::String & value)96     inline GetIntegrationResult& WithUri(const Aws::String& value) { SetUri(value); return *this;}
97 
98     /**
99      * <p>The URI of the S3 bucket or any other type of data source.</p>
100      */
WithUri(Aws::String && value)101     inline GetIntegrationResult& WithUri(Aws::String&& value) { SetUri(std::move(value)); return *this;}
102 
103     /**
104      * <p>The URI of the S3 bucket or any other type of data source.</p>
105      */
WithUri(const char * value)106     inline GetIntegrationResult& WithUri(const char* value) { SetUri(value); return *this;}
107 
108 
109     /**
110      * <p>The name of the profile object type.</p>
111      */
GetObjectTypeName()112     inline const Aws::String& GetObjectTypeName() const{ return m_objectTypeName; }
113 
114     /**
115      * <p>The name of the profile object type.</p>
116      */
SetObjectTypeName(const Aws::String & value)117     inline void SetObjectTypeName(const Aws::String& value) { m_objectTypeName = value; }
118 
119     /**
120      * <p>The name of the profile object type.</p>
121      */
SetObjectTypeName(Aws::String && value)122     inline void SetObjectTypeName(Aws::String&& value) { m_objectTypeName = std::move(value); }
123 
124     /**
125      * <p>The name of the profile object type.</p>
126      */
SetObjectTypeName(const char * value)127     inline void SetObjectTypeName(const char* value) { m_objectTypeName.assign(value); }
128 
129     /**
130      * <p>The name of the profile object type.</p>
131      */
WithObjectTypeName(const Aws::String & value)132     inline GetIntegrationResult& WithObjectTypeName(const Aws::String& value) { SetObjectTypeName(value); return *this;}
133 
134     /**
135      * <p>The name of the profile object type.</p>
136      */
WithObjectTypeName(Aws::String && value)137     inline GetIntegrationResult& WithObjectTypeName(Aws::String&& value) { SetObjectTypeName(std::move(value)); return *this;}
138 
139     /**
140      * <p>The name of the profile object type.</p>
141      */
WithObjectTypeName(const char * value)142     inline GetIntegrationResult& WithObjectTypeName(const char* value) { SetObjectTypeName(value); return *this;}
143 
144 
145     /**
146      * <p>The timestamp of when the domain was created.</p>
147      */
GetCreatedAt()148     inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
149 
150     /**
151      * <p>The timestamp of when the domain was created.</p>
152      */
SetCreatedAt(const Aws::Utils::DateTime & value)153     inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
154 
155     /**
156      * <p>The timestamp of when the domain was created.</p>
157      */
SetCreatedAt(Aws::Utils::DateTime && value)158     inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
159 
160     /**
161      * <p>The timestamp of when the domain was created.</p>
162      */
WithCreatedAt(const Aws::Utils::DateTime & value)163     inline GetIntegrationResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
164 
165     /**
166      * <p>The timestamp of when the domain was created.</p>
167      */
WithCreatedAt(Aws::Utils::DateTime && value)168     inline GetIntegrationResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
169 
170 
171     /**
172      * <p>The timestamp of when the domain was most recently edited.</p>
173      */
GetLastUpdatedAt()174     inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; }
175 
176     /**
177      * <p>The timestamp of when the domain was most recently edited.</p>
178      */
SetLastUpdatedAt(const Aws::Utils::DateTime & value)179     inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; }
180 
181     /**
182      * <p>The timestamp of when the domain was most recently edited.</p>
183      */
SetLastUpdatedAt(Aws::Utils::DateTime && value)184     inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); }
185 
186     /**
187      * <p>The timestamp of when the domain was most recently edited.</p>
188      */
WithLastUpdatedAt(const Aws::Utils::DateTime & value)189     inline GetIntegrationResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;}
190 
191     /**
192      * <p>The timestamp of when the domain was most recently edited.</p>
193      */
WithLastUpdatedAt(Aws::Utils::DateTime && value)194     inline GetIntegrationResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;}
195 
196 
197     /**
198      * <p>The tags used to organize, track, or control access for this resource.</p>
199      */
GetTags()200     inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
201 
202     /**
203      * <p>The tags used to organize, track, or control access for this resource.</p>
204      */
SetTags(const Aws::Map<Aws::String,Aws::String> & value)205     inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
206 
207     /**
208      * <p>The tags used to organize, track, or control access for this resource.</p>
209      */
SetTags(Aws::Map<Aws::String,Aws::String> && value)210     inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
211 
212     /**
213      * <p>The tags used to organize, track, or control access for this resource.</p>
214      */
WithTags(const Aws::Map<Aws::String,Aws::String> & value)215     inline GetIntegrationResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
216 
217     /**
218      * <p>The tags used to organize, track, or control access for this resource.</p>
219      */
WithTags(Aws::Map<Aws::String,Aws::String> && value)220     inline GetIntegrationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
221 
222     /**
223      * <p>The tags used to organize, track, or control access for this resource.</p>
224      */
AddTags(const Aws::String & key,const Aws::String & value)225     inline GetIntegrationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
226 
227     /**
228      * <p>The tags used to organize, track, or control access for this resource.</p>
229      */
AddTags(Aws::String && key,const Aws::String & value)230     inline GetIntegrationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
231 
232     /**
233      * <p>The tags used to organize, track, or control access for this resource.</p>
234      */
AddTags(const Aws::String & key,Aws::String && value)235     inline GetIntegrationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
236 
237     /**
238      * <p>The tags used to organize, track, or control access for this resource.</p>
239      */
AddTags(Aws::String && key,Aws::String && value)240     inline GetIntegrationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
241 
242     /**
243      * <p>The tags used to organize, track, or control access for this resource.</p>
244      */
AddTags(const char * key,Aws::String && value)245     inline GetIntegrationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
246 
247     /**
248      * <p>The tags used to organize, track, or control access for this resource.</p>
249      */
AddTags(Aws::String && key,const char * value)250     inline GetIntegrationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
251 
252     /**
253      * <p>The tags used to organize, track, or control access for this resource.</p>
254      */
AddTags(const char * key,const char * value)255     inline GetIntegrationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
256 
257   private:
258 
259     Aws::String m_domainName;
260 
261     Aws::String m_uri;
262 
263     Aws::String m_objectTypeName;
264 
265     Aws::Utils::DateTime m_createdAt;
266 
267     Aws::Utils::DateTime m_lastUpdatedAt;
268 
269     Aws::Map<Aws::String, Aws::String> m_tags;
270   };
271 
272 } // namespace Model
273 } // namespace CustomerProfiles
274 } // namespace Aws
275