AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteEnvironmentTemplateVersionRequest.h
1
6#pragma once
7#include <aws/proton/Proton_EXPORTS.h>
8#include <aws/proton/ProtonRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Proton
15{
16namespace 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 "DeleteEnvironmentTemplateVersion"; }
31
32 AWS_PROTON_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetMajorVersion() const{ return m_majorVersion; }
42 inline bool MajorVersionHasBeenSet() const { return m_majorVersionHasBeenSet; }
43 inline void SetMajorVersion(const Aws::String& value) { m_majorVersionHasBeenSet = true; m_majorVersion = value; }
44 inline void SetMajorVersion(Aws::String&& value) { m_majorVersionHasBeenSet = true; m_majorVersion = std::move(value); }
45 inline void SetMajorVersion(const char* value) { m_majorVersionHasBeenSet = true; m_majorVersion.assign(value); }
47 inline DeleteEnvironmentTemplateVersionRequest& WithMajorVersion(Aws::String&& value) { SetMajorVersion(std::move(value)); return *this;}
48 inline DeleteEnvironmentTemplateVersionRequest& WithMajorVersion(const char* value) { SetMajorVersion(value); return *this;}
50
52
55 inline const Aws::String& GetMinorVersion() const{ return m_minorVersion; }
56 inline bool MinorVersionHasBeenSet() const { return m_minorVersionHasBeenSet; }
57 inline void SetMinorVersion(const Aws::String& value) { m_minorVersionHasBeenSet = true; m_minorVersion = value; }
58 inline void SetMinorVersion(Aws::String&& value) { m_minorVersionHasBeenSet = true; m_minorVersion = std::move(value); }
59 inline void SetMinorVersion(const char* value) { m_minorVersionHasBeenSet = true; m_minorVersion.assign(value); }
61 inline DeleteEnvironmentTemplateVersionRequest& WithMinorVersion(Aws::String&& value) { SetMinorVersion(std::move(value)); return *this;}
62 inline DeleteEnvironmentTemplateVersionRequest& WithMinorVersion(const char* value) { SetMinorVersion(value); return *this;}
64
66
69 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
70 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
71 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
72 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
73 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
75 inline DeleteEnvironmentTemplateVersionRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
76 inline DeleteEnvironmentTemplateVersionRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
78 private:
79
80 Aws::String m_majorVersion;
81 bool m_majorVersionHasBeenSet = false;
82
83 Aws::String m_minorVersion;
84 bool m_minorVersionHasBeenSet = false;
85
86 Aws::String m_templateName;
87 bool m_templateNameHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Proton
92} // namespace Aws
DeleteEnvironmentTemplateVersionRequest & WithMinorVersion(const char *value)
DeleteEnvironmentTemplateVersionRequest & WithMajorVersion(const Aws::String &value)
DeleteEnvironmentTemplateVersionRequest & WithMajorVersion(Aws::String &&value)
DeleteEnvironmentTemplateVersionRequest & WithMinorVersion(const Aws::String &value)
DeleteEnvironmentTemplateVersionRequest & WithMajorVersion(const char *value)
DeleteEnvironmentTemplateVersionRequest & WithMinorVersion(Aws::String &&value)
DeleteEnvironmentTemplateVersionRequest & WithTemplateName(const char *value)
DeleteEnvironmentTemplateVersionRequest & WithTemplateName(Aws::String &&value)
DeleteEnvironmentTemplateVersionRequest & WithTemplateName(const Aws::String &value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_PROTON_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String