AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
GetExtensionRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfigRequest.h>
8#include <aws/appconfig/AppConfig_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 AppConfig {
18namespace Model {
19
23 public:
24 AWS_APPCONFIG_API GetExtensionRequest() = default;
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 "GetExtension"; }
31
32 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
33
34 AWS_APPCONFIG_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetExtensionIdentifier() const { return m_extensionIdentifier; }
41 inline bool ExtensionIdentifierHasBeenSet() const { return m_extensionIdentifierHasBeenSet; }
42 template <typename ExtensionIdentifierT = Aws::String>
43 void SetExtensionIdentifier(ExtensionIdentifierT&& value) {
44 m_extensionIdentifierHasBeenSet = true;
45 m_extensionIdentifier = std::forward<ExtensionIdentifierT>(value);
46 }
47 template <typename ExtensionIdentifierT = Aws::String>
48 GetExtensionRequest& WithExtensionIdentifier(ExtensionIdentifierT&& value) {
49 SetExtensionIdentifier(std::forward<ExtensionIdentifierT>(value));
50 return *this;
51 }
53
55
59 inline int GetVersionNumber() const { return m_versionNumber; }
60 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
61 inline void SetVersionNumber(int value) {
62 m_versionNumberHasBeenSet = true;
63 m_versionNumber = value;
64 }
66 SetVersionNumber(value);
67 return *this;
68 }
70 private:
71 Aws::String m_extensionIdentifier;
72
73 int m_versionNumber{0};
74 bool m_extensionIdentifierHasBeenSet = false;
75 bool m_versionNumberHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace AppConfig
80} // namespace Aws
AWS_APPCONFIG_API Aws::String SerializePayload() const override
AWS_APPCONFIG_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetExtensionRequest & WithExtensionIdentifier(ExtensionIdentifierT &&value)
void SetExtensionIdentifier(ExtensionIdentifierT &&value)
const Aws::String & GetExtensionIdentifier() const
AWS_APPCONFIG_API GetExtensionRequest()=default
virtual const char * GetServiceRequestName() const override
GetExtensionRequest & WithVersionNumber(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String