AWS SDK for C++  1.9.109
AWS SDK for C++
PutAppValidationConfigurationRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sms/SMS_EXPORTS.h>
8 #include <aws/sms/SMSRequest.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SMS
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "PutAppValidationConfiguration"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetAppId() const{ return m_appId; }
44 
48  inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
49 
53  inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
54 
58  inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
59 
63  inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
64 
68  inline PutAppValidationConfigurationRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
69 
73  inline PutAppValidationConfigurationRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
74 
78  inline PutAppValidationConfigurationRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
79 
80 
84  inline const Aws::Vector<AppValidationConfiguration>& GetAppValidationConfigurations() const{ return m_appValidationConfigurations; }
85 
89  inline bool AppValidationConfigurationsHasBeenSet() const { return m_appValidationConfigurationsHasBeenSet; }
90 
94  inline void SetAppValidationConfigurations(const Aws::Vector<AppValidationConfiguration>& value) { m_appValidationConfigurationsHasBeenSet = true; m_appValidationConfigurations = value; }
95 
99  inline void SetAppValidationConfigurations(Aws::Vector<AppValidationConfiguration>&& value) { m_appValidationConfigurationsHasBeenSet = true; m_appValidationConfigurations = std::move(value); }
100 
104  inline PutAppValidationConfigurationRequest& WithAppValidationConfigurations(const Aws::Vector<AppValidationConfiguration>& value) { SetAppValidationConfigurations(value); return *this;}
105 
109  inline PutAppValidationConfigurationRequest& WithAppValidationConfigurations(Aws::Vector<AppValidationConfiguration>&& value) { SetAppValidationConfigurations(std::move(value)); return *this;}
110 
114  inline PutAppValidationConfigurationRequest& AddAppValidationConfigurations(const AppValidationConfiguration& value) { m_appValidationConfigurationsHasBeenSet = true; m_appValidationConfigurations.push_back(value); return *this; }
115 
119  inline PutAppValidationConfigurationRequest& AddAppValidationConfigurations(AppValidationConfiguration&& value) { m_appValidationConfigurationsHasBeenSet = true; m_appValidationConfigurations.push_back(std::move(value)); return *this; }
120 
121 
125  inline const Aws::Vector<ServerGroupValidationConfiguration>& GetServerGroupValidationConfigurations() const{ return m_serverGroupValidationConfigurations; }
126 
130  inline bool ServerGroupValidationConfigurationsHasBeenSet() const { return m_serverGroupValidationConfigurationsHasBeenSet; }
131 
135  inline void SetServerGroupValidationConfigurations(const Aws::Vector<ServerGroupValidationConfiguration>& value) { m_serverGroupValidationConfigurationsHasBeenSet = true; m_serverGroupValidationConfigurations = value; }
136 
140  inline void SetServerGroupValidationConfigurations(Aws::Vector<ServerGroupValidationConfiguration>&& value) { m_serverGroupValidationConfigurationsHasBeenSet = true; m_serverGroupValidationConfigurations = std::move(value); }
141 
145  inline PutAppValidationConfigurationRequest& WithServerGroupValidationConfigurations(const Aws::Vector<ServerGroupValidationConfiguration>& value) { SetServerGroupValidationConfigurations(value); return *this;}
146 
150  inline PutAppValidationConfigurationRequest& WithServerGroupValidationConfigurations(Aws::Vector<ServerGroupValidationConfiguration>&& value) { SetServerGroupValidationConfigurations(std::move(value)); return *this;}
151 
155  inline PutAppValidationConfigurationRequest& AddServerGroupValidationConfigurations(const ServerGroupValidationConfiguration& value) { m_serverGroupValidationConfigurationsHasBeenSet = true; m_serverGroupValidationConfigurations.push_back(value); return *this; }
156 
160  inline PutAppValidationConfigurationRequest& AddServerGroupValidationConfigurations(ServerGroupValidationConfiguration&& value) { m_serverGroupValidationConfigurationsHasBeenSet = true; m_serverGroupValidationConfigurations.push_back(std::move(value)); return *this; }
161 
162  private:
163 
164  Aws::String m_appId;
165  bool m_appIdHasBeenSet;
166 
167  Aws::Vector<AppValidationConfiguration> m_appValidationConfigurations;
168  bool m_appValidationConfigurationsHasBeenSet;
169 
170  Aws::Vector<ServerGroupValidationConfiguration> m_serverGroupValidationConfigurations;
171  bool m_serverGroupValidationConfigurationsHasBeenSet;
172  };
173 
174 } // namespace Model
175 } // namespace SMS
176 } // namespace Aws
Aws::SMS::Model::PutAppValidationConfigurationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutAppValidationConfigurationRequest.h:33
Aws::SMS::Model::PutAppValidationConfigurationRequest::AppValidationConfigurationsHasBeenSet
bool AppValidationConfigurationsHasBeenSet() const
Definition: PutAppValidationConfigurationRequest.h:89
Aws::SMS::Model::PutAppValidationConfigurationRequest::AddServerGroupValidationConfigurations
PutAppValidationConfigurationRequest & AddServerGroupValidationConfigurations(ServerGroupValidationConfiguration &&value)
Definition: PutAppValidationConfigurationRequest.h:160
Aws::SMS::Model::PutAppValidationConfigurationRequest::WithAppId
PutAppValidationConfigurationRequest & WithAppId(const Aws::String &value)
Definition: PutAppValidationConfigurationRequest.h:68
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
SMSRequest.h
Aws::SMS::Model::PutAppValidationConfigurationRequest::GetAppValidationConfigurations
const Aws::Vector< AppValidationConfiguration > & GetAppValidationConfigurations() const
Definition: PutAppValidationConfigurationRequest.h:84
Aws::SMS::Model::PutAppValidationConfigurationRequest::SetAppValidationConfigurations
void SetAppValidationConfigurations(Aws::Vector< AppValidationConfiguration > &&value)
Definition: PutAppValidationConfigurationRequest.h:99
Aws::SMS::Model::PutAppValidationConfigurationRequest::ServerGroupValidationConfigurationsHasBeenSet
bool ServerGroupValidationConfigurationsHasBeenSet() const
Definition: PutAppValidationConfigurationRequest.h:130
Aws::SMS::Model::PutAppValidationConfigurationRequest::AddServerGroupValidationConfigurations
PutAppValidationConfigurationRequest & AddServerGroupValidationConfigurations(const ServerGroupValidationConfiguration &value)
Definition: PutAppValidationConfigurationRequest.h:155
Aws::SMS::Model::PutAppValidationConfigurationRequest::AddAppValidationConfigurations
PutAppValidationConfigurationRequest & AddAppValidationConfigurations(const AppValidationConfiguration &value)
Definition: PutAppValidationConfigurationRequest.h:114
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
ServerGroupValidationConfiguration.h
Aws::SMS::Model::PutAppValidationConfigurationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SMS::Model::PutAppValidationConfigurationRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SMS::Model::PutAppValidationConfigurationRequest::AddAppValidationConfigurations
PutAppValidationConfigurationRequest & AddAppValidationConfigurations(AppValidationConfiguration &&value)
Definition: PutAppValidationConfigurationRequest.h:119
AWSVector.h
Aws::SMS::Model::PutAppValidationConfigurationRequest::WithServerGroupValidationConfigurations
PutAppValidationConfigurationRequest & WithServerGroupValidationConfigurations(Aws::Vector< ServerGroupValidationConfiguration > &&value)
Definition: PutAppValidationConfigurationRequest.h:150
Aws::SMS::Model::PutAppValidationConfigurationRequest::WithAppValidationConfigurations
PutAppValidationConfigurationRequest & WithAppValidationConfigurations(const Aws::Vector< AppValidationConfiguration > &value)
Definition: PutAppValidationConfigurationRequest.h:104
SMS_EXPORTS.h
Aws::SMS::Model::PutAppValidationConfigurationRequest::WithServerGroupValidationConfigurations
PutAppValidationConfigurationRequest & WithServerGroupValidationConfigurations(const Aws::Vector< ServerGroupValidationConfiguration > &value)
Definition: PutAppValidationConfigurationRequest.h:145
AppValidationConfiguration.h
Aws::SMS::Model::PutAppValidationConfigurationRequest::GetServerGroupValidationConfigurations
const Aws::Vector< ServerGroupValidationConfiguration > & GetServerGroupValidationConfigurations() const
Definition: PutAppValidationConfigurationRequest.h:125
Aws::SMS::SMSRequest
Definition: SMSRequest.h:17
Aws::SMS::Model::PutAppValidationConfigurationRequest::AppIdHasBeenSet
bool AppIdHasBeenSet() const
Definition: PutAppValidationConfigurationRequest.h:48
Aws::SMS::Model::PutAppValidationConfigurationRequest::WithAppValidationConfigurations
PutAppValidationConfigurationRequest & WithAppValidationConfigurations(Aws::Vector< AppValidationConfiguration > &&value)
Definition: PutAppValidationConfigurationRequest.h:109
Aws::AmplifyBackend::Model::DeliveryMethod::NOT_SET
@ NOT_SET
Aws::SMS::Model::PutAppValidationConfigurationRequest::SetAppValidationConfigurations
void SetAppValidationConfigurations(const Aws::Vector< AppValidationConfiguration > &value)
Definition: PutAppValidationConfigurationRequest.h:94
AWSString.h
Aws::SMS::Model::PutAppValidationConfigurationRequest::SetServerGroupValidationConfigurations
void SetServerGroupValidationConfigurations(Aws::Vector< ServerGroupValidationConfiguration > &&value)
Definition: PutAppValidationConfigurationRequest.h:140
Aws::SMS::Model::PutAppValidationConfigurationRequest
Definition: PutAppValidationConfigurationRequest.h:25
Aws::SMS::Model::PutAppValidationConfigurationRequest::SetAppId
void SetAppId(const char *value)
Definition: PutAppValidationConfigurationRequest.h:63
Aws::SMS::Model::PutAppValidationConfigurationRequest::WithAppId
PutAppValidationConfigurationRequest & WithAppId(Aws::String &&value)
Definition: PutAppValidationConfigurationRequest.h:73
Aws::SMS::Model::PutAppValidationConfigurationRequest::WithAppId
PutAppValidationConfigurationRequest & WithAppId(const char *value)
Definition: PutAppValidationConfigurationRequest.h:78
Aws
Definition: AccessManagementClient.h:15
Aws::SMS::Model::PutAppValidationConfigurationRequest::SetAppId
void SetAppId(Aws::String &&value)
Definition: PutAppValidationConfigurationRequest.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SMS::Model::PutAppValidationConfigurationRequest::SetAppId
void SetAppId(const Aws::String &value)
Definition: PutAppValidationConfigurationRequest.h:53
Aws::SMS::Model::PutAppValidationConfigurationRequest::SetServerGroupValidationConfigurations
void SetServerGroupValidationConfigurations(const Aws::Vector< ServerGroupValidationConfiguration > &value)
Definition: PutAppValidationConfigurationRequest.h:135
Aws::SMS::Model::PutAppValidationConfigurationRequest::PutAppValidationConfigurationRequest
PutAppValidationConfigurationRequest()
AWS_SMS_API
#define AWS_SMS_API
Definition: SMS_EXPORTS.h:28
Aws::SMS::Model::PutAppValidationConfigurationRequest::GetAppId
const Aws::String & GetAppId() const
Definition: PutAppValidationConfigurationRequest.h:43
Aws::SMS::Model::AppValidationConfiguration
Definition: AppValidationConfiguration.h:34
Aws::SMS::Model::ServerGroupValidationConfiguration
Definition: ServerGroupValidationConfiguration.h:34