AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
GetExtensionRequest.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensionsRequest.h>
8#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace CloudExtensions {
18namespace Model {
19
27 public:
28 AWS_CLOUDEXTENSIONS_API GetExtensionRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetExtension"; }
35
36 AWS_CLOUDEXTENSIONS_API Aws::String SerializePayload() const override;
37
38 AWS_CLOUDEXTENSIONS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetIdentifier() const { return m_identifier; }
45 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
46 template <typename IdentifierT = Aws::String>
47 void SetIdentifier(IdentifierT&& value) {
48 m_identifierHasBeenSet = true;
49 m_identifier = std::forward<IdentifierT>(value);
50 }
51 template <typename IdentifierT = Aws::String>
52 GetExtensionRequest& WithIdentifier(IdentifierT&& value) {
53 SetIdentifier(std::forward<IdentifierT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetExtensionVersion() const { return m_extensionVersion; }
63 inline bool ExtensionVersionHasBeenSet() const { return m_extensionVersionHasBeenSet; }
64 template <typename ExtensionVersionT = Aws::String>
65 void SetExtensionVersion(ExtensionVersionT&& value) {
66 m_extensionVersionHasBeenSet = true;
67 m_extensionVersion = std::forward<ExtensionVersionT>(value);
68 }
69 template <typename ExtensionVersionT = Aws::String>
70 GetExtensionRequest& WithExtensionVersion(ExtensionVersionT&& value) {
71 SetExtensionVersion(std::forward<ExtensionVersionT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_identifier;
77
78 Aws::String m_extensionVersion;
79 bool m_identifierHasBeenSet = false;
80 bool m_extensionVersionHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace CloudExtensions
85} // namespace Aws
GetExtensionRequest & WithExtensionVersion(ExtensionVersionT &&value)
void SetExtensionVersion(ExtensionVersionT &&value)
AWS_CLOUDEXTENSIONS_API GetExtensionRequest()=default
AWS_CLOUDEXTENSIONS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetExtensionRequest & WithIdentifier(IdentifierT &&value)
AWS_CLOUDEXTENSIONS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String