AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateControlPanelRequest.h
1
6#pragma once
7#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
8#include <aws/route53-recovery-control-config/Route53RecoveryControlConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Route53RecoveryControlConfig
17{
18namespace Model
19{
20
28 {
29 public:
30 AWS_ROUTE53RECOVERYCONTROLCONFIG_API CreateControlPanelRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateControlPanel"; }
37
38 AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override;
39
40
42
47 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
48 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
49 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
50 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
51 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
52 inline CreateControlPanelRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
53 inline CreateControlPanelRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
54 inline CreateControlPanelRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
56
58
61 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
62 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
63 inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
64 inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
65 inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
66 inline CreateControlPanelRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
67 inline CreateControlPanelRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
68 inline CreateControlPanelRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
70
72
75 inline const Aws::String& GetControlPanelName() const{ return m_controlPanelName; }
76 inline bool ControlPanelNameHasBeenSet() const { return m_controlPanelNameHasBeenSet; }
77 inline void SetControlPanelName(const Aws::String& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = value; }
78 inline void SetControlPanelName(Aws::String&& value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName = std::move(value); }
79 inline void SetControlPanelName(const char* value) { m_controlPanelNameHasBeenSet = true; m_controlPanelName.assign(value); }
81 inline CreateControlPanelRequest& WithControlPanelName(Aws::String&& value) { SetControlPanelName(std::move(value)); return *this;}
82 inline CreateControlPanelRequest& WithControlPanelName(const char* value) { SetControlPanelName(value); return *this;}
84
86
89 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
90 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
91 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
92 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
94 inline CreateControlPanelRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
95 inline CreateControlPanelRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
96 inline CreateControlPanelRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
97 inline CreateControlPanelRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
98 inline CreateControlPanelRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
99 inline CreateControlPanelRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
100 inline CreateControlPanelRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
101 inline CreateControlPanelRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
103 private:
104
105 Aws::String m_clientToken;
106 bool m_clientTokenHasBeenSet = false;
107
108 Aws::String m_clusterArn;
109 bool m_clusterArnHasBeenSet = false;
110
111 Aws::String m_controlPanelName;
112 bool m_controlPanelNameHasBeenSet = false;
113
115 bool m_tagsHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Route53RecoveryControlConfig
120} // namespace Aws
CreateControlPanelRequest & WithControlPanelName(const Aws::String &value)
CreateControlPanelRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateControlPanelRequest & AddTags(const char *key, const char *value)
CreateControlPanelRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateControlPanelRequest & WithControlPanelName(Aws::String &&value)
CreateControlPanelRequest & WithClusterArn(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API CreateControlPanelRequest()
CreateControlPanelRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateControlPanelRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateControlPanelRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateControlPanelRequest & AddTags(const char *key, Aws::String &&value)
CreateControlPanelRequest & AddTags(const Aws::String &key, const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override
CreateControlPanelRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateControlPanelRequest & WithClientToken(const Aws::String &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