AWS SDK for C++  1.8.154
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 
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
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::WithSkillGroupName
CreateSkillGroupRequest & WithSkillGroupName(const char *value)
Definition: CreateSkillGroupRequest.h:78
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateSkillGroupRequest.h:174
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::AddTags
CreateSkillGroupRequest & AddTags(const Tag &value)
Definition: CreateSkillGroupRequest.h:204
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::ClientRequestTokenHasBeenSet
bool ClientRequestTokenHasBeenSet() const
Definition: CreateSkillGroupRequest.h:132
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateSkillGroupRequest.h:184
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::WithDescription
CreateSkillGroupRequest & WithDescription(const Aws::String &value)
Definition: CreateSkillGroupRequest.h:109
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateSkillGroupRequest.h:104
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::GetClientRequestToken
const Aws::String & GetClientRequestToken() const
Definition: CreateSkillGroupRequest.h:126
Tag.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateSkillGroupRequest.h:84
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::WithClientRequestToken
CreateSkillGroupRequest & WithClientRequestToken(const char *value)
Definition: CreateSkillGroupRequest.h:168
AWSVector.h
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest
Definition: CreateSkillGroupRequest.h:25
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SetSkillGroupName
void SetSkillGroupName(const char *value)
Definition: CreateSkillGroupRequest.h:63
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::WithClientRequestToken
CreateSkillGroupRequest & WithClientRequestToken(const Aws::String &value)
Definition: CreateSkillGroupRequest.h:156
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateSkillGroupRequest.h:99
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::GetSkillGroupName
const Aws::String & GetSkillGroupName() const
Definition: CreateSkillGroupRequest.h:43
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::CreateSkillGroupRequest
CreateSkillGroupRequest()
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::AddTags
CreateSkillGroupRequest & AddTags(Tag &&value)
Definition: CreateSkillGroupRequest.h:209
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SetClientRequestToken
void SetClientRequestToken(Aws::String &&value)
Definition: CreateSkillGroupRequest.h:144
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateSkillGroupRequest.h:179
Aws::AlexaForBusiness::Model::Tag
Definition: Tag.h:33
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SetSkillGroupName
void SetSkillGroupName(const Aws::String &value)
Definition: CreateSkillGroupRequest.h:53
AWSString.h
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::WithDescription
CreateSkillGroupRequest & WithDescription(Aws::String &&value)
Definition: CreateSkillGroupRequest.h:114
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateSkillGroupRequest.h:189
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::WithTags
CreateSkillGroupRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateSkillGroupRequest.h:194
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::WithSkillGroupName
CreateSkillGroupRequest & WithSkillGroupName(Aws::String &&value)
Definition: CreateSkillGroupRequest.h:73
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::WithTags
CreateSkillGroupRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateSkillGroupRequest.h:199
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateSkillGroupRequest.h:33
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SkillGroupNameHasBeenSet
bool SkillGroupNameHasBeenSet() const
Definition: CreateSkillGroupRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::WithSkillGroupName
CreateSkillGroupRequest & WithSkillGroupName(const Aws::String &value)
Definition: CreateSkillGroupRequest.h:68
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SetSkillGroupName
void SetSkillGroupName(Aws::String &&value)
Definition: CreateSkillGroupRequest.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateSkillGroupRequest.h:89
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::WithClientRequestToken
CreateSkillGroupRequest & WithClientRequestToken(Aws::String &&value)
Definition: CreateSkillGroupRequest.h:162
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::WithDescription
CreateSkillGroupRequest & WithDescription(const char *value)
Definition: CreateSkillGroupRequest.h:119
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UUID.h
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SetClientRequestToken
void SetClientRequestToken(const Aws::String &value)
Definition: CreateSkillGroupRequest.h:138
AlexaForBusinessRequest.h
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateSkillGroupRequest.h:94
Aws::AlexaForBusiness::Model::CreateSkillGroupRequest::SetClientRequestToken
void SetClientRequestToken(const char *value)
Definition: CreateSkillGroupRequest.h:150