AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateVoiceTemplateRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/VoiceTemplateRequest.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Pinpoint
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PINPOINT_API CreateVoiceTemplateRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateVoiceTemplate"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
35
37
43 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
44 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
45 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
46 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
47 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
48 inline CreateVoiceTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
49 inline CreateVoiceTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
50 inline CreateVoiceTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
52
54
55 inline const VoiceTemplateRequest& GetVoiceTemplateRequest() const{ return m_voiceTemplateRequest; }
56 inline bool VoiceTemplateRequestHasBeenSet() const { return m_voiceTemplateRequestHasBeenSet; }
57 inline void SetVoiceTemplateRequest(const VoiceTemplateRequest& value) { m_voiceTemplateRequestHasBeenSet = true; m_voiceTemplateRequest = value; }
58 inline void SetVoiceTemplateRequest(VoiceTemplateRequest&& value) { m_voiceTemplateRequestHasBeenSet = true; m_voiceTemplateRequest = std::move(value); }
62 private:
63
64 Aws::String m_templateName;
65 bool m_templateNameHasBeenSet = false;
66
67 VoiceTemplateRequest m_voiceTemplateRequest;
68 bool m_voiceTemplateRequestHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Pinpoint
73} // namespace Aws
CreateVoiceTemplateRequest & WithTemplateName(const char *value)
void SetVoiceTemplateRequest(const VoiceTemplateRequest &value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
CreateVoiceTemplateRequest & WithVoiceTemplateRequest(const VoiceTemplateRequest &value)
const VoiceTemplateRequest & GetVoiceTemplateRequest() const
CreateVoiceTemplateRequest & WithTemplateName(Aws::String &&value)
CreateVoiceTemplateRequest & WithVoiceTemplateRequest(VoiceTemplateRequest &&value)
virtual const char * GetServiceRequestName() const override
CreateVoiceTemplateRequest & WithTemplateName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String