AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
GetConfigurationRequest.h
1
6#pragma once
7#include <aws/appconfigcloudextension/AppConfigCloudExtensionRequest.h>
8#include <aws/appconfigcloudextension/AppConfigCloudExtension_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace AppConfigCloudExtension {
15namespace Model {
16
23 public:
24 AWS_APPCONFIGCLOUDEXTENSION_API GetConfigurationRequest() = 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 "GetConfiguration"; }
31
32 AWS_APPCONFIGCLOUDEXTENSION_API Aws::String SerializePayload() const override;
33
34 AWS_APPCONFIGCLOUDEXTENSION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
40 inline const Aws::String& GetApplication() const { return m_application; }
41 inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
42 template <typename ApplicationT = Aws::String>
43 void SetApplication(ApplicationT&& value) {
44 m_applicationHasBeenSet = true;
45 m_application = std::forward<ApplicationT>(value);
46 }
47 template <typename ApplicationT = Aws::String>
49 SetApplication(std::forward<ApplicationT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetEnvironment() const { return m_environment; }
60 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
61 template <typename EnvironmentT = Aws::String>
62 void SetEnvironment(EnvironmentT&& value) {
63 m_environmentHasBeenSet = true;
64 m_environment = std::forward<EnvironmentT>(value);
65 }
66 template <typename EnvironmentT = Aws::String>
68 SetEnvironment(std::forward<EnvironmentT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetConfiguration() const { return m_configuration; }
78 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
79 template <typename ConfigurationT = Aws::String>
80 void SetConfiguration(ConfigurationT&& value) {
81 m_configurationHasBeenSet = true;
82 m_configuration = std::forward<ConfigurationT>(value);
83 }
84 template <typename ConfigurationT = Aws::String>
85 GetConfigurationRequest& WithConfiguration(ConfigurationT&& value) {
86 SetConfiguration(std::forward<ConfigurationT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_application;
92
93 Aws::String m_environment;
94
95 Aws::String m_configuration;
96 bool m_applicationHasBeenSet = false;
97 bool m_environmentHasBeenSet = false;
98 bool m_configurationHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace AppConfigCloudExtension
103} // namespace Aws
AWS_APPCONFIGCLOUDEXTENSION_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_APPCONFIGCLOUDEXTENSION_API GetConfigurationRequest()=default
AWS_APPCONFIGCLOUDEXTENSION_API Aws::String SerializePayload() const override
GetConfigurationRequest & WithApplication(ApplicationT &&value)
GetConfigurationRequest & WithEnvironment(EnvironmentT &&value)
GetConfigurationRequest & WithConfiguration(ConfigurationT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String