AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGlobalReplicationGroupRequest.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ElastiCache
15{
16namespace 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 "CreateGlobalReplicationGroup"; }
31
32 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
51 inline const Aws::String& GetGlobalReplicationGroupIdSuffix() const{ return m_globalReplicationGroupIdSuffix; }
52 inline bool GlobalReplicationGroupIdSuffixHasBeenSet() const { return m_globalReplicationGroupIdSuffixHasBeenSet; }
53 inline void SetGlobalReplicationGroupIdSuffix(const Aws::String& value) { m_globalReplicationGroupIdSuffixHasBeenSet = true; m_globalReplicationGroupIdSuffix = value; }
54 inline void SetGlobalReplicationGroupIdSuffix(Aws::String&& value) { m_globalReplicationGroupIdSuffixHasBeenSet = true; m_globalReplicationGroupIdSuffix = std::move(value); }
55 inline void SetGlobalReplicationGroupIdSuffix(const char* value) { m_globalReplicationGroupIdSuffixHasBeenSet = true; m_globalReplicationGroupIdSuffix.assign(value); }
60
62
65 inline const Aws::String& GetGlobalReplicationGroupDescription() const{ return m_globalReplicationGroupDescription; }
66 inline bool GlobalReplicationGroupDescriptionHasBeenSet() const { return m_globalReplicationGroupDescriptionHasBeenSet; }
67 inline void SetGlobalReplicationGroupDescription(const Aws::String& value) { m_globalReplicationGroupDescriptionHasBeenSet = true; m_globalReplicationGroupDescription = value; }
68 inline void SetGlobalReplicationGroupDescription(Aws::String&& value) { m_globalReplicationGroupDescriptionHasBeenSet = true; m_globalReplicationGroupDescription = std::move(value); }
69 inline void SetGlobalReplicationGroupDescription(const char* value) { m_globalReplicationGroupDescriptionHasBeenSet = true; m_globalReplicationGroupDescription.assign(value); }
74
76
80 inline const Aws::String& GetPrimaryReplicationGroupId() const{ return m_primaryReplicationGroupId; }
81 inline bool PrimaryReplicationGroupIdHasBeenSet() const { return m_primaryReplicationGroupIdHasBeenSet; }
82 inline void SetPrimaryReplicationGroupId(const Aws::String& value) { m_primaryReplicationGroupIdHasBeenSet = true; m_primaryReplicationGroupId = value; }
83 inline void SetPrimaryReplicationGroupId(Aws::String&& value) { m_primaryReplicationGroupIdHasBeenSet = true; m_primaryReplicationGroupId = std::move(value); }
84 inline void SetPrimaryReplicationGroupId(const char* value) { m_primaryReplicationGroupIdHasBeenSet = true; m_primaryReplicationGroupId.assign(value); }
89 private:
90
91 Aws::String m_globalReplicationGroupIdSuffix;
92 bool m_globalReplicationGroupIdSuffixHasBeenSet = false;
93
94 Aws::String m_globalReplicationGroupDescription;
95 bool m_globalReplicationGroupDescriptionHasBeenSet = false;
96
97 Aws::String m_primaryReplicationGroupId;
98 bool m_primaryReplicationGroupIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace ElastiCache
103} // namespace Aws
CreateGlobalReplicationGroupRequest & WithGlobalReplicationGroupIdSuffix(Aws::String &&value)
CreateGlobalReplicationGroupRequest & WithGlobalReplicationGroupDescription(const char *value)
CreateGlobalReplicationGroupRequest & WithPrimaryReplicationGroupId(Aws::String &&value)
CreateGlobalReplicationGroupRequest & WithGlobalReplicationGroupIdSuffix(const Aws::String &value)
CreateGlobalReplicationGroupRequest & WithPrimaryReplicationGroupId(const Aws::String &value)
CreateGlobalReplicationGroupRequest & WithGlobalReplicationGroupIdSuffix(const char *value)
CreateGlobalReplicationGroupRequest & WithGlobalReplicationGroupDescription(const Aws::String &value)
CreateGlobalReplicationGroupRequest & WithPrimaryReplicationGroupId(const char *value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateGlobalReplicationGroupRequest & WithGlobalReplicationGroupDescription(Aws::String &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String