AWS SDK for C++

AWS SDK for C++ Version 1.11.845

Loading...
Searching...
No Matches
CreateHostedConfigurationVersionRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfigRequest.h>
8#include <aws/appconfig/AppConfig_EXPORTS.h>
9#include <aws/core/utils/Array.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace AppConfig {
16namespace Model {
17
21 public:
22 AWS_APPCONFIG_API CreateHostedConfigurationVersionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateHostedConfigurationVersion"; }
29
31
33
36 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
37 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
38 template <typename ApplicationIdT = Aws::String>
39 void SetApplicationId(ApplicationIdT&& value) {
40 m_applicationIdHasBeenSet = true;
41 m_applicationId = std::forward<ApplicationIdT>(value);
42 }
43 template <typename ApplicationIdT = Aws::String>
45 SetApplicationId(std::forward<ApplicationIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetConfigurationProfileId() const { return m_configurationProfileId; }
55 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
56 template <typename ConfigurationProfileIdT = Aws::String>
57 void SetConfigurationProfileId(ConfigurationProfileIdT&& value) {
58 m_configurationProfileIdHasBeenSet = true;
59 m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value);
60 }
61 template <typename ConfigurationProfileIdT = Aws::String>
63 SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template <typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) {
77 m_descriptionHasBeenSet = true;
78 m_description = std::forward<DescriptionT>(value);
79 }
80 template <typename DescriptionT = Aws::String>
82 SetDescription(std::forward<DescriptionT>(value));
83 return *this;
84 }
86
88
95 inline int GetLatestVersionNumber() const { return m_latestVersionNumber; }
96 inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
97 inline void SetLatestVersionNumber(int value) {
98 m_latestVersionNumberHasBeenSet = true;
99 m_latestVersionNumber = value;
100 }
103 return *this;
104 }
106
108
113 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
114 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
115 template <typename VersionLabelT = Aws::String>
116 void SetVersionLabel(VersionLabelT&& value) {
117 m_versionLabelHasBeenSet = true;
118 m_versionLabel = std::forward<VersionLabelT>(value);
119 }
120 template <typename VersionLabelT = Aws::String>
122 SetVersionLabel(std::forward<VersionLabelT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_applicationId;
128
129 Aws::String m_configurationProfileId;
130
131 Aws::String m_description;
132
133 int m_latestVersionNumber{0};
134
135 Aws::String m_versionLabel;
136 bool m_applicationIdHasBeenSet = false;
137 bool m_configurationProfileIdHasBeenSet = false;
138 bool m_descriptionHasBeenSet = false;
139 bool m_latestVersionNumberHasBeenSet = false;
140 bool m_versionLabelHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace AppConfig
145} // namespace Aws
CreateHostedConfigurationVersionRequest & WithDescription(DescriptionT &&value)
AWS_APPCONFIG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateHostedConfigurationVersionRequest & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
CreateHostedConfigurationVersionRequest & WithApplicationId(ApplicationIdT &&value)
CreateHostedConfigurationVersionRequest & WithVersionLabel(VersionLabelT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String