AWS SDK for C++  1.9.44
AWS SDK for C++
ListSkillsStoreSkillsByCategoryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace AlexaForBusiness
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListSkillsStoreSkillsByCategory"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline long long GetCategoryId() const{ return m_categoryId; }
42 
47  inline bool CategoryIdHasBeenSet() const { return m_categoryIdHasBeenSet; }
48 
53  inline void SetCategoryId(long long value) { m_categoryIdHasBeenSet = true; m_categoryId = value; }
54 
59  inline ListSkillsStoreSkillsByCategoryRequest& WithCategoryId(long long value) { SetCategoryId(value); return *this;}
60 
61 
65  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
66 
70  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
71 
75  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
76 
80  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
81 
85  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
86 
90  inline ListSkillsStoreSkillsByCategoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
91 
95  inline ListSkillsStoreSkillsByCategoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
96 
100  inline ListSkillsStoreSkillsByCategoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
101 
102 
106  inline int GetMaxResults() const{ return m_maxResults; }
107 
111  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
112 
116  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
117 
121  inline ListSkillsStoreSkillsByCategoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
122 
123  private:
124 
125  long long m_categoryId;
126  bool m_categoryIdHasBeenSet;
127 
128  Aws::String m_nextToken;
129  bool m_nextTokenHasBeenSet;
130 
131  int m_maxResults;
132  bool m_maxResultsHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace AlexaForBusiness
137 } // namespace Aws
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSkillsStoreSkillsByCategoryRequest.h:85
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::ListSkillsStoreSkillsByCategoryRequest
ListSkillsStoreSkillsByCategoryRequest()
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListSkillsStoreSkillsByCategoryRequest.h:111
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest
Definition: ListSkillsStoreSkillsByCategoryRequest.h:22
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::WithMaxResults
ListSkillsStoreSkillsByCategoryRequest & WithMaxResults(int value)
Definition: ListSkillsStoreSkillsByCategoryRequest.h:121
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::WithNextToken
ListSkillsStoreSkillsByCategoryRequest & WithNextToken(const Aws::String &value)
Definition: ListSkillsStoreSkillsByCategoryRequest.h:90
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::GetMaxResults
int GetMaxResults() const
Definition: ListSkillsStoreSkillsByCategoryRequest.h:106
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSkillsStoreSkillsByCategoryRequest.h:75
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::SetCategoryId
void SetCategoryId(long long value)
Definition: ListSkillsStoreSkillsByCategoryRequest.h:53
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSkillsStoreSkillsByCategoryRequest.h:30
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSkillsStoreSkillsByCategoryRequest.h:65
AWS_ALEXAFORBUSINESS_API
#define AWS_ALEXAFORBUSINESS_API
Definition: AlexaForBusiness_EXPORTS.h:28
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListSkillsStoreSkillsByCategoryRequest.h:116
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::WithCategoryId
ListSkillsStoreSkillsByCategoryRequest & WithCategoryId(long long value)
Definition: ListSkillsStoreSkillsByCategoryRequest.h:59
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSkillsStoreSkillsByCategoryRequest.h:70
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSkillsStoreSkillsByCategoryRequest.h:80
AWSString.h
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AlexaForBusiness_EXPORTS.h
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::CategoryIdHasBeenSet
bool CategoryIdHasBeenSet() const
Definition: ListSkillsStoreSkillsByCategoryRequest.h:47
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::WithNextToken
ListSkillsStoreSkillsByCategoryRequest & WithNextToken(Aws::String &&value)
Definition: ListSkillsStoreSkillsByCategoryRequest.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::AlexaForBusiness::AlexaForBusinessRequest
Definition: AlexaForBusinessRequest.h:17
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::WithNextToken
ListSkillsStoreSkillsByCategoryRequest & WithNextToken(const char *value)
Definition: ListSkillsStoreSkillsByCategoryRequest.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AlexaForBusiness::Model::ListSkillsStoreSkillsByCategoryRequest::GetCategoryId
long long GetCategoryId() const
Definition: ListSkillsStoreSkillsByCategoryRequest.h:41
AlexaForBusinessRequest.h