AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
GetHostedConfigurationVersionRequest.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 AppConfig {
15namespace Model {
16
20 public:
21 AWS_APPCONFIG_API GetHostedConfigurationVersionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetHostedConfigurationVersion"; }
28
29 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
36 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
37 template <typename ApplicationIdT = Aws::String>
38 void SetApplicationId(ApplicationIdT&& value) {
39 m_applicationIdHasBeenSet = true;
40 m_applicationId = std::forward<ApplicationIdT>(value);
41 }
42 template <typename ApplicationIdT = Aws::String>
44 SetApplicationId(std::forward<ApplicationIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetConfigurationProfileId() const { return m_configurationProfileId; }
54 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
55 template <typename ConfigurationProfileIdT = Aws::String>
56 void SetConfigurationProfileId(ConfigurationProfileIdT&& value) {
57 m_configurationProfileIdHasBeenSet = true;
58 m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value);
59 }
60 template <typename ConfigurationProfileIdT = Aws::String>
62 SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value));
63 return *this;
64 }
66
68
71 inline int GetVersionNumber() const { return m_versionNumber; }
72 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
73 inline void SetVersionNumber(int value) {
74 m_versionNumberHasBeenSet = true;
75 m_versionNumber = value;
76 }
78 SetVersionNumber(value);
79 return *this;
80 }
82 private:
83 Aws::String m_applicationId;
84
85 Aws::String m_configurationProfileId;
86
87 int m_versionNumber{0};
88 bool m_applicationIdHasBeenSet = false;
89 bool m_configurationProfileIdHasBeenSet = false;
90 bool m_versionNumberHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace AppConfig
95} // namespace Aws
AWS_APPCONFIG_API Aws::String SerializePayload() const override
GetHostedConfigurationVersionRequest & WithApplicationId(ApplicationIdT &&value)
GetHostedConfigurationVersionRequest & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String