AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReplicationSetRequest.h
1
6#pragma once
7#include <aws/ssm-incidents/SSMIncidents_EXPORTS.h>
8#include <aws/ssm-incidents/SSMIncidentsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/ssm-incidents/model/RegionMapInputValue.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace SSMIncidents
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SSMINCIDENTS_API CreateReplicationSetRequest();
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 "CreateReplicationSet"; }
34
35 AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
46 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
47 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
48 inline CreateReplicationSetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
49 inline CreateReplicationSetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
50 inline CreateReplicationSetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
52
54
58 inline const Aws::Map<Aws::String, RegionMapInputValue>& GetRegions() const{ return m_regions; }
59 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
60 inline void SetRegions(const Aws::Map<Aws::String, RegionMapInputValue>& value) { m_regionsHasBeenSet = true; m_regions = value; }
61 inline void SetRegions(Aws::Map<Aws::String, RegionMapInputValue>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
64 inline CreateReplicationSetRequest& AddRegions(const Aws::String& key, const RegionMapInputValue& value) { m_regionsHasBeenSet = true; m_regions.emplace(key, value); return *this; }
65 inline CreateReplicationSetRequest& AddRegions(Aws::String&& key, const RegionMapInputValue& value) { m_regionsHasBeenSet = true; m_regions.emplace(std::move(key), value); return *this; }
66 inline CreateReplicationSetRequest& AddRegions(const Aws::String& key, RegionMapInputValue&& value) { m_regionsHasBeenSet = true; m_regions.emplace(key, std::move(value)); return *this; }
67 inline CreateReplicationSetRequest& AddRegions(Aws::String&& key, RegionMapInputValue&& value) { m_regionsHasBeenSet = true; m_regions.emplace(std::move(key), std::move(value)); return *this; }
68 inline CreateReplicationSetRequest& AddRegions(const char* key, RegionMapInputValue&& value) { m_regionsHasBeenSet = true; m_regions.emplace(key, std::move(value)); return *this; }
69 inline CreateReplicationSetRequest& AddRegions(const char* key, const RegionMapInputValue& value) { m_regionsHasBeenSet = true; m_regions.emplace(key, value); return *this; }
71
73
76 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
79 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
81 inline CreateReplicationSetRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
82 inline CreateReplicationSetRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
83 inline CreateReplicationSetRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
84 inline CreateReplicationSetRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
85 inline CreateReplicationSetRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
86 inline CreateReplicationSetRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
87 inline CreateReplicationSetRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
88 inline CreateReplicationSetRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
90 private:
91
92 Aws::String m_clientToken;
93 bool m_clientTokenHasBeenSet = false;
94
96 bool m_regionsHasBeenSet = false;
97
99 bool m_tagsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace SSMIncidents
104} // namespace Aws
CreateReplicationSetRequest & AddTags(Aws::String &&key, const Aws::String &value)
AWS_SSMINCIDENTS_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateReplicationSetRequest & WithRegions(Aws::Map< Aws::String, RegionMapInputValue > &&value)
CreateReplicationSetRequest & WithRegions(const Aws::Map< Aws::String, RegionMapInputValue > &value)
CreateReplicationSetRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateReplicationSetRequest & AddTags(const char *key, Aws::String &&value)
CreateReplicationSetRequest & AddTags(const char *key, const char *value)
CreateReplicationSetRequest & AddRegions(Aws::String &&key, RegionMapInputValue &&value)
void SetRegions(Aws::Map< Aws::String, RegionMapInputValue > &&value)
CreateReplicationSetRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateReplicationSetRequest & WithClientToken(const char *value)
CreateReplicationSetRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, RegionMapInputValue > & GetRegions() const
CreateReplicationSetRequest & AddRegions(Aws::String &&key, const RegionMapInputValue &value)
CreateReplicationSetRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetRegions(const Aws::Map< Aws::String, RegionMapInputValue > &value)
CreateReplicationSetRequest & AddRegions(const char *key, const RegionMapInputValue &value)
CreateReplicationSetRequest & WithClientToken(const Aws::String &value)
CreateReplicationSetRequest & WithClientToken(Aws::String &&value)
CreateReplicationSetRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReplicationSetRequest & AddRegions(const Aws::String &key, const RegionMapInputValue &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReplicationSetRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateReplicationSetRequest & AddRegions(const char *key, RegionMapInputValue &&value)
CreateReplicationSetRequest & AddRegions(const Aws::String &key, RegionMapInputValue &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String