AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
GetLatestConfigurationRequest.h
1
6#pragma once
7#include <aws/appconfigdata/AppConfigDataRequest.h>
8#include <aws/appconfigdata/AppConfigData_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 AppConfigData {
18namespace Model {
19
23 public:
24 AWS_APPCONFIGDATA_API GetLatestConfigurationRequest() = 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 "GetLatestConfiguration"; }
31
32 AWS_APPCONFIGDATA_API Aws::String SerializePayload() const override;
33
34 AWS_APPCONFIGDATA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
48 inline const Aws::String& GetConfigurationToken() const { return m_configurationToken; }
49 inline bool ConfigurationTokenHasBeenSet() const { return m_configurationTokenHasBeenSet; }
50 template <typename ConfigurationTokenT = Aws::String>
51 void SetConfigurationToken(ConfigurationTokenT&& value) {
52 m_configurationTokenHasBeenSet = true;
53 m_configurationToken = std::forward<ConfigurationTokenT>(value);
54 }
55 template <typename ConfigurationTokenT = Aws::String>
57 SetConfigurationToken(std::forward<ConfigurationTokenT>(value));
58 return *this;
59 }
61 private:
62 Aws::String m_configurationToken;
63 bool m_configurationTokenHasBeenSet = false;
64};
65
66} // namespace Model
67} // namespace AppConfigData
68} // namespace Aws
AWS_APPCONFIGDATA_API GetLatestConfigurationRequest()=default
AWS_APPCONFIGDATA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPCONFIGDATA_API Aws::String SerializePayload() const override
GetLatestConfigurationRequest & WithConfigurationToken(ConfigurationTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String