AWS SDK for C++  1.9.175
AWS SDK for C++
GetMigrationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace LexModelBuildingService
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetMigration"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetMigrationId() const{ return m_migrationId; }
40 
45  inline bool MigrationIdHasBeenSet() const { return m_migrationIdHasBeenSet; }
46 
51  inline void SetMigrationId(const Aws::String& value) { m_migrationIdHasBeenSet = true; m_migrationId = value; }
52 
57  inline void SetMigrationId(Aws::String&& value) { m_migrationIdHasBeenSet = true; m_migrationId = std::move(value); }
58 
63  inline void SetMigrationId(const char* value) { m_migrationIdHasBeenSet = true; m_migrationId.assign(value); }
64 
69  inline GetMigrationRequest& WithMigrationId(const Aws::String& value) { SetMigrationId(value); return *this;}
70 
75  inline GetMigrationRequest& WithMigrationId(Aws::String&& value) { SetMigrationId(std::move(value)); return *this;}
76 
81  inline GetMigrationRequest& WithMigrationId(const char* value) { SetMigrationId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_migrationId;
86  bool m_migrationIdHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace LexModelBuildingService
91 } // namespace Aws
Aws::LexModelBuildingService::Model::GetMigrationRequest::SetMigrationId
void SetMigrationId(Aws::String &&value)
Definition: GetMigrationRequest.h:57
Aws::LexModelBuildingService::Model::GetMigrationRequest::WithMigrationId
GetMigrationRequest & WithMigrationId(Aws::String &&value)
Definition: GetMigrationRequest.h:75
Aws::LexModelBuildingService::Model::GetMigrationRequest
Definition: GetMigrationRequest.h:22
LexModelBuildingServiceRequest.h
Aws::LexModelBuildingService::LexModelBuildingServiceRequest
Definition: LexModelBuildingServiceRequest.h:17
Aws::LexModelBuildingService::Model::GetMigrationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetMigrationRequest.h:30
Aws::LexModelBuildingService::Model::GetMigrationRequest::SerializePayload
Aws::String SerializePayload() const override
LexModelBuildingService_EXPORTS.h
Aws::LexModelBuildingService::Model::GetMigrationRequest::WithMigrationId
GetMigrationRequest & WithMigrationId(const Aws::String &value)
Definition: GetMigrationRequest.h:69
Aws::LexModelBuildingService::Model::GetMigrationRequest::GetMigrationId
const Aws::String & GetMigrationId() const
Definition: GetMigrationRequest.h:39
AWSString.h
AWS_LEXMODELBUILDINGSERVICE_API
#define AWS_LEXMODELBUILDINGSERVICE_API
Definition: LexModelBuildingService_EXPORTS.h:28
Aws::LexModelBuildingService::Model::GetMigrationRequest::GetMigrationRequest
GetMigrationRequest()
Aws::LexModelBuildingService::Model::GetMigrationRequest::MigrationIdHasBeenSet
bool MigrationIdHasBeenSet() const
Definition: GetMigrationRequest.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelBuildingService::Model::GetMigrationRequest::SetMigrationId
void SetMigrationId(const char *value)
Definition: GetMigrationRequest.h:63
Aws::LexModelBuildingService::Model::GetMigrationRequest::SetMigrationId
void SetMigrationId(const Aws::String &value)
Definition: GetMigrationRequest.h:51
Aws::LexModelBuildingService::Model::GetMigrationRequest::WithMigrationId
GetMigrationRequest & WithMigrationId(const char *value)
Definition: GetMigrationRequest.h:81