AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoveRegionsFromReplicationRequest.h
1
6#pragma once
7#include <aws/secretsmanager/SecretsManager_EXPORTS.h>
8#include <aws/secretsmanager/SecretsManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SecretsManager
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SECRETSMANAGER_API RemoveRegionsFromReplicationRequest();
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 "RemoveRegionsFromReplication"; }
32
33 AWS_SECRETSMANAGER_API Aws::String SerializePayload() const override;
34
35 AWS_SECRETSMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetSecretId() const{ return m_secretId; }
43 inline bool SecretIdHasBeenSet() const { return m_secretIdHasBeenSet; }
44 inline void SetSecretId(const Aws::String& value) { m_secretIdHasBeenSet = true; m_secretId = value; }
45 inline void SetSecretId(Aws::String&& value) { m_secretIdHasBeenSet = true; m_secretId = std::move(value); }
46 inline void SetSecretId(const char* value) { m_secretIdHasBeenSet = true; m_secretId.assign(value); }
47 inline RemoveRegionsFromReplicationRequest& WithSecretId(const Aws::String& value) { SetSecretId(value); return *this;}
48 inline RemoveRegionsFromReplicationRequest& WithSecretId(Aws::String&& value) { SetSecretId(std::move(value)); return *this;}
49 inline RemoveRegionsFromReplicationRequest& WithSecretId(const char* value) { SetSecretId(value); return *this;}
51
53
56 inline const Aws::Vector<Aws::String>& GetRemoveReplicaRegions() const{ return m_removeReplicaRegions; }
57 inline bool RemoveReplicaRegionsHasBeenSet() const { return m_removeReplicaRegionsHasBeenSet; }
58 inline void SetRemoveReplicaRegions(const Aws::Vector<Aws::String>& value) { m_removeReplicaRegionsHasBeenSet = true; m_removeReplicaRegions = value; }
59 inline void SetRemoveReplicaRegions(Aws::Vector<Aws::String>&& value) { m_removeReplicaRegionsHasBeenSet = true; m_removeReplicaRegions = std::move(value); }
62 inline RemoveRegionsFromReplicationRequest& AddRemoveReplicaRegions(const Aws::String& value) { m_removeReplicaRegionsHasBeenSet = true; m_removeReplicaRegions.push_back(value); return *this; }
63 inline RemoveRegionsFromReplicationRequest& AddRemoveReplicaRegions(Aws::String&& value) { m_removeReplicaRegionsHasBeenSet = true; m_removeReplicaRegions.push_back(std::move(value)); return *this; }
64 inline RemoveRegionsFromReplicationRequest& AddRemoveReplicaRegions(const char* value) { m_removeReplicaRegionsHasBeenSet = true; m_removeReplicaRegions.push_back(value); return *this; }
66 private:
67
68 Aws::String m_secretId;
69 bool m_secretIdHasBeenSet = false;
70
71 Aws::Vector<Aws::String> m_removeReplicaRegions;
72 bool m_removeReplicaRegionsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SecretsManager
77} // namespace Aws
RemoveRegionsFromReplicationRequest & AddRemoveReplicaRegions(Aws::String &&value)
RemoveRegionsFromReplicationRequest & WithSecretId(const char *value)
RemoveRegionsFromReplicationRequest & AddRemoveReplicaRegions(const char *value)
RemoveRegionsFromReplicationRequest & AddRemoveReplicaRegions(const Aws::String &value)
RemoveRegionsFromReplicationRequest & WithRemoveReplicaRegions(Aws::Vector< Aws::String > &&value)
AWS_SECRETSMANAGER_API Aws::String SerializePayload() const override
AWS_SECRETSMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RemoveRegionsFromReplicationRequest & WithRemoveReplicaRegions(const Aws::Vector< Aws::String > &value)
RemoveRegionsFromReplicationRequest & WithSecretId(Aws::String &&value)
RemoveRegionsFromReplicationRequest & WithSecretId(const 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