AWS SDK for C++  1.9.131
AWS SDK for C++
UpdateApplicationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ApplicationDiscoveryService
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateApplication"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetConfigurationId() const{ return m_configurationId; }
41 
45  inline bool ConfigurationIdHasBeenSet() const { return m_configurationIdHasBeenSet; }
46 
50  inline void SetConfigurationId(const Aws::String& value) { m_configurationIdHasBeenSet = true; m_configurationId = value; }
51 
55  inline void SetConfigurationId(Aws::String&& value) { m_configurationIdHasBeenSet = true; m_configurationId = std::move(value); }
56 
60  inline void SetConfigurationId(const char* value) { m_configurationIdHasBeenSet = true; m_configurationId.assign(value); }
61 
65  inline UpdateApplicationRequest& WithConfigurationId(const Aws::String& value) { SetConfigurationId(value); return *this;}
66 
70  inline UpdateApplicationRequest& WithConfigurationId(Aws::String&& value) { SetConfigurationId(std::move(value)); return *this;}
71 
75  inline UpdateApplicationRequest& WithConfigurationId(const char* value) { SetConfigurationId(value); return *this;}
76 
77 
81  inline const Aws::String& GetName() const{ return m_name; }
82 
86  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 
91  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 
96  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
97 
101  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
102 
106  inline UpdateApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
107 
111  inline UpdateApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 
116  inline UpdateApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
117 
118 
122  inline const Aws::String& GetDescription() const{ return m_description; }
123 
127  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
128 
132  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
133 
137  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
138 
142  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
143 
147  inline UpdateApplicationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
148 
152  inline UpdateApplicationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 
157  inline UpdateApplicationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
158 
159  private:
160 
161  Aws::String m_configurationId;
162  bool m_configurationIdHasBeenSet;
163 
164  Aws::String m_name;
165  bool m_nameHasBeenSet;
166 
167  Aws::String m_description;
168  bool m_descriptionHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace ApplicationDiscoveryService
173 } // namespace Aws
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateApplicationRequest.h:30
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateApplicationRequest.h:127
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::UpdateApplicationRequest
UpdateApplicationRequest()
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateApplicationRequest.h:137
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest
Definition: UpdateApplicationRequest.h:22
ApplicationDiscoveryService_EXPORTS.h
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::SetConfigurationId
void SetConfigurationId(const Aws::String &value)
Definition: UpdateApplicationRequest.h:50
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateApplicationRequest.h:122
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::WithName
UpdateApplicationRequest & WithName(const char *value)
Definition: UpdateApplicationRequest.h:116
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::WithConfigurationId
UpdateApplicationRequest & WithConfigurationId(const Aws::String &value)
Definition: UpdateApplicationRequest.h:65
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::SetConfigurationId
void SetConfigurationId(Aws::String &&value)
Definition: UpdateApplicationRequest.h:55
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::ConfigurationIdHasBeenSet
bool ConfigurationIdHasBeenSet() const
Definition: UpdateApplicationRequest.h:45
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateApplicationRequest.h:96
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::WithConfigurationId
UpdateApplicationRequest & WithConfigurationId(const char *value)
Definition: UpdateApplicationRequest.h:75
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(const char *value)
Definition: UpdateApplicationRequest.h:157
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateApplicationRequest.h:132
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateApplicationRequest.h:91
AWSString.h
ApplicationDiscoveryServiceRequest.h
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::WithConfigurationId
UpdateApplicationRequest & WithConfigurationId(Aws::String &&value)
Definition: UpdateApplicationRequest.h:70
Aws::ApplicationDiscoveryService::ApplicationDiscoveryServiceRequest
Definition: ApplicationDiscoveryServiceRequest.h:17
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::GetName
const Aws::String & GetName() const
Definition: UpdateApplicationRequest.h:81
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::WithName
UpdateApplicationRequest & WithName(Aws::String &&value)
Definition: UpdateApplicationRequest.h:111
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(const Aws::String &value)
Definition: UpdateApplicationRequest.h:147
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::SetName
void SetName(const char *value)
Definition: UpdateApplicationRequest.h:101
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::WithName
UpdateApplicationRequest & WithName(const Aws::String &value)
Definition: UpdateApplicationRequest.h:106
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateApplicationRequest.h:86
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::WithDescription
UpdateApplicationRequest & WithDescription(Aws::String &&value)
Definition: UpdateApplicationRequest.h:152
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::SetConfigurationId
void SetConfigurationId(const char *value)
Definition: UpdateApplicationRequest.h:60
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateApplicationRequest.h:142
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationDiscoveryService::Model::UpdateApplicationRequest::GetConfigurationId
const Aws::String & GetConfigurationId() const
Definition: UpdateApplicationRequest.h:40
AWS_APPLICATIONDISCOVERYSERVICE_API
#define AWS_APPLICATIONDISCOVERYSERVICE_API
Definition: ApplicationDiscoveryService_EXPORTS.h:28