AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ValidateConfigurationRequest.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 ValidateConfigurationRequest() = 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 "ValidateConfiguration"; }
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& GetApplicationId() const { return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 template <typename ApplicationIdT = Aws::String>
43 void SetApplicationId(ApplicationIdT&& value) {
44 m_applicationIdHasBeenSet = true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
46 }
47 template <typename ApplicationIdT = Aws::String>
49 SetApplicationId(std::forward<ApplicationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetConfigurationProfileId() const { return m_configurationProfileId; }
59 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
60 template <typename ConfigurationProfileIdT = Aws::String>
61 void SetConfigurationProfileId(ConfigurationProfileIdT&& value) {
62 m_configurationProfileIdHasBeenSet = true;
63 m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value);
64 }
65 template <typename ConfigurationProfileIdT = Aws::String>
66 ValidateConfigurationRequest& WithConfigurationProfileId(ConfigurationProfileIdT&& value) {
67 SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetConfigurationVersion() const { return m_configurationVersion; }
77 inline bool ConfigurationVersionHasBeenSet() const { return m_configurationVersionHasBeenSet; }
78 template <typename ConfigurationVersionT = Aws::String>
79 void SetConfigurationVersion(ConfigurationVersionT&& value) {
80 m_configurationVersionHasBeenSet = true;
81 m_configurationVersion = std::forward<ConfigurationVersionT>(value);
82 }
83 template <typename ConfigurationVersionT = Aws::String>
85 SetConfigurationVersion(std::forward<ConfigurationVersionT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_applicationId;
91
92 Aws::String m_configurationProfileId;
93
94 Aws::String m_configurationVersion;
95 bool m_applicationIdHasBeenSet = false;
96 bool m_configurationProfileIdHasBeenSet = false;
97 bool m_configurationVersionHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace AppConfig
102} // namespace Aws
ValidateConfigurationRequest & WithApplicationId(ApplicationIdT &&value)
void SetConfigurationProfileId(ConfigurationProfileIdT &&value)
AWS_APPCONFIG_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ValidateConfigurationRequest & WithConfigurationVersion(ConfigurationVersionT &&value)
AWS_APPCONFIG_API ValidateConfigurationRequest()=default
ValidateConfigurationRequest & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String