AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutAppReplicationConfigurationRequest.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/ServerGroupReplicationConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SMS
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "PutAppReplicationConfiguration"; }
33
34 AWS_SMS_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetAppId() const{ return m_appId; }
44 inline bool AppIdHasBeenSet() const { return m_appIdHasBeenSet; }
45 inline void SetAppId(const Aws::String& value) { m_appIdHasBeenSet = true; m_appId = value; }
46 inline void SetAppId(Aws::String&& value) { m_appIdHasBeenSet = true; m_appId = std::move(value); }
47 inline void SetAppId(const char* value) { m_appIdHasBeenSet = true; m_appId.assign(value); }
48 inline PutAppReplicationConfigurationRequest& WithAppId(const Aws::String& value) { SetAppId(value); return *this;}
49 inline PutAppReplicationConfigurationRequest& WithAppId(Aws::String&& value) { SetAppId(std::move(value)); return *this;}
50 inline PutAppReplicationConfigurationRequest& WithAppId(const char* value) { SetAppId(value); return *this;}
52
54
58 inline const Aws::Vector<ServerGroupReplicationConfiguration>& GetServerGroupReplicationConfigurations() const{ return m_serverGroupReplicationConfigurations; }
59 inline bool ServerGroupReplicationConfigurationsHasBeenSet() const { return m_serverGroupReplicationConfigurationsHasBeenSet; }
60 inline void SetServerGroupReplicationConfigurations(const Aws::Vector<ServerGroupReplicationConfiguration>& value) { m_serverGroupReplicationConfigurationsHasBeenSet = true; m_serverGroupReplicationConfigurations = value; }
61 inline void SetServerGroupReplicationConfigurations(Aws::Vector<ServerGroupReplicationConfiguration>&& value) { m_serverGroupReplicationConfigurationsHasBeenSet = true; m_serverGroupReplicationConfigurations = std::move(value); }
64 inline PutAppReplicationConfigurationRequest& AddServerGroupReplicationConfigurations(const ServerGroupReplicationConfiguration& value) { m_serverGroupReplicationConfigurationsHasBeenSet = true; m_serverGroupReplicationConfigurations.push_back(value); return *this; }
65 inline PutAppReplicationConfigurationRequest& AddServerGroupReplicationConfigurations(ServerGroupReplicationConfiguration&& value) { m_serverGroupReplicationConfigurationsHasBeenSet = true; m_serverGroupReplicationConfigurations.push_back(std::move(value)); return *this; }
67 private:
68
69 Aws::String m_appId;
70 bool m_appIdHasBeenSet = false;
71
72 Aws::Vector<ServerGroupReplicationConfiguration> m_serverGroupReplicationConfigurations;
73 bool m_serverGroupReplicationConfigurationsHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SMS
78} // namespace Aws
AWS_SMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetServerGroupReplicationConfigurations(const Aws::Vector< ServerGroupReplicationConfiguration > &value)
PutAppReplicationConfigurationRequest & AddServerGroupReplicationConfigurations(ServerGroupReplicationConfiguration &&value)
PutAppReplicationConfigurationRequest & WithServerGroupReplicationConfigurations(Aws::Vector< ServerGroupReplicationConfiguration > &&value)
PutAppReplicationConfigurationRequest & WithServerGroupReplicationConfigurations(const Aws::Vector< ServerGroupReplicationConfiguration > &value)
PutAppReplicationConfigurationRequest & WithAppId(const Aws::String &value)
void SetServerGroupReplicationConfigurations(Aws::Vector< ServerGroupReplicationConfiguration > &&value)
PutAppReplicationConfigurationRequest & WithAppId(const char *value)
AWS_SMS_API Aws::String SerializePayload() const override
const Aws::Vector< ServerGroupReplicationConfiguration > & GetServerGroupReplicationConfigurations() const
PutAppReplicationConfigurationRequest & AddServerGroupReplicationConfigurations(const ServerGroupReplicationConfiguration &value)
PutAppReplicationConfigurationRequest & WithAppId(Aws::String &&value)
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