AWS SDK for C++

AWS SDK for C++ Version 1.11.930

Loading...
Searching...
No Matches
UpdateTeamsInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mwaa/MWAA_EXPORTS.h>
11#include <aws/mwaa/model/TeamConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MWAA {
23namespace Model {
24
34 public:
35 AWS_MWAA_API UpdateTeamsInput() = default;
39
41
48 inline const Aws::Map<Aws::String, TeamConfig>& GetAddOrUpdate() const { return m_addOrUpdate; }
49 inline bool AddOrUpdateHasBeenSet() const { return m_addOrUpdateHasBeenSet; }
50 template <typename AddOrUpdateT = Aws::Map<Aws::String, TeamConfig>>
51 void SetAddOrUpdate(AddOrUpdateT&& value) {
52 m_addOrUpdateHasBeenSet = true;
53 m_addOrUpdate = std::forward<AddOrUpdateT>(value);
54 }
55 template <typename AddOrUpdateT = Aws::Map<Aws::String, TeamConfig>>
56 UpdateTeamsInput& WithAddOrUpdate(AddOrUpdateT&& value) {
57 SetAddOrUpdate(std::forward<AddOrUpdateT>(value));
58 return *this;
59 }
60 template <typename AddOrUpdateKeyT = Aws::String, typename AddOrUpdateValueT = TeamConfig>
61 UpdateTeamsInput& AddAddOrUpdate(AddOrUpdateKeyT&& key, AddOrUpdateValueT&& value) {
62 m_addOrUpdateHasBeenSet = true;
63 m_addOrUpdate.emplace(std::forward<AddOrUpdateKeyT>(key), std::forward<AddOrUpdateValueT>(value));
64 return *this;
65 }
67
69
75 inline const Aws::Vector<Aws::String>& GetRemove() const { return m_remove; }
76 inline bool RemoveHasBeenSet() const { return m_removeHasBeenSet; }
77 template <typename RemoveT = Aws::Vector<Aws::String>>
78 void SetRemove(RemoveT&& value) {
79 m_removeHasBeenSet = true;
80 m_remove = std::forward<RemoveT>(value);
81 }
82 template <typename RemoveT = Aws::Vector<Aws::String>>
83 UpdateTeamsInput& WithRemove(RemoveT&& value) {
84 SetRemove(std::forward<RemoveT>(value));
85 return *this;
86 }
87 template <typename RemoveT = Aws::String>
88 UpdateTeamsInput& AddRemove(RemoveT&& value) {
89 m_removeHasBeenSet = true;
90 m_remove.emplace_back(std::forward<RemoveT>(value));
91 return *this;
92 }
94 private:
96
98 bool m_addOrUpdateHasBeenSet = false;
99 bool m_removeHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace MWAA
104} // namespace Aws
const Aws::Map< Aws::String, TeamConfig > & GetAddOrUpdate() const
AWS_MWAA_API UpdateTeamsInput()=default
UpdateTeamsInput & AddAddOrUpdate(AddOrUpdateKeyT &&key, AddOrUpdateValueT &&value)
const Aws::Vector< Aws::String > & GetRemove() const
AWS_MWAA_API UpdateTeamsInput(Aws::Utils::Json::JsonView jsonValue)
UpdateTeamsInput & WithRemove(RemoveT &&value)
UpdateTeamsInput & AddRemove(RemoveT &&value)
UpdateTeamsInput & WithAddOrUpdate(AddOrUpdateT &&value)
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAddOrUpdate(AddOrUpdateT &&value)
AWS_MWAA_API UpdateTeamsInput & operator=(Aws::Utils::Json::JsonView jsonValue)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue