AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMigrationsRequest.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/MigrationSortAttribute.h>
10#include <aws/lex-models/model/SortOrder.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/lex-models/model/MigrationStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace LexModelBuildingService
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_LEXMODELBUILDINGSERVICE_API GetMigrationsRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "GetMigrations"; }
38
39 AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override;
40
41 AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
49 inline const MigrationSortAttribute& GetSortByAttribute() const{ return m_sortByAttribute; }
50 inline bool SortByAttributeHasBeenSet() const { return m_sortByAttributeHasBeenSet; }
51 inline void SetSortByAttribute(const MigrationSortAttribute& value) { m_sortByAttributeHasBeenSet = true; m_sortByAttribute = value; }
52 inline void SetSortByAttribute(MigrationSortAttribute&& value) { m_sortByAttributeHasBeenSet = true; m_sortByAttribute = std::move(value); }
54 inline GetMigrationsRequest& WithSortByAttribute(MigrationSortAttribute&& value) { SetSortByAttribute(std::move(value)); return *this;}
56
58
61 inline const SortOrder& GetSortByOrder() const{ return m_sortByOrder; }
62 inline bool SortByOrderHasBeenSet() const { return m_sortByOrderHasBeenSet; }
63 inline void SetSortByOrder(const SortOrder& value) { m_sortByOrderHasBeenSet = true; m_sortByOrder = value; }
64 inline void SetSortByOrder(SortOrder&& value) { m_sortByOrderHasBeenSet = true; m_sortByOrder = std::move(value); }
65 inline GetMigrationsRequest& WithSortByOrder(const SortOrder& value) { SetSortByOrder(value); return *this;}
66 inline GetMigrationsRequest& WithSortByOrder(SortOrder&& value) { SetSortByOrder(std::move(value)); return *this;}
68
70
74 inline const Aws::String& GetV1BotNameContains() const{ return m_v1BotNameContains; }
75 inline bool V1BotNameContainsHasBeenSet() const { return m_v1BotNameContainsHasBeenSet; }
76 inline void SetV1BotNameContains(const Aws::String& value) { m_v1BotNameContainsHasBeenSet = true; m_v1BotNameContains = value; }
77 inline void SetV1BotNameContains(Aws::String&& value) { m_v1BotNameContainsHasBeenSet = true; m_v1BotNameContains = std::move(value); }
78 inline void SetV1BotNameContains(const char* value) { m_v1BotNameContainsHasBeenSet = true; m_v1BotNameContains.assign(value); }
79 inline GetMigrationsRequest& WithV1BotNameContains(const Aws::String& value) { SetV1BotNameContains(value); return *this;}
80 inline GetMigrationsRequest& WithV1BotNameContains(Aws::String&& value) { SetV1BotNameContains(std::move(value)); return *this;}
81 inline GetMigrationsRequest& WithV1BotNameContains(const char* value) { SetV1BotNameContains(value); return *this;}
83
85
88 inline const MigrationStatus& GetMigrationStatusEquals() const{ return m_migrationStatusEquals; }
89 inline bool MigrationStatusEqualsHasBeenSet() const { return m_migrationStatusEqualsHasBeenSet; }
90 inline void SetMigrationStatusEquals(const MigrationStatus& value) { m_migrationStatusEqualsHasBeenSet = true; m_migrationStatusEquals = value; }
91 inline void SetMigrationStatusEquals(MigrationStatus&& value) { m_migrationStatusEqualsHasBeenSet = true; m_migrationStatusEquals = std::move(value); }
95
97
101 inline int GetMaxResults() const{ return m_maxResults; }
102 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
103 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
104 inline GetMigrationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
106
108
114 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
115 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
116 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
117 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
118 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
119 inline GetMigrationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
120 inline GetMigrationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
121 inline GetMigrationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
123 private:
124
125 MigrationSortAttribute m_sortByAttribute;
126 bool m_sortByAttributeHasBeenSet = false;
127
128 SortOrder m_sortByOrder;
129 bool m_sortByOrderHasBeenSet = false;
130
131 Aws::String m_v1BotNameContains;
132 bool m_v1BotNameContainsHasBeenSet = false;
133
134 MigrationStatus m_migrationStatusEquals;
135 bool m_migrationStatusEqualsHasBeenSet = false;
136
137 int m_maxResults;
138 bool m_maxResultsHasBeenSet = false;
139
140 Aws::String m_nextToken;
141 bool m_nextTokenHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace LexModelBuildingService
146} // namespace Aws
GetMigrationsRequest & WithMigrationStatusEquals(MigrationStatus &&value)
GetMigrationsRequest & WithSortByAttribute(const MigrationSortAttribute &value)
AWS_LEXMODELBUILDINGSERVICE_API GetMigrationsRequest()
AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override
const MigrationSortAttribute & GetSortByAttribute() const
GetMigrationsRequest & WithSortByOrder(SortOrder &&value)
GetMigrationsRequest & WithSortByOrder(const SortOrder &value)
GetMigrationsRequest & WithNextToken(const Aws::String &value)
GetMigrationsRequest & WithSortByAttribute(MigrationSortAttribute &&value)
GetMigrationsRequest & WithV1BotNameContains(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetMigrationsRequest & WithMigrationStatusEquals(const MigrationStatus &value)
GetMigrationsRequest & WithV1BotNameContains(Aws::String &&value)
GetMigrationsRequest & WithNextToken(const char *value)
virtual const char * GetServiceRequestName() const override
void SetSortByAttribute(const MigrationSortAttribute &value)
GetMigrationsRequest & WithNextToken(Aws::String &&value)
GetMigrationsRequest & WithV1BotNameContains(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String