AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MaintenanceWindowAutomationParameters.h
1
6#pragma once
7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SSM
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const Aws::String& GetDocumentVersion() const{ return m_documentVersion; }
48 inline bool DocumentVersionHasBeenSet() const { return m_documentVersionHasBeenSet; }
49 inline void SetDocumentVersion(const Aws::String& value) { m_documentVersionHasBeenSet = true; m_documentVersion = value; }
50 inline void SetDocumentVersion(Aws::String&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::move(value); }
51 inline void SetDocumentVersion(const char* value) { m_documentVersionHasBeenSet = true; m_documentVersion.assign(value); }
54 inline MaintenanceWindowAutomationParameters& WithDocumentVersion(const char* value) { SetDocumentVersion(value); return *this;}
56
58
78 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const{ return m_parameters; }
79 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
80 inline void SetParameters(const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
81 inline void SetParameters(Aws::Map<Aws::String, Aws::Vector<Aws::String>>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
84 inline MaintenanceWindowAutomationParameters& AddParameters(const Aws::String& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
85 inline MaintenanceWindowAutomationParameters& AddParameters(Aws::String&& key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
86 inline MaintenanceWindowAutomationParameters& AddParameters(const Aws::String& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
87 inline MaintenanceWindowAutomationParameters& AddParameters(Aws::String&& key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
88 inline MaintenanceWindowAutomationParameters& AddParameters(const char* key, Aws::Vector<Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
89 inline MaintenanceWindowAutomationParameters& AddParameters(const char* key, const Aws::Vector<Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
91 private:
92
93 Aws::String m_documentVersion;
94 bool m_documentVersionHasBeenSet = false;
95
97 bool m_parametersHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace SSM
102} // namespace Aws
MaintenanceWindowAutomationParameters & WithParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
AWS_SSM_API MaintenanceWindowAutomationParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowAutomationParameters & AddParameters(Aws::String &&key, Aws::Vector< Aws::String > &&value)
MaintenanceWindowAutomationParameters & WithDocumentVersion(Aws::String &&value)
MaintenanceWindowAutomationParameters & AddParameters(const Aws::String &key, const Aws::Vector< Aws::String > &value)
void SetParameters(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
MaintenanceWindowAutomationParameters & AddParameters(const char *key, const Aws::Vector< Aws::String > &value)
MaintenanceWindowAutomationParameters & AddParameters(Aws::String &&key, const Aws::Vector< Aws::String > &value)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceWindowAutomationParameters & WithParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
MaintenanceWindowAutomationParameters & WithDocumentVersion(const Aws::String &value)
AWS_SSM_API MaintenanceWindowAutomationParameters(Aws::Utils::Json::JsonView jsonValue)
void SetParameters(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
MaintenanceWindowAutomationParameters & AddParameters(const char *key, Aws::Vector< Aws::String > &&value)
MaintenanceWindowAutomationParameters & AddParameters(const Aws::String &key, Aws::Vector< Aws::String > &&value)
MaintenanceWindowAutomationParameters & WithDocumentVersion(const char *value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetParameters() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue