AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetGeneratedTemplateRequest.h
1
6#pragma once
7#include <aws/cloudformation/CloudFormation_EXPORTS.h>
8#include <aws/cloudformation/CloudFormationRequest.h>
9#include <aws/cloudformation/model/TemplateFormat.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudFormation
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLOUDFORMATION_API GetGeneratedTemplateRequest();
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 "GetGeneratedTemplate"; }
32
33 AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
46 inline const TemplateFormat& GetFormat() const{ return m_format; }
47 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
48 inline void SetFormat(const TemplateFormat& value) { m_formatHasBeenSet = true; m_format = value; }
49 inline void SetFormat(TemplateFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
50 inline GetGeneratedTemplateRequest& WithFormat(const TemplateFormat& value) { SetFormat(value); return *this;}
51 inline GetGeneratedTemplateRequest& WithFormat(TemplateFormat&& value) { SetFormat(std::move(value)); return *this;}
53
55
63 inline const Aws::String& GetGeneratedTemplateName() const{ return m_generatedTemplateName; }
64 inline bool GeneratedTemplateNameHasBeenSet() const { return m_generatedTemplateNameHasBeenSet; }
65 inline void SetGeneratedTemplateName(const Aws::String& value) { m_generatedTemplateNameHasBeenSet = true; m_generatedTemplateName = value; }
66 inline void SetGeneratedTemplateName(Aws::String&& value) { m_generatedTemplateNameHasBeenSet = true; m_generatedTemplateName = std::move(value); }
67 inline void SetGeneratedTemplateName(const char* value) { m_generatedTemplateNameHasBeenSet = true; m_generatedTemplateName.assign(value); }
70 inline GetGeneratedTemplateRequest& WithGeneratedTemplateName(const char* value) { SetGeneratedTemplateName(value); return *this;}
72 private:
73
74 TemplateFormat m_format;
75 bool m_formatHasBeenSet = false;
76
77 Aws::String m_generatedTemplateName;
78 bool m_generatedTemplateNameHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace CloudFormation
83} // namespace Aws
GetGeneratedTemplateRequest & WithFormat(const TemplateFormat &value)
GetGeneratedTemplateRequest & WithGeneratedTemplateName(const Aws::String &value)
GetGeneratedTemplateRequest & WithGeneratedTemplateName(Aws::String &&value)
GetGeneratedTemplateRequest & WithFormat(TemplateFormat &&value)
AWS_CLOUDFORMATION_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_CLOUDFORMATION_API Aws::String SerializePayload() const override
GetGeneratedTemplateRequest & WithGeneratedTemplateName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String