AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetExtensionRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/AppConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace AppConfig
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_APPCONFIG_API GetExtensionRequest();
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_APPCONFIG_API Aws::String SerializePayload() const override;
37
38 AWS_APPCONFIG_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetExtensionIdentifier() const{ return m_extensionIdentifier; }
46 inline bool ExtensionIdentifierHasBeenSet() const { return m_extensionIdentifierHasBeenSet; }
47 inline void SetExtensionIdentifier(const Aws::String& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = value; }
48 inline void SetExtensionIdentifier(Aws::String&& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = std::move(value); }
49 inline void SetExtensionIdentifier(const char* value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier.assign(value); }
51 inline GetExtensionRequest& WithExtensionIdentifier(Aws::String&& value) { SetExtensionIdentifier(std::move(value)); return *this;}
52 inline GetExtensionRequest& WithExtensionIdentifier(const char* value) { SetExtensionIdentifier(value); return *this;}
54
56
60 inline int GetVersionNumber() const{ return m_versionNumber; }
61 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
62 inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
63 inline GetExtensionRequest& WithVersionNumber(int value) { SetVersionNumber(value); return *this;}
65 private:
66
67 Aws::String m_extensionIdentifier;
68 bool m_extensionIdentifierHasBeenSet = false;
69
70 int m_versionNumber;
71 bool m_versionNumberHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace AppConfig
76} // namespace Aws
AWS_APPCONFIG_API Aws::String SerializePayload() const override
AWS_APPCONFIG_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetExtensionRequest & WithExtensionIdentifier(const char *value)
GetExtensionRequest & WithExtensionIdentifier(Aws::String &&value)
GetExtensionRequest & WithExtensionIdentifier(const Aws::String &value)
void SetExtensionIdentifier(const Aws::String &value)
const Aws::String & GetExtensionIdentifier() const
virtual const char * GetServiceRequestName() const override
GetExtensionRequest & WithVersionNumber(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String