AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
43 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
44 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
47 inline CreateHostedConfigurationVersionRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
49
51
54 inline const Aws::String& GetConfigurationProfileId() const{ return m_configurationProfileId; }
55 inline bool ConfigurationProfileIdHasBeenSet() const { return m_configurationProfileIdHasBeenSet; }
56 inline void SetConfigurationProfileId(const Aws::String& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = value; }
57 inline void SetConfigurationProfileId(Aws::String&& value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId = std::move(value); }
58 inline void SetConfigurationProfileId(const char* value) { m_configurationProfileIdHasBeenSet = true; m_configurationProfileId.assign(value); }
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline CreateHostedConfigurationVersionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline CreateHostedConfigurationVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
86 inline int GetLatestVersionNumber() const{ return m_latestVersionNumber; }
87 inline bool LatestVersionNumberHasBeenSet() const { return m_latestVersionNumberHasBeenSet; }
88 inline void SetLatestVersionNumber(int value) { m_latestVersionNumberHasBeenSet = true; m_latestVersionNumber = value; }
91
93
98 inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
99 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
100 inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
101 inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
102 inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
104 inline CreateHostedConfigurationVersionRequest& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
105 inline CreateHostedConfigurationVersionRequest& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
107 private:
108
109 Aws::String m_applicationId;
110 bool m_applicationIdHasBeenSet = false;
111
112 Aws::String m_configurationProfileId;
113 bool m_configurationProfileIdHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118
119 int m_latestVersionNumber;
120 bool m_latestVersionNumberHasBeenSet = false;
121
122 Aws::String m_versionLabel;
123 bool m_versionLabelHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace AppConfig
128} // namespace Aws
CreateHostedConfigurationVersionRequest & WithApplicationId(const char *value)
CreateHostedConfigurationVersionRequest & WithConfigurationProfileId(Aws::String &&value)
CreateHostedConfigurationVersionRequest & WithVersionLabel(const Aws::String &value)
AWS_APPCONFIG_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateHostedConfigurationVersionRequest & WithConfigurationProfileId(const Aws::String &value)
CreateHostedConfigurationVersionRequest & WithConfigurationProfileId(const char *value)
CreateHostedConfigurationVersionRequest & WithDescription(Aws::String &&value)
CreateHostedConfigurationVersionRequest & WithVersionLabel(const char *value)
CreateHostedConfigurationVersionRequest & WithApplicationId(Aws::String &&value)
CreateHostedConfigurationVersionRequest & WithApplicationId(const Aws::String &value)
CreateHostedConfigurationVersionRequest & WithDescription(const char *value)
CreateHostedConfigurationVersionRequest & WithVersionLabel(Aws::String &&value)
CreateHostedConfigurationVersionRequest & WithDescription(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String