AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template <typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) {
76 m_descriptionHasBeenSet = true;
77 m_description = std::forward<DescriptionT>(value);
78 }
79 template <typename DescriptionT = Aws::String>
81 SetDescription(std::forward<DescriptionT>(value));
82 return *this;
83 }
85
87
94 inline int GetLatestVersionNumber() const { return m_latestVersionNumber; }
95 inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
96 inline void SetLatestVersionNumber(int value) {
97 m_latestVersionNumberHasBeenSet = true;
98 m_latestVersionNumber = value;
99 }
102 return *this;
103 }
105
107
112 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
113 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
114 template <typename VersionLabelT = Aws::String>
115 void SetVersionLabel(VersionLabelT&& value) {
116 m_versionLabelHasBeenSet = true;
117 m_versionLabel = std::forward<VersionLabelT>(value);
118 }
119 template <typename VersionLabelT = Aws::String>
121 SetVersionLabel(std::forward<VersionLabelT>(value));
122 return *this;
123 }
125 private:
126 Aws::String m_applicationId;
127
128 Aws::String m_configurationProfileId;
129
130 Aws::String m_description;
131
132 int m_latestVersionNumber{0};
133
134 Aws::String m_versionLabel;
135 bool m_applicationIdHasBeenSet = false;
136 bool m_configurationProfileIdHasBeenSet = false;
137 bool m_descriptionHasBeenSet = false;
138 bool m_latestVersionNumberHasBeenSet = false;
139 bool m_versionLabelHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace AppConfig
144} // 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