AWS SDK for C++  1.9.108
AWS SDK for C++
CreateIntentVersionRequest.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 "CreateIntentVersion"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetName() const{ return m_name; }
40 
45  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 
51  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 
57  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 
63  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
64 
69  inline CreateIntentVersionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
75  inline CreateIntentVersionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
81  inline CreateIntentVersionRequest& WithName(const char* value) { SetName(value); return *this;}
82 
83 
92  inline const Aws::String& GetChecksum() const{ return m_checksum; }
93 
102  inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
103 
112  inline void SetChecksum(const Aws::String& value) { m_checksumHasBeenSet = true; m_checksum = value; }
113 
122  inline void SetChecksum(Aws::String&& value) { m_checksumHasBeenSet = true; m_checksum = std::move(value); }
123 
132  inline void SetChecksum(const char* value) { m_checksumHasBeenSet = true; m_checksum.assign(value); }
133 
142  inline CreateIntentVersionRequest& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
143 
152  inline CreateIntentVersionRequest& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
153 
162  inline CreateIntentVersionRequest& WithChecksum(const char* value) { SetChecksum(value); return *this;}
163 
164  private:
165 
166  Aws::String m_name;
167  bool m_nameHasBeenSet;
168 
169  Aws::String m_checksum;
170  bool m_checksumHasBeenSet;
171  };
172 
173 } // namespace Model
174 } // namespace LexModelBuildingService
175 } // namespace Aws
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::SetChecksum
void SetChecksum(Aws::String &&value)
Definition: CreateIntentVersionRequest.h:122
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateIntentVersionRequest.h:45
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::WithChecksum
CreateIntentVersionRequest & WithChecksum(Aws::String &&value)
Definition: CreateIntentVersionRequest.h:152
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::CreateIntentVersionRequest
CreateIntentVersionRequest()
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::WithChecksum
CreateIntentVersionRequest & WithChecksum(const char *value)
Definition: CreateIntentVersionRequest.h:162
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::SerializePayload
Aws::String SerializePayload() const override
LexModelBuildingServiceRequest.h
Aws::LexModelBuildingService::LexModelBuildingServiceRequest
Definition: LexModelBuildingServiceRequest.h:17
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateIntentVersionRequest.h:30
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::SetChecksum
void SetChecksum(const Aws::String &value)
Definition: CreateIntentVersionRequest.h:112
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::WithName
CreateIntentVersionRequest & WithName(const Aws::String &value)
Definition: CreateIntentVersionRequest.h:69
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest
Definition: CreateIntentVersionRequest.h:22
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::SetChecksum
void SetChecksum(const char *value)
Definition: CreateIntentVersionRequest.h:132
LexModelBuildingService_EXPORTS.h
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::GetChecksum
const Aws::String & GetChecksum() const
Definition: CreateIntentVersionRequest.h:92
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateIntentVersionRequest.h:57
AWSString.h
AWS_LEXMODELBUILDINGSERVICE_API
#define AWS_LEXMODELBUILDINGSERVICE_API
Definition: LexModelBuildingService_EXPORTS.h:28
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateIntentVersionRequest.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::WithName
CreateIntentVersionRequest & WithName(const char *value)
Definition: CreateIntentVersionRequest.h:81
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::WithChecksum
CreateIntentVersionRequest & WithChecksum(const Aws::String &value)
Definition: CreateIntentVersionRequest.h:142
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::SetName
void SetName(const char *value)
Definition: CreateIntentVersionRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::ChecksumHasBeenSet
bool ChecksumHasBeenSet() const
Definition: CreateIntentVersionRequest.h:102
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::WithName
CreateIntentVersionRequest & WithName(Aws::String &&value)
Definition: CreateIntentVersionRequest.h:75
Aws::LexModelBuildingService::Model::CreateIntentVersionRequest::GetName
const Aws::String & GetName() const
Definition: CreateIntentVersionRequest.h:39