AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateExtensionAssociationRequest.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/AppConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace AppConfig
16{
17namespace Model
18{
19
23 {
24 public:
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 "CreateExtensionAssociation"; }
32
33 AWS_APPCONFIG_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetExtensionIdentifier() const{ return m_extensionIdentifier; }
41 inline bool ExtensionIdentifierHasBeenSet() const { return m_extensionIdentifierHasBeenSet; }
42 inline void SetExtensionIdentifier(const Aws::String& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = value; }
43 inline void SetExtensionIdentifier(Aws::String&& value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier = std::move(value); }
44 inline void SetExtensionIdentifier(const char* value) { m_extensionIdentifierHasBeenSet = true; m_extensionIdentifier.assign(value); }
47 inline CreateExtensionAssociationRequest& WithExtensionIdentifier(const char* value) { SetExtensionIdentifier(value); return *this;}
49
51
55 inline int GetExtensionVersionNumber() const{ return m_extensionVersionNumber; }
56 inline bool ExtensionVersionNumberHasBeenSet() const { return m_extensionVersionNumberHasBeenSet; }
57 inline void SetExtensionVersionNumber(int value) { m_extensionVersionNumberHasBeenSet = true; m_extensionVersionNumber = value; }
60
62
65 inline const Aws::String& GetResourceIdentifier() const{ return m_resourceIdentifier; }
66 inline bool ResourceIdentifierHasBeenSet() const { return m_resourceIdentifierHasBeenSet; }
67 inline void SetResourceIdentifier(const Aws::String& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = value; }
68 inline void SetResourceIdentifier(Aws::String&& value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier = std::move(value); }
69 inline void SetResourceIdentifier(const char* value) { m_resourceIdentifierHasBeenSet = true; m_resourceIdentifier.assign(value); }
72 inline CreateExtensionAssociationRequest& WithResourceIdentifier(const char* value) { SetResourceIdentifier(value); return *this;}
74
76
80 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
81 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
82 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
83 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
86 inline CreateExtensionAssociationRequest& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
87 inline CreateExtensionAssociationRequest& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
88 inline CreateExtensionAssociationRequest& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
89 inline CreateExtensionAssociationRequest& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
90 inline CreateExtensionAssociationRequest& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
91 inline CreateExtensionAssociationRequest& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
92 inline CreateExtensionAssociationRequest& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
94
96
102 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
105 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
108 inline CreateExtensionAssociationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
109 inline CreateExtensionAssociationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
110 inline CreateExtensionAssociationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
111 inline CreateExtensionAssociationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
112 inline CreateExtensionAssociationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
113 inline CreateExtensionAssociationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
114 inline CreateExtensionAssociationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
116 private:
117
118 Aws::String m_extensionIdentifier;
119 bool m_extensionIdentifierHasBeenSet = false;
120
121 int m_extensionVersionNumber;
122 bool m_extensionVersionNumberHasBeenSet = false;
123
124 Aws::String m_resourceIdentifier;
125 bool m_resourceIdentifierHasBeenSet = false;
126
128 bool m_parametersHasBeenSet = false;
129
131 bool m_tagsHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace AppConfig
136} // namespace Aws
CreateExtensionAssociationRequest & AddParameters(Aws::String &&key, const char *value)
CreateExtensionAssociationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateExtensionAssociationRequest & WithExtensionVersionNumber(int value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
CreateExtensionAssociationRequest & AddParameters(const char *key, Aws::String &&value)
CreateExtensionAssociationRequest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
CreateExtensionAssociationRequest & WithExtensionIdentifier(const char *value)
CreateExtensionAssociationRequest & AddTags(const char *key, Aws::String &&value)
CreateExtensionAssociationRequest & AddTags(const char *key, const char *value)
CreateExtensionAssociationRequest & WithResourceIdentifier(Aws::String &&value)
CreateExtensionAssociationRequest & AddTags(Aws::String &&key, const char *value)
CreateExtensionAssociationRequest & AddParameters(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateExtensionAssociationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateExtensionAssociationRequest & WithResourceIdentifier(const char *value)
CreateExtensionAssociationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateExtensionAssociationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateExtensionAssociationRequest & WithResourceIdentifier(const Aws::String &value)
CreateExtensionAssociationRequest & AddParameters(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateExtensionAssociationRequest & AddParameters(const Aws::String &key, const Aws::String &value)
CreateExtensionAssociationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateExtensionAssociationRequest & WithExtensionIdentifier(Aws::String &&value)
CreateExtensionAssociationRequest & AddParameters(const Aws::String &key, Aws::String &&value)
CreateExtensionAssociationRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
CreateExtensionAssociationRequest & AddParameters(const char *key, const char *value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
CreateExtensionAssociationRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
CreateExtensionAssociationRequest & WithExtensionIdentifier(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