AWS SDK for C++  1.8.71
AWS SDK for C++
CreateSkillGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 #include <aws/core/utils/UUID.h>
14 
15 namespace Aws
16 {
17 namespace AlexaForBusiness
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateSkillGroup"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
43  inline const Aws::String& GetSkillGroupName() const{ return m_skillGroupName; }
44 
48  inline bool SkillGroupNameHasBeenSet() const { return m_skillGroupNameHasBeenSet; }
49 
53  inline void SetSkillGroupName(const Aws::String& value) { m_skillGroupNameHasBeenSet = true; m_skillGroupName = value; }
54 
58  inline void SetSkillGroupName(Aws::String&& value) { m_skillGroupNameHasBeenSet = true; m_skillGroupName = std::move(value); }
59 
63  inline void SetSkillGroupName(const char* value) { m_skillGroupNameHasBeenSet = true; m_skillGroupName.assign(value); }
64 
68  inline CreateSkillGroupRequest& WithSkillGroupName(const Aws::String& value) { SetSkillGroupName(value); return *this;}
69 
73  inline CreateSkillGroupRequest& WithSkillGroupName(Aws::String&& value) { SetSkillGroupName(std::move(value)); return *this;}
74 
78  inline CreateSkillGroupRequest& WithSkillGroupName(const char* value) { SetSkillGroupName(value); return *this;}
79 
80 
84  inline const Aws::String& GetDescription() const{ return m_description; }
85 
89  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 
94  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
95 
99  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
100 
104  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
105 
109  inline CreateSkillGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
110 
114  inline CreateSkillGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
115 
119  inline CreateSkillGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
120 
121 
126  inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
127 
132  inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
133 
138  inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
139 
144  inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
145 
150  inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
151 
156  inline CreateSkillGroupRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
157 
162  inline CreateSkillGroupRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
163 
168  inline CreateSkillGroupRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
169 
170 
174  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
175 
179  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
180 
184  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
185 
189  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
190 
194  inline CreateSkillGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
195 
199  inline CreateSkillGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
200 
204  inline CreateSkillGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
205 
209  inline CreateSkillGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
210 
211  private:
212 
213  Aws::String m_skillGroupName;
214  bool m_skillGroupNameHasBeenSet;
215 
216  Aws::String m_description;
217  bool m_descriptionHasBeenSet;
218 
219  Aws::String m_clientRequestToken;
220  bool m_clientRequestTokenHasBeenSet;
221 
222  Aws::Vector<Tag> m_tags;
223  bool m_tagsHasBeenSet;
224  };
225 
226 } // namespace Model
227 } // namespace AlexaForBusiness
228 } // namespace Aws
CreateSkillGroupRequest & WithSkillGroupName(const Aws::String &value)
CreateSkillGroupRequest & WithTags(const Aws::Vector< Tag > &value)
CreateSkillGroupRequest & WithSkillGroupName(Aws::String &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
CreateSkillGroupRequest & AddTags(const Tag &value)
CreateSkillGroupRequest & WithDescription(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
CreateSkillGroupRequest & WithClientRequestToken(const char *value)
CreateSkillGroupRequest & WithSkillGroupName(const char *value)
CreateSkillGroupRequest & WithDescription(const char *value)
CreateSkillGroupRequest & WithTags(Aws::Vector< Tag > &&value)
#define AWS_ALEXAFORBUSINESS_API
CreateSkillGroupRequest & WithDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CreateSkillGroupRequest & WithClientRequestToken(const Aws::String &value)
CreateSkillGroupRequest & WithClientRequestToken(Aws::String &&value)