7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devops-agent/DevOpsAgentRequest.h>
10#include <aws/devops-agent/DevOpsAgent_EXPORTS.h>
11#include <aws/devops-agent/model/AgentSpacePreferenceKey.h>
16namespace DevOpsAgent {
43 template <
typename AgentSpaceIdT = Aws::String>
45 m_agentSpaceIdHasBeenSet =
true;
46 m_agentSpaceId = std::forward<AgentSpaceIdT>(value);
48 template <
typename AgentSpaceIdT = Aws::String>
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
79 template <
typename DescriptionT = Aws::String>
81 m_descriptionHasBeenSet =
true;
82 m_description = std::forward<DescriptionT>(value);
84 template <
typename DescriptionT = Aws::String>
98 template <
typename LocaleT = Aws::String>
100 m_localeHasBeenSet =
true;
101 m_locale = std::forward<LocaleT>(value);
103 template <
typename LocaleT = Aws::String>
118 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
120 m_preferencesHasBeenSet =
true;
121 m_preferences = std::forward<PreferencesT>(value);
123 template <
typename PreferencesT = Aws::Map<AgentSpacePreferenceKey,
bool>>
129 m_preferencesHasBeenSet =
true;
130 m_preferences.emplace(key, value);
144 bool m_agentSpaceIdHasBeenSet =
false;
145 bool m_nameHasBeenSet =
false;
146 bool m_descriptionHasBeenSet =
false;
147 bool m_localeHasBeenSet =
false;
148 bool m_preferencesHasBeenSet =
false;
const Aws::String & GetName() const
UpdateAgentSpaceRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
AWS_DEVOPSAGENT_API Aws::String SerializePayload() const override
void SetAgentSpaceId(AgentSpaceIdT &&value)
UpdateAgentSpaceRequest & WithName(NameT &&value)
void SetName(NameT &&value)
bool AgentSpaceIdHasBeenSet() const
UpdateAgentSpaceRequest & WithAgentSpaceId(AgentSpaceIdT &&value)
UpdateAgentSpaceRequest & AddPreferences(AgentSpacePreferenceKey key, bool value)
AWS_DEVOPSAGENT_API UpdateAgentSpaceRequest()=default
bool NameHasBeenSet() const
bool LocaleHasBeenSet() const
bool PreferencesHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetPreferences(PreferencesT &&value)
UpdateAgentSpaceRequest & WithPreferences(PreferencesT &&value)
void SetLocale(LocaleT &&value)
const Aws::String & GetLocale() const
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
const Aws::Map< AgentSpacePreferenceKey, bool > & GetPreferences() const
const Aws::String & GetAgentSpaceId() const
UpdateAgentSpaceRequest & WithLocale(LocaleT &&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