AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListIntentPathsRequest.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/LexModelsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lexv2-models/model/AnalyticsPathFilter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace LexModelsV2
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_LEXMODELSV2_API ListIntentPathsRequest() = default;
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 "ListIntentPaths"; }
34
35 AWS_LEXMODELSV2_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetBotId() const { return m_botId; }
44 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
45 template<typename BotIdT = Aws::String>
46 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
47 template<typename BotIdT = Aws::String>
48 ListIntentPathsRequest& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
50
52
56 inline const Aws::Utils::DateTime& GetStartDateTime() const { return m_startDateTime; }
57 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
58 template<typename StartDateTimeT = Aws::Utils::DateTime>
59 void SetStartDateTime(StartDateTimeT&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::forward<StartDateTimeT>(value); }
60 template<typename StartDateTimeT = Aws::Utils::DateTime>
61 ListIntentPathsRequest& WithStartDateTime(StartDateTimeT&& value) { SetStartDateTime(std::forward<StartDateTimeT>(value)); return *this;}
63
65
69 inline const Aws::Utils::DateTime& GetEndDateTime() const { return m_endDateTime; }
70 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
71 template<typename EndDateTimeT = Aws::Utils::DateTime>
72 void SetEndDateTime(EndDateTimeT&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::forward<EndDateTimeT>(value); }
73 template<typename EndDateTimeT = Aws::Utils::DateTime>
74 ListIntentPathsRequest& WithEndDateTime(EndDateTimeT&& value) { SetEndDateTime(std::forward<EndDateTimeT>(value)); return *this;}
76
78
84 inline const Aws::String& GetIntentPath() const { return m_intentPath; }
85 inline bool IntentPathHasBeenSet() const { return m_intentPathHasBeenSet; }
86 template<typename IntentPathT = Aws::String>
87 void SetIntentPath(IntentPathT&& value) { m_intentPathHasBeenSet = true; m_intentPath = std::forward<IntentPathT>(value); }
88 template<typename IntentPathT = Aws::String>
89 ListIntentPathsRequest& WithIntentPath(IntentPathT&& value) { SetIntentPath(std::forward<IntentPathT>(value)); return *this;}
91
93
97 inline const Aws::Vector<AnalyticsPathFilter>& GetFilters() const { return m_filters; }
98 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
99 template<typename FiltersT = Aws::Vector<AnalyticsPathFilter>>
100 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
101 template<typename FiltersT = Aws::Vector<AnalyticsPathFilter>>
102 ListIntentPathsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
103 template<typename FiltersT = AnalyticsPathFilter>
104 ListIntentPathsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
106 private:
107
108 Aws::String m_botId;
109 bool m_botIdHasBeenSet = false;
110
111 Aws::Utils::DateTime m_startDateTime{};
112 bool m_startDateTimeHasBeenSet = false;
113
114 Aws::Utils::DateTime m_endDateTime{};
115 bool m_endDateTimeHasBeenSet = false;
116
117 Aws::String m_intentPath;
118 bool m_intentPathHasBeenSet = false;
119
121 bool m_filtersHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace LexModelsV2
126} // namespace Aws
ListIntentPathsRequest & WithStartDateTime(StartDateTimeT &&value)
ListIntentPathsRequest & AddFilters(FiltersT &&value)
ListIntentPathsRequest & WithBotId(BotIdT &&value)
ListIntentPathsRequest & WithEndDateTime(EndDateTimeT &&value)
const Aws::Utils::DateTime & GetEndDateTime() const
ListIntentPathsRequest & WithIntentPath(IntentPathT &&value)
const Aws::Utils::DateTime & GetStartDateTime() const
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::Vector< AnalyticsPathFilter > & GetFilters() const
AWS_LEXMODELSV2_API ListIntentPathsRequest()=default
ListIntentPathsRequest & WithFilters(FiltersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector