AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AppliedExtension.h
1
6#pragma once
7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AppConfig
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPCONFIG_API AppliedExtension();
37 AWS_APPCONFIG_API AppliedExtension(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetExtensionId() const{ return m_extensionId; }
47 inline bool ExtensionIdHasBeenSet() const { return m_extensionIdHasBeenSet; }
48 inline void SetExtensionId(const Aws::String& value) { m_extensionIdHasBeenSet = true; m_extensionId = value; }
49 inline void SetExtensionId(Aws::String&& value) { m_extensionIdHasBeenSet = true; m_extensionId = std::move(value); }
50 inline void SetExtensionId(const char* value) { m_extensionIdHasBeenSet = true; m_extensionId.assign(value); }
51 inline AppliedExtension& WithExtensionId(const Aws::String& value) { SetExtensionId(value); return *this;}
52 inline AppliedExtension& WithExtensionId(Aws::String&& value) { SetExtensionId(std::move(value)); return *this;}
53 inline AppliedExtension& WithExtensionId(const char* value) { SetExtensionId(value); return *this;}
55
57
60 inline const Aws::String& GetExtensionAssociationId() const{ return m_extensionAssociationId; }
61 inline bool ExtensionAssociationIdHasBeenSet() const { return m_extensionAssociationIdHasBeenSet; }
62 inline void SetExtensionAssociationId(const Aws::String& value) { m_extensionAssociationIdHasBeenSet = true; m_extensionAssociationId = value; }
63 inline void SetExtensionAssociationId(Aws::String&& value) { m_extensionAssociationIdHasBeenSet = true; m_extensionAssociationId = std::move(value); }
64 inline void SetExtensionAssociationId(const char* value) { m_extensionAssociationIdHasBeenSet = true; m_extensionAssociationId.assign(value); }
66 inline AppliedExtension& WithExtensionAssociationId(Aws::String&& value) { SetExtensionAssociationId(std::move(value)); return *this;}
67 inline AppliedExtension& WithExtensionAssociationId(const char* value) { SetExtensionAssociationId(value); return *this;}
69
71
74 inline int GetVersionNumber() const{ return m_versionNumber; }
75 inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
76 inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
77 inline AppliedExtension& WithVersionNumber(int value) { SetVersionNumber(value); return *this;}
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
85 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
86 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
87 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
89 inline AppliedExtension& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
90 inline AppliedExtension& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
91 inline AppliedExtension& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
92 inline AppliedExtension& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
93 inline AppliedExtension& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
94 inline AppliedExtension& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
95 inline AppliedExtension& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
96 inline AppliedExtension& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
98 private:
99
100 Aws::String m_extensionId;
101 bool m_extensionIdHasBeenSet = false;
102
103 Aws::String m_extensionAssociationId;
104 bool m_extensionAssociationIdHasBeenSet = false;
105
106 int m_versionNumber;
107 bool m_versionNumberHasBeenSet = false;
108
110 bool m_parametersHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace AppConfig
115} // namespace Aws
void SetExtensionId(const Aws::String &value)
AppliedExtension & AddParameters(Aws::String &&key, Aws::String &&value)
AppliedExtension & WithExtensionId(const char *value)
AppliedExtension & AddParameters(Aws::String &&key, const char *value)
void SetExtensionAssociationId(const char *value)
AppliedExtension & AddParameters(const Aws::String &key, const Aws::String &value)
void SetExtensionAssociationId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
AppliedExtension & AddParameters(Aws::String &&key, const Aws::String &value)
AppliedExtension & WithExtensionAssociationId(const Aws::String &value)
AppliedExtension & WithExtensionAssociationId(Aws::String &&value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
AppliedExtension & WithExtensionAssociationId(const char *value)
AppliedExtension & AddParameters(const Aws::String &key, Aws::String &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
AppliedExtension & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
AppliedExtension & AddParameters(const char *key, Aws::String &&value)
AppliedExtension & AddParameters(const char *key, const char *value)
AWS_APPCONFIG_API AppliedExtension(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExtensionAssociationId() const
const Aws::String & GetExtensionId() const
AppliedExtension & WithExtensionId(Aws::String &&value)
AppliedExtension & WithVersionNumber(int value)
AWS_APPCONFIG_API AppliedExtension & operator=(Aws::Utils::Json::JsonView jsonValue)
AppliedExtension & WithExtensionId(const Aws::String &value)
void SetExtensionId(Aws::String &&value)
AppliedExtension & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetExtensionAssociationId(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
Aws::Utils::Json::JsonValue JsonValue