AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
46 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
47 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
48 inline ListIntentPathsRequest& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
49 inline ListIntentPathsRequest& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
50 inline ListIntentPathsRequest& WithBotId(const char* value) { SetBotId(value); return *this;}
52
54
58 inline const Aws::Utils::DateTime& GetStartDateTime() const{ return m_startDateTime; }
59 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
60 inline void SetStartDateTime(const Aws::Utils::DateTime& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; }
61 inline void SetStartDateTime(Aws::Utils::DateTime&& value) { m_startDateTimeHasBeenSet = true; m_startDateTime = std::move(value); }
63 inline ListIntentPathsRequest& WithStartDateTime(Aws::Utils::DateTime&& value) { SetStartDateTime(std::move(value)); return *this;}
65
67
71 inline const Aws::Utils::DateTime& GetEndDateTime() const{ return m_endDateTime; }
72 inline bool EndDateTimeHasBeenSet() const { return m_endDateTimeHasBeenSet; }
73 inline void SetEndDateTime(const Aws::Utils::DateTime& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = value; }
74 inline void SetEndDateTime(Aws::Utils::DateTime&& value) { m_endDateTimeHasBeenSet = true; m_endDateTime = std::move(value); }
75 inline ListIntentPathsRequest& WithEndDateTime(const Aws::Utils::DateTime& value) { SetEndDateTime(value); return *this;}
76 inline ListIntentPathsRequest& WithEndDateTime(Aws::Utils::DateTime&& value) { SetEndDateTime(std::move(value)); return *this;}
78
80
86 inline const Aws::String& GetIntentPath() const{ return m_intentPath; }
87 inline bool IntentPathHasBeenSet() const { return m_intentPathHasBeenSet; }
88 inline void SetIntentPath(const Aws::String& value) { m_intentPathHasBeenSet = true; m_intentPath = value; }
89 inline void SetIntentPath(Aws::String&& value) { m_intentPathHasBeenSet = true; m_intentPath = std::move(value); }
90 inline void SetIntentPath(const char* value) { m_intentPathHasBeenSet = true; m_intentPath.assign(value); }
91 inline ListIntentPathsRequest& WithIntentPath(const Aws::String& value) { SetIntentPath(value); return *this;}
92 inline ListIntentPathsRequest& WithIntentPath(Aws::String&& value) { SetIntentPath(std::move(value)); return *this;}
93 inline ListIntentPathsRequest& WithIntentPath(const char* value) { SetIntentPath(value); return *this;}
95
97
101 inline const Aws::Vector<AnalyticsPathFilter>& GetFilters() const{ return m_filters; }
102 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
103 inline void SetFilters(const Aws::Vector<AnalyticsPathFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
104 inline void SetFilters(Aws::Vector<AnalyticsPathFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
106 inline ListIntentPathsRequest& WithFilters(Aws::Vector<AnalyticsPathFilter>&& value) { SetFilters(std::move(value)); return *this;}
107 inline ListIntentPathsRequest& AddFilters(const AnalyticsPathFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
108 inline ListIntentPathsRequest& AddFilters(AnalyticsPathFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
110 private:
111
112 Aws::String m_botId;
113 bool m_botIdHasBeenSet = false;
114
115 Aws::Utils::DateTime m_startDateTime;
116 bool m_startDateTimeHasBeenSet = false;
117
118 Aws::Utils::DateTime m_endDateTime;
119 bool m_endDateTimeHasBeenSet = false;
120
121 Aws::String m_intentPath;
122 bool m_intentPathHasBeenSet = false;
123
125 bool m_filtersHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace LexModelsV2
130} // namespace Aws
void SetEndDateTime(Aws::Utils::DateTime &&value)
ListIntentPathsRequest & WithStartDateTime(Aws::Utils::DateTime &&value)
ListIntentPathsRequest & WithEndDateTime(const Aws::Utils::DateTime &value)
ListIntentPathsRequest & WithBotId(const Aws::String &value)
ListIntentPathsRequest & WithIntentPath(Aws::String &&value)
void SetStartDateTime(const Aws::Utils::DateTime &value)
ListIntentPathsRequest & WithStartDateTime(const Aws::Utils::DateTime &value)
ListIntentPathsRequest & WithBotId(const char *value)
ListIntentPathsRequest & WithFilters(const Aws::Vector< AnalyticsPathFilter > &value)
const Aws::Utils::DateTime & GetEndDateTime() const
const Aws::Utils::DateTime & GetStartDateTime() const
void SetFilters(Aws::Vector< AnalyticsPathFilter > &&value)
ListIntentPathsRequest & WithIntentPath(const char *value)
void SetFilters(const Aws::Vector< AnalyticsPathFilter > &value)
AWS_LEXMODELSV2_API Aws::String SerializePayload() const override
ListIntentPathsRequest & WithFilters(Aws::Vector< AnalyticsPathFilter > &&value)
ListIntentPathsRequest & WithIntentPath(const Aws::String &value)
void SetEndDateTime(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
ListIntentPathsRequest & WithEndDateTime(Aws::Utils::DateTime &&value)
ListIntentPathsRequest & WithBotId(Aws::String &&value)
const Aws::Vector< AnalyticsPathFilter > & GetFilters() const
void SetStartDateTime(Aws::Utils::DateTime &&value)
ListIntentPathsRequest & AddFilters(const AnalyticsPathFilter &value)
ListIntentPathsRequest & AddFilters(AnalyticsPathFilter &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector