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/chime/Chime_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17   class JsonValue;
18   class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Chime
22 {
23 namespace Model
24 {
25 
26   /**
27    * <p>Summary of the details of an <code>AppInstanceUser</code>.</p><p><h3>See
28    * Also:</h3>   <a
29    * href="http://docs.aws.amazon.com/goto/WebAPI/chime-2018-05-01/AppInstanceUserSummary">AWS
30    * API Reference</a></p>
31    */
32   class AWS_CHIME_API AppInstanceUserSummary
33   {
34   public:
35     AppInstanceUserSummary();
36     AppInstanceUserSummary(Aws::Utils::Json::JsonView jsonValue);
37     AppInstanceUserSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
38     Aws::Utils::Json::JsonValue Jsonize() const;
39 
40 
41     /**
42      * <p>The ARN of the <code>AppInstanceUser</code>.</p>
43      */
GetAppInstanceUserArn()44     inline const Aws::String& GetAppInstanceUserArn() const{ return m_appInstanceUserArn; }
45 
46     /**
47      * <p>The ARN of the <code>AppInstanceUser</code>.</p>
48      */
AppInstanceUserArnHasBeenSet()49     inline bool AppInstanceUserArnHasBeenSet() const { return m_appInstanceUserArnHasBeenSet; }
50 
51     /**
52      * <p>The ARN of the <code>AppInstanceUser</code>.</p>
53      */
SetAppInstanceUserArn(const Aws::String & value)54     inline void SetAppInstanceUserArn(const Aws::String& value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn = value; }
55 
56     /**
57      * <p>The ARN of the <code>AppInstanceUser</code>.</p>
58      */
SetAppInstanceUserArn(Aws::String && value)59     inline void SetAppInstanceUserArn(Aws::String&& value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn = std::move(value); }
60 
61     /**
62      * <p>The ARN of the <code>AppInstanceUser</code>.</p>
63      */
SetAppInstanceUserArn(const char * value)64     inline void SetAppInstanceUserArn(const char* value) { m_appInstanceUserArnHasBeenSet = true; m_appInstanceUserArn.assign(value); }
65 
66     /**
67      * <p>The ARN of the <code>AppInstanceUser</code>.</p>
68      */
WithAppInstanceUserArn(const Aws::String & value)69     inline AppInstanceUserSummary& WithAppInstanceUserArn(const Aws::String& value) { SetAppInstanceUserArn(value); return *this;}
70 
71     /**
72      * <p>The ARN of the <code>AppInstanceUser</code>.</p>
73      */
WithAppInstanceUserArn(Aws::String && value)74     inline AppInstanceUserSummary& WithAppInstanceUserArn(Aws::String&& value) { SetAppInstanceUserArn(std::move(value)); return *this;}
75 
76     /**
77      * <p>The ARN of the <code>AppInstanceUser</code>.</p>
78      */
WithAppInstanceUserArn(const char * value)79     inline AppInstanceUserSummary& WithAppInstanceUserArn(const char* value) { SetAppInstanceUserArn(value); return *this;}
80 
81 
82     /**
83      * <p>The name of an <code>AppInstanceUser</code>.</p>
84      */
GetName()85     inline const Aws::String& GetName() const{ return m_name; }
86 
87     /**
88      * <p>The name of an <code>AppInstanceUser</code>.</p>
89      */
NameHasBeenSet()90     inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 
92     /**
93      * <p>The name of an <code>AppInstanceUser</code>.</p>
94      */
SetName(const Aws::String & value)95     inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
96 
97     /**
98      * <p>The name of an <code>AppInstanceUser</code>.</p>
99      */
SetName(Aws::String && value)100     inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
101 
102     /**
103      * <p>The name of an <code>AppInstanceUser</code>.</p>
104      */
SetName(const char * value)105     inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
106 
107     /**
108      * <p>The name of an <code>AppInstanceUser</code>.</p>
109      */
WithName(const Aws::String & value)110     inline AppInstanceUserSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
111 
112     /**
113      * <p>The name of an <code>AppInstanceUser</code>.</p>
114      */
WithName(Aws::String && value)115     inline AppInstanceUserSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
116 
117     /**
118      * <p>The name of an <code>AppInstanceUser</code>.</p>
119      */
WithName(const char * value)120     inline AppInstanceUserSummary& WithName(const char* value) { SetName(value); return *this;}
121 
122 
123     /**
124      * <p>The metadata of the <code>AppInstanceUser</code>.</p>
125      */
GetMetadata()126     inline const Aws::String& GetMetadata() const{ return m_metadata; }
127 
128     /**
129      * <p>The metadata of the <code>AppInstanceUser</code>.</p>
130      */
MetadataHasBeenSet()131     inline bool MetadataHasBeenSet() const { return m_metadataHasBeenSet; }
132 
133     /**
134      * <p>The metadata of the <code>AppInstanceUser</code>.</p>
135      */
SetMetadata(const Aws::String & value)136     inline void SetMetadata(const Aws::String& value) { m_metadataHasBeenSet = true; m_metadata = value; }
137 
138     /**
139      * <p>The metadata of the <code>AppInstanceUser</code>.</p>
140      */
SetMetadata(Aws::String && value)141     inline void SetMetadata(Aws::String&& value) { m_metadataHasBeenSet = true; m_metadata = std::move(value); }
142 
143     /**
144      * <p>The metadata of the <code>AppInstanceUser</code>.</p>
145      */
SetMetadata(const char * value)146     inline void SetMetadata(const char* value) { m_metadataHasBeenSet = true; m_metadata.assign(value); }
147 
148     /**
149      * <p>The metadata of the <code>AppInstanceUser</code>.</p>
150      */
WithMetadata(const Aws::String & value)151     inline AppInstanceUserSummary& WithMetadata(const Aws::String& value) { SetMetadata(value); return *this;}
152 
153     /**
154      * <p>The metadata of the <code>AppInstanceUser</code>.</p>
155      */
WithMetadata(Aws::String && value)156     inline AppInstanceUserSummary& WithMetadata(Aws::String&& value) { SetMetadata(std::move(value)); return *this;}
157 
158     /**
159      * <p>The metadata of the <code>AppInstanceUser</code>.</p>
160      */
WithMetadata(const char * value)161     inline AppInstanceUserSummary& WithMetadata(const char* value) { SetMetadata(value); return *this;}
162 
163   private:
164 
165     Aws::String m_appInstanceUserArn;
166     bool m_appInstanceUserArnHasBeenSet;
167 
168     Aws::String m_name;
169     bool m_nameHasBeenSet;
170 
171     Aws::String m_metadata;
172     bool m_metadataHasBeenSet;
173   };
174 
175 } // namespace Model
176 } // namespace Chime
177 } // namespace Aws
178