AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 template<typename DocumentVersionT = Aws::String>
50 void SetDocumentVersion(DocumentVersionT&& value) { m_documentVersionHasBeenSet = true; m_documentVersion = std::forward<DocumentVersionT>(value); }
51 template<typename DocumentVersionT = Aws::String>
52 MaintenanceWindowAutomationParameters& WithDocumentVersion(DocumentVersionT&& value) { SetDocumentVersion(std::forward<DocumentVersionT>(value)); return *this;}
54
56
76 inline const Aws::Map<Aws::String, Aws::Vector<Aws::String>>& GetParameters() const { return m_parameters; }
77 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
78 template<typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
79 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
80 template<typename ParametersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
81 MaintenanceWindowAutomationParameters& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
82 template<typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::Vector<Aws::String>>
83 MaintenanceWindowAutomationParameters& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
84 m_parametersHasBeenSet = true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value)); return *this;
85 }
87 private:
88
89 Aws::String m_documentVersion;
90 bool m_documentVersionHasBeenSet = false;
91
93 bool m_parametersHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SSM
98} // namespace Aws
AWS_SSM_API MaintenanceWindowAutomationParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
MaintenanceWindowAutomationParameters & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
AWS_SSM_API MaintenanceWindowAutomationParameters(Aws::Utils::Json::JsonView jsonValue)
MaintenanceWindowAutomationParameters & WithParameters(ParametersT &&value)
MaintenanceWindowAutomationParameters & WithDocumentVersion(DocumentVersionT &&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
Aws::Utils::Json::JsonValue JsonValue