AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
45 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
46 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
47 inline GenerateTemplateRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
48 inline GenerateTemplateRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
49 inline GenerateTemplateRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
51
53
56 inline const OutputFormat& GetTemplateFormat() const{ return m_templateFormat; }
57 inline bool TemplateFormatHasBeenSet() const { return m_templateFormatHasBeenSet; }
58 inline void SetTemplateFormat(const OutputFormat& value) { m_templateFormatHasBeenSet = true; m_templateFormat = value; }
59 inline void SetTemplateFormat(OutputFormat&& value) { m_templateFormatHasBeenSet = true; m_templateFormat = std::move(value); }
60 inline GenerateTemplateRequest& WithTemplateFormat(const OutputFormat& value) { SetTemplateFormat(value); return *this;}
61 inline GenerateTemplateRequest& WithTemplateFormat(OutputFormat&& value) { SetTemplateFormat(std::move(value)); return *this;}
63 private:
64
65 Aws::String m_appId;
66 bool m_appIdHasBeenSet = false;
67
68 OutputFormat m_templateFormat;
69 bool m_templateFormatHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace SMS
74} // namespace Aws
GenerateTemplateRequest & WithAppId(const Aws::String &value)
GenerateTemplateRequest & WithTemplateFormat(const OutputFormat &value)
AWS_SMS_API Aws::String SerializePayload() const override
GenerateTemplateRequest & WithAppId(Aws::String &&value)
GenerateTemplateRequest & WithTemplateFormat(OutputFormat &&value)
virtual const char * GetServiceRequestName() const override
void SetTemplateFormat(const OutputFormat &value)
AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GenerateTemplateRequest & WithAppId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String