AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GenerateTemplateRequest.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/SMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sms/model/OutputFormat.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SMS
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SMS_API GenerateTemplateRequest() = default;
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 "GenerateTemplate"; }
32
33 AWS_SMS_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetAppId() const { return m_appId; }
43 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
44 template<typename AppIdT = Aws::String>
45 void SetAppId(AppIdT&& value) { m_appIdHasBeenSet = true; m_appId = std::forward<AppIdT>(value); }
46 template<typename AppIdT = Aws::String>
47 GenerateTemplateRequest& WithAppId(AppIdT&& value) { SetAppId(std::forward<AppIdT>(value)); return *this;}
49
51
54 inline OutputFormat GetTemplateFormat() const { return m_templateFormat; }
55 inline bool TemplateFormatHasBeenSet() const { return m_templateFormatHasBeenSet; }
56 inline void SetTemplateFormat(OutputFormat value) { m_templateFormatHasBeenSet = true; m_templateFormat = value; }
59 private:
60
61 Aws::String m_appId;
62 bool m_appIdHasBeenSet = false;
63
64 OutputFormat m_templateFormat{OutputFormat::NOT_SET};
65 bool m_templateFormatHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace SMS
70} // namespace Aws
AWS_SMS_API Aws::String SerializePayload() const override
AWS_SMS_API GenerateTemplateRequest()=default
GenerateTemplateRequest & WithTemplateFormat(OutputFormat value)
virtual const char * GetServiceRequestName() const override
AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GenerateTemplateRequest & WithAppId(AppIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String