AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListDefaultVocabulariesRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/VocabularyLanguageCode.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListDefaultVocabularies"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline ListDefaultVocabulariesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline ListDefaultVocabulariesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline ListDefaultVocabulariesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
59 inline const VocabularyLanguageCode& GetLanguageCode() const{ return m_languageCode; }
60 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
61 inline void SetLanguageCode(const VocabularyLanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
62 inline void SetLanguageCode(VocabularyLanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
66
68
71 inline int GetMaxResults() const{ return m_maxResults; }
72 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
73 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
74 inline ListDefaultVocabulariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
82 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
84 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
85 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
86 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
87 inline ListDefaultVocabulariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
88 inline ListDefaultVocabulariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
89 inline ListDefaultVocabulariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
91 private:
92
93 Aws::String m_instanceId;
94 bool m_instanceIdHasBeenSet = false;
95
96 VocabularyLanguageCode m_languageCode;
97 bool m_languageCodeHasBeenSet = false;
98
99 int m_maxResults;
100 bool m_maxResultsHasBeenSet = false;
101
102 Aws::String m_nextToken;
103 bool m_nextTokenHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Connect
108} // namespace Aws
ListDefaultVocabulariesRequest & WithLanguageCode(const VocabularyLanguageCode &value)
ListDefaultVocabulariesRequest & WithLanguageCode(VocabularyLanguageCode &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
ListDefaultVocabulariesRequest & WithNextToken(Aws::String &&value)
ListDefaultVocabulariesRequest & WithInstanceId(Aws::String &&value)
ListDefaultVocabulariesRequest & WithNextToken(const Aws::String &value)
ListDefaultVocabulariesRequest & WithMaxResults(int value)
ListDefaultVocabulariesRequest & WithNextToken(const char *value)
ListDefaultVocabulariesRequest & WithInstanceId(const Aws::String &value)
ListDefaultVocabulariesRequest & WithInstanceId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String