AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutAppValidationConfigurationRequest.h
1
6#pragma once
7#include <aws/sms/SMS_EXPORTS.h>
8#include <aws/sms/SMSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sms/model/AppValidationConfiguration.h>
12#include <aws/sms/model/ServerGroupValidationConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SMS
18{
19namespace 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_SMS_API Aws::String SerializePayload() const override;
36
38
39
41
44 inline const Aws::String& GetAppId() const{ return m_appId; }
45 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
46 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
47 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
48 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
49 inline PutAppValidationConfigurationRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
50 inline PutAppValidationConfigurationRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
51 inline PutAppValidationConfigurationRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
53
55
58 inline const Aws::Vector<AppValidationConfiguration>& GetAppValidationConfigurations() const{ return m_appValidationConfigurations; }
59 inline bool AppValidationConfigurationsHasBeenSet() const { return m_appValidationConfigurationsHasBeenSet; }
60 inline void SetAppValidationConfigurations(const Aws::Vector<AppValidationConfiguration>& value) { m_appValidationConfigurationsHasBeenSet = true; m_appValidationConfigurations = value; }
61 inline void SetAppValidationConfigurations(Aws::Vector<AppValidationConfiguration>&& value) { m_appValidationConfigurationsHasBeenSet = true; m_appValidationConfigurations = std::move(value); }
64 inline PutAppValidationConfigurationRequest& AddAppValidationConfigurations(const AppValidationConfiguration& value) { m_appValidationConfigurationsHasBeenSet = true; m_appValidationConfigurations.push_back(value); return *this; }
65 inline PutAppValidationConfigurationRequest& AddAppValidationConfigurations(AppValidationConfiguration&& value) { m_appValidationConfigurationsHasBeenSet = true; m_appValidationConfigurations.push_back(std::move(value)); return *this; }
67
69
72 inline const Aws::Vector<ServerGroupValidationConfiguration>& GetServerGroupValidationConfigurations() const{ return m_serverGroupValidationConfigurations; }
73 inline bool ServerGroupValidationConfigurationsHasBeenSet() const { return m_serverGroupValidationConfigurationsHasBeenSet; }
74 inline void SetServerGroupValidationConfigurations(const Aws::Vector<ServerGroupValidationConfiguration>& value) { m_serverGroupValidationConfigurationsHasBeenSet = true; m_serverGroupValidationConfigurations = value; }
75 inline void SetServerGroupValidationConfigurations(Aws::Vector<ServerGroupValidationConfiguration>&& value) { m_serverGroupValidationConfigurationsHasBeenSet = true; m_serverGroupValidationConfigurations = std::move(value); }
78 inline PutAppValidationConfigurationRequest& AddServerGroupValidationConfigurations(const ServerGroupValidationConfiguration& value) { m_serverGroupValidationConfigurationsHasBeenSet = true; m_serverGroupValidationConfigurations.push_back(value); return *this; }
79 inline PutAppValidationConfigurationRequest& AddServerGroupValidationConfigurations(ServerGroupValidationConfiguration&& value) { m_serverGroupValidationConfigurationsHasBeenSet = true; m_serverGroupValidationConfigurations.push_back(std::move(value)); return *this; }
81 private:
82
83 Aws::String m_appId;
84 bool m_appIdHasBeenSet = false;
85
86 Aws::Vector<AppValidationConfiguration> m_appValidationConfigurations;
87 bool m_appValidationConfigurationsHasBeenSet = false;
88
89 Aws::Vector<ServerGroupValidationConfiguration> m_serverGroupValidationConfigurations;
90 bool m_serverGroupValidationConfigurationsHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SMS
95} // namespace Aws
PutAppValidationConfigurationRequest & AddServerGroupValidationConfigurations(ServerGroupValidationConfiguration &&value)
void SetAppValidationConfigurations(Aws::Vector< AppValidationConfiguration > &&value)
PutAppValidationConfigurationRequest & WithAppValidationConfigurations(Aws::Vector< AppValidationConfiguration > &&value)
const Aws::Vector< AppValidationConfiguration > & GetAppValidationConfigurations() const
const Aws::Vector< ServerGroupValidationConfiguration > & GetServerGroupValidationConfigurations() const
PutAppValidationConfigurationRequest & WithServerGroupValidationConfigurations(Aws::Vector< ServerGroupValidationConfiguration > &&value)
PutAppValidationConfigurationRequest & AddAppValidationConfigurations(const AppValidationConfiguration &value)
void SetServerGroupValidationConfigurations(Aws::Vector< ServerGroupValidationConfiguration > &&value)
PutAppValidationConfigurationRequest & AddServerGroupValidationConfigurations(const ServerGroupValidationConfiguration &value)
PutAppValidationConfigurationRequest & WithAppId(const Aws::String &value)
AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
PutAppValidationConfigurationRequest & AddAppValidationConfigurations(AppValidationConfiguration &&value)
PutAppValidationConfigurationRequest & WithAppValidationConfigurations(const Aws::Vector< AppValidationConfiguration > &value)
PutAppValidationConfigurationRequest & WithServerGroupValidationConfigurations(const Aws::Vector< ServerGroupValidationConfiguration > &value)
void SetServerGroupValidationConfigurations(const Aws::Vector< ServerGroupValidationConfiguration > &value)
void SetAppValidationConfigurations(const Aws::Vector< AppValidationConfiguration > &value)
PutAppValidationConfigurationRequest & WithAppId(const char *value)
PutAppValidationConfigurationRequest & WithAppId(Aws::String &&value)
AWS_SMS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector