AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBuiltinIntentsRequest.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/LexModelBuildingServiceRequest.h>
9#include <aws/lex-models/model/Locale.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace LexModelBuildingService
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetBuiltinIntents"; }
36
37 AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override;
38
39 AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Locale& GetLocale() const{ return m_locale; }
47 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
48 inline void SetLocale(const Locale& value) { m_localeHasBeenSet = true; m_locale = value; }
49 inline void SetLocale(Locale&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
50 inline GetBuiltinIntentsRequest& WithLocale(const Locale& value) { SetLocale(value); return *this;}
51 inline GetBuiltinIntentsRequest& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;}
53
55
62 inline const Aws::String& GetSignatureContains() const{ return m_signatureContains; }
63 inline bool SignatureContainsHasBeenSet() const { return m_signatureContainsHasBeenSet; }
64 inline void SetSignatureContains(const Aws::String& value) { m_signatureContainsHasBeenSet = true; m_signatureContains = value; }
65 inline void SetSignatureContains(Aws::String&& value) { m_signatureContainsHasBeenSet = true; m_signatureContains = std::move(value); }
66 inline void SetSignatureContains(const char* value) { m_signatureContainsHasBeenSet = true; m_signatureContains.assign(value); }
68 inline GetBuiltinIntentsRequest& WithSignatureContains(Aws::String&& value) { SetSignatureContains(std::move(value)); return *this;}
69 inline GetBuiltinIntentsRequest& WithSignatureContains(const char* value) { SetSignatureContains(value); return *this;}
71
73
78 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
80 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
81 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
82 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
83 inline GetBuiltinIntentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
84 inline GetBuiltinIntentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
85 inline GetBuiltinIntentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
87
89
93 inline int GetMaxResults() const{ return m_maxResults; }
94 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 inline GetBuiltinIntentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
98 private:
99
100 Locale m_locale;
101 bool m_localeHasBeenSet = false;
102
103 Aws::String m_signatureContains;
104 bool m_signatureContainsHasBeenSet = false;
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
109 int m_maxResults;
110 bool m_maxResultsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace LexModelBuildingService
115} // namespace Aws
GetBuiltinIntentsRequest & WithNextToken(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override
GetBuiltinIntentsRequest & WithSignatureContains(const char *value)
GetBuiltinIntentsRequest & WithNextToken(const Aws::String &value)
GetBuiltinIntentsRequest & WithLocale(const Locale &value)
AWS_LEXMODELBUILDINGSERVICE_API GetBuiltinIntentsRequest()
GetBuiltinIntentsRequest & WithSignatureContains(Aws::String &&value)
GetBuiltinIntentsRequest & WithSignatureContains(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetBuiltinIntentsRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String