AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateHostedConfigurationVersionRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/AppConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppConfig
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_APPCONFIG_API CreateHostedConfigurationVersionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateHostedConfigurationVersion"; }
32
34
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) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
44 template<typename ApplicationIdT = Aws::String>
45 CreateHostedConfigurationVersionRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
47
49
52 inline const Aws::String& GetConfigurationProfileId() const { return m_configurationProfileId; }
53 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
54 template<typename ConfigurationProfileIdT = Aws::String>
55 void SetConfigurationProfileId(ConfigurationProfileIdT&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value); }
56 template<typename ConfigurationProfileIdT = Aws::String>
57 CreateHostedConfigurationVersionRequest& WithConfigurationProfileId(ConfigurationProfileIdT&& value) { SetConfigurationProfileId(std::forward<ConfigurationProfileIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 template<typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
68 template<typename DescriptionT = Aws::String>
69 CreateHostedConfigurationVersionRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
80 inline int GetLatestVersionNumber() const { return m_latestVersionNumber; }
81 inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
82 inline void SetLatestVersionNumber(int value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; }
85
87
92 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
93 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
94 template<typename VersionLabelT = Aws::String>
95 void SetVersionLabel(VersionLabelT&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::forward<VersionLabelT>(value); }
96 template<typename VersionLabelT = Aws::String>
97 CreateHostedConfigurationVersionRequest& WithVersionLabel(VersionLabelT&& value) { SetVersionLabel(std::forward<VersionLabelT>(value)); return *this;}
99 private:
100
101 Aws::String m_applicationId;
102 bool m_applicationIdHasBeenSet = false;
103
104 Aws::String m_configurationProfileId;
105 bool m_configurationProfileIdHasBeenSet = false;
106
107 Aws::String m_description;
108 bool m_descriptionHasBeenSet = false;
109
110
111 int m_latestVersionNumber{0};
112 bool m_latestVersionNumberHasBeenSet = false;
113
114 Aws::String m_versionLabel;
115 bool m_versionLabelHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace AppConfig
120} // 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