AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetServiceTemplateVersionRequest.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 "GetServiceTemplateVersion"; }
31
32 AWS_PROTON_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetMajorVersion() const{ return m_majorVersion; }
43 inline bool MajorVersionHasBeenSet() const { return m_majorVersionHasBeenSet; }
44 inline void SetMajorVersion(const Aws::String& value) { m_majorVersionHasBeenSet = true; m_majorVersion = value; }
45 inline void SetMajorVersion(Aws::String&& value) { m_majorVersionHasBeenSet = true; m_majorVersion = std::move(value); }
46 inline void SetMajorVersion(const char* value) { m_majorVersionHasBeenSet = true; m_majorVersion.assign(value); }
48 inline GetServiceTemplateVersionRequest& WithMajorVersion(Aws::String&& value) { SetMajorVersion(std::move(value)); return *this;}
49 inline GetServiceTemplateVersionRequest& WithMajorVersion(const char* value) { SetMajorVersion(value); return *this;}
51
53
57 inline const Aws::String& GetMinorVersion() const{ return m_minorVersion; }
58 inline bool MinorVersionHasBeenSet() const { return m_minorVersionHasBeenSet; }
59 inline void SetMinorVersion(const Aws::String& value) { m_minorVersionHasBeenSet = true; m_minorVersion = value; }
60 inline void SetMinorVersion(Aws::String&& value) { m_minorVersionHasBeenSet = true; m_minorVersion = std::move(value); }
61 inline void SetMinorVersion(const char* value) { m_minorVersionHasBeenSet = true; m_minorVersion.assign(value); }
63 inline GetServiceTemplateVersionRequest& WithMinorVersion(Aws::String&& value) { SetMinorVersion(std::move(value)); return *this;}
64 inline GetServiceTemplateVersionRequest& WithMinorVersion(const char* value) { SetMinorVersion(value); return *this;}
66
68
72 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
73 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
74 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
75 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
76 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
78 inline GetServiceTemplateVersionRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
79 inline GetServiceTemplateVersionRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
81 private:
82
83 Aws::String m_majorVersion;
84 bool m_majorVersionHasBeenSet = false;
85
86 Aws::String m_minorVersion;
87 bool m_minorVersionHasBeenSet = false;
88
89 Aws::String m_templateName;
90 bool m_templateNameHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Proton
95} // namespace Aws
GetServiceTemplateVersionRequest & WithMajorVersion(Aws::String &&value)
GetServiceTemplateVersionRequest & WithMajorVersion(const Aws::String &value)
GetServiceTemplateVersionRequest & WithTemplateName(const char *value)
GetServiceTemplateVersionRequest & WithTemplateName(Aws::String &&value)
AWS_PROTON_API Aws::String SerializePayload() const override
GetServiceTemplateVersionRequest & WithTemplateName(const Aws::String &value)
GetServiceTemplateVersionRequest & WithMinorVersion(const Aws::String &value)
AWS_PROTON_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetServiceTemplateVersionRequest & WithMajorVersion(const char *value)
GetServiceTemplateVersionRequest & WithMinorVersion(const char *value)
GetServiceTemplateVersionRequest & WithMinorVersion(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String